ESA SNAP – Infinity loop while downloading SRTM files
Error description:
Solution for solve error with infinity loop while trying download SRTM files generate VV and VH layer from Sentinel 1 using ESA SNAP GPT.
Tested on:
ESA SNAP version: 8.0
Sentinel 1 toolbox
ESA SNAP Download page: https://step.esa.int/main/download/snap-download/
Log:
INFO: org.esa.snap.core.dataop.dem.ElevationFile: http retrieving http://cgiar-csi-srtm.openterrain.org.s3.amazonaws.com/source/srtm_39_01.zip INFO: org.esa.snap.core.dataop.dem.ElevationFile: http retrieving http://srtm.csi.cgiar.org/wp-content/uploads/files/srtm_5x5/TIFF/srtm_39_01.zip SEVERE: org.esa.snap.core.dataop.dem.ElevationFile: java.lang.reflect.InvocationTargetException
Solutions:
Download SRTM files from: https://srtm.csi.cgiar.org/wp-content/uploads/files/srtm_5x5/TIFF/ and save into specific directory.
Windows:
Download SRTM files into:
C:\Users\user\.snap\auxdata\dem\SRTM 3Sec
https://github.com/lazyspot/installation-and-configuration-scripts/blob/master/Windows/Windows-10/ESA-SNAP/download-srtm.ps1
Use the same user as running ESA SNAP or GPT.
Tested on Windows 10
Linux:
Download to the correct directory. User have different directory to download SRTM the root. User directory:
/home/user/.snap/auxdata/dem/SRTM\ 3Sec/
/root/.snap/auxdata/dem/SRTM\ 3Sec/
For user:
Script:
https://github.com/lazyspot/installation-and-configuration-scripts/blob/master/Linux/Ubuntu/ESA-SNAP/download-srtm-user.sh
running:
bash download-srtm-user.sh user
For root:
Script:
https://github.com/lazyspot/installation-and-configuration-scripts/blob/master/Linux/Ubuntu/ESA-SNAP/download-srtm-root.sh
running (as root):
bash download-srtm-root.sh
Useful links:
Thread in STEP forum: https://forum.step.esa.int/t/infinity-loop-while-downloading-srtm-files-with-vv-and-vh-layer/30744
Repository with scripts: https://github.com/lazyspot/installation-and-configuration-scripts