Dear developers,
we are faced with some issues when trying to setup our S1 processing chain in a distributed fashion. In particular, we would like to store the SNAP auxdata on a network share, so that it can be shared between multiple instances of SNAP-GPT running in different machines. For this we have made some changes to /etc/snap.auxdata.properties, uncommenting the line defining the “AuxDataPath” and setting it to our desired network location. Since “AuxDataPath” is used numerous times as a parameters in the remaining lines of the /etc/snap.auxdata.properties file, defining things like
OrbitFiles.sentinel1POEOrbitPath = {AuxDataPath}/Orbits/Sentinel-1/POEORB OrbitFiles.sentinel1RESOrbitPath = {AuxDataPath}/Orbits/Sentinel-1/RESORB
we would expect that this single change would do the trick for us. However, when running the GPT, this setting seems to be ignored and the auxdata is just placed in its default location in the .snap/auxdata folder…
The second thing we noticed is that, the location from which the toolbox automatically downloads the orbit files
Index of /auxdata/orbits/Sentinel-1/POEORB/
Index of /auxdata/orbits/Sentinel-1/RESORB/
groups the orbits per months and consequently does not provide recent orbit files. In fact we saw that, doing an apply orbit on a S1A product from June, the toolbox downloaded all Orbit files from May to the auxdata location and prints the following info and warnings:
WARNING: org.esa.snap.engine_utilities.datamodel.DownloadableContentImpl: /home/sarccd/.snap/auxdata/Orbits/Sentinel-1/RESORB/2016/2016-6.zip (No such file or directory)
INFO: org.esa.snap.engine_utilities.datamodel.DownloadableContentImpl: http retrieving http://step.esa.int/auxdata/orbits/Sentinel-1/RESORB/2016-5.zip
WARNING: org.esa.s1tbx.sar.gpf.orbits.ApplyOrbitFileOp: No valid orbit file found for 02-JUN-2016 17:23:19.053102
Orbit files may be downloaded from https://qc.sentinel1.eo.esa.int/
and placed in /home/sarccd/.snap/auxdata/Orbits/Sentinel-1/RESORB/2016
INFO: org.esa.snap.engine_utilities.datamodel.DownloadableContentImpl: http retrieving http://step.esa.int/auxdata/orbits/Sentinel-1/POEORB/2016-6.zip
SEVERE: org.esa.snap.engine_utilities.datamodel.DownloadableContentImpl: Failed to download remote file.
java.io.FileNotFoundException: http://step.esa.int/auxdata/orbits/Sentinel-1/POEORB/2016-6.zip
…
So we strongly wonder if this is desired behavior? Why download the Orbits from the month before? And why try download from Index of /auxdata/orbits/Sentinel-1/RESORB/ if this resource is not ideal (grouping per month and not up-to-date) while you guys have the better alternative to download directly from https://qc.sentinel1.eo.esa.int/ ?
Best regards,
Sven.