I am using snap to process sentinel-1 datasets.
Everything works well until I try to save the processed data to file. Please see my code and the error generated below.
Code
import snappy as sp
import SAR_Processing_Functions as spf
fp = 'path to file'
data = sp.ProductIO.readProduct(fp)
data = spf.Apply_Orbit(data)
data = spf.Multilook(data)
data = spf.Calibration(data)
data = spf.Speckle_Filter(data)
data = spf.Terrain_Correction(data)
sp.ProductIO.writeProduct(data, './trial', "GeoTIFF")
Error :
SEVERE: org.esa.snap.core.dataop.dem.ElevationFile: java.lang.reflect.InvocationTargetException
INFO: org.esa.snap.core.dataop.dem.ElevationFile: http retrieving http://cgiar-csi-srtm.openterrain.org.s3.amazonaws.com/source/srtm_36_03.zip
INFO: org.esa.snap.core.dataop.dem.ElevationFile: http retrieving http://srtm.csi.cgiar.org/wp-content/uploads/files/srtm_5x5/TIFF/srtm_36_03.zip
SEVERE: org.esa.snap.core.dataop.dem.ElevationFile: java.lang.reflect.InvocationTargetException
INFO: org.esa.snap.core.dataop.dem.ElevationFile: http retrieving http://cgiar-csi-srtm.openterrain.org.s3.amazonaws.com/source/srtm_36_03.zip
INFO: org.esa.snap.core.dataop.dem.ElevationFile: http retrieving http://srtm.csi.cgiar.org/wp-content/uploads/files/srtm_5x5/TIFF/srtm_36_03.zip
SEVERE: org.esa.snap.core.dataop.dem.ElevationFile: java.lang.reflect.InvocationTargetException
INFO: org.esa.snap.core.dataop.dem.ElevationFile: http retrieving http://cgiar-csi-srtm.openterrain.org.s3.amazonaws.com/source/srtm_36_03.zip
INFO: org.esa.snap.core.dataop.dem.ElevationFile: http retrieving http://srtm.csi.cgiar.org/wp-content/uploads/files/srtm_5x5/TIFF/srtm_36_03.zip
…
…
…
Is anyone having a similar problem or knows how to resolve it. Thanks