With snappy on CentOS-6.8, I meet the following strange error
WARNING: org.esa.snap.core.dataop.dem.ElevationFile: http error:http://srtm.csi.cgiar.org/SRT-ZIP/SRTM_V41/SRTM_Data_GeoTiff/srtm_27_03.zip on http://srtm.csi.cgiar.org/SRT-ZIP/SRTM_V41/SRTM_Data_GeoTiff/srtm_27_03.zip
Java heap space
Traceback (most recent call last):
File “./pre-processing_RS2.py”, line 146, in
boxcar7(product_tc_db, output_spk) #product_3
File “./pre-processing_RS2.py”, line 141, in boxcar7
product_tc_db_spk = ProductIO.writeProduct(target, output_file3, ‘ENVI’)
====== end of error message =======
is it caused by the missing file http error:http://srtm.csi.cgiar.org/SRT-ZIP/SRTM_V41/SRTM_Data_GeoTiff/srtm_27_03.zip ?
If yes, why another installation of other computer with the same snap-version /python-code works correctly ?
Java heap space is an error message concerning the amount of storage that is available to Java Virtual Machine. I have had that a lot and am also looking for a redemption. >> SNAP developers???
Have you tried to modify the snappy.ini file to increase the java memory?
Thanks very much for the suggestion !
Where (sub-directory) is the file snappy.ini ?
I should be in your snappy folder, by default it is in [HomePath]/.snap/snap-python/snappy
The file is not there as shown here:
ip07-mp2:/home/hlu/.snap> ls -a
. … auxdata epsg-database etc graphs snap-jython snap-python system
You should find a folder with the name “snappy” inside the snap-python folder. And inside snappy, it should be the snappy.ini
I see the problem: I installed it with python3.6+jpy, so the file is not there and it did not work …