Questions tagged [snap-python]
5 questions
6
votes
1 answer
How to set JDK_HOME
I try to work with the snappy module in python using conda as a virtuelenv. I have in Linux Mint 18 Sarah.
I have the module snappy, but if i try to test it with the following code: from snappy import ProductIO I got the following response:…

Marek
- 160
- 1
- 2
- 17
3
votes
1 answer
ESA's snap-python (snappy) isn't working with python 3.5 and later
As in ESA's snappy official installation guide, supported python versions are only: 2.7, 3,3 and 3.4
I need to install ESA's snappy library for python 3.6. Is there any way i could do so?

Ioannis Nasios
- 8,292
- 4
- 33
- 55
3
votes
1 answer
Load RGB image in python from ESA Sentinel-2 product and save with openCV
As from ESA snap, for a RGB image we should put Band 4 into Red Channel, Band 3 into Green Channel and Band 2 into Blue Channel. How can we read those bands with python into a numpy array so we could do whatever image processing we want and then…

Ioannis Nasios
- 8,292
- 4
- 33
- 55
1
vote
1 answer
Converting geographical coordinates (long, lat) to pixel position (x,y) for a Sentinel-1 SAR image
How can i get the (x, y) pixel position from the geographical coordinates in a Sentinel-1 Synthetic Aperture Radar (SAR) satellite image?
I can access a downloaded image info sg as
from snappy import ProductIO
path='path_name'
product =…

Ioannis Nasios
- 8,292
- 4
- 33
- 55
1
vote
1 answer
Converting pixel position to geographical coordinates (lat, long) for a Sentinel-1 SAR image
How can i get the geographical coordinates from x,y position in a Sentinel-1 Synthetic Aperture Radar (SAR) satellite image?
For example, I can access a downloaded image info sg as
from snappy import ProductIO
from snappy import PixelPos…

Ioannis Nasios
- 8,292
- 4
- 33
- 55