Orbit File Not Available?

Hi,

I have a Sentinel-1 scene:

(S1A_IW_SLC__1SDV_20160630T162930_20160630T162956_011942_012679_A565),

which I needed to download the orbit file for of:

https://qc.sentinel1.eo.esa.int/

When I look through the POD Restituted Orbit [AUX_RESORB] list the above scene is the only one that is not present.

Is there a reason for this and is there anyway to get round the problem without using a different scene?

Many thanks

Hi, Looking through the list of AUX_RESORB file on the QC web site you indicate, I can find the following files:

S1B_OPER_AUX_RESORB_OPOD_20160630T194724_V20160630T154741_20160630T190511.EOF

which covers your product. The first date in the file name is the generation date while the second and third dates are start and end validity dates.

Note that the orbit data included with the product is of high accuracy. For even better accuracy you will need to wait for the AUX_POEORB (generated about 3 weeks after the acquisition).

1 Like

Hi Peter,

I have downloaded the file you said and put it into what I believe was the correct dipository C:\users\Andrew.snap\auxdata\Orbits\Sentinel-1\RESORB\2016
but the no orbit file found error keeps appearing.
I do not understand… the only thing I have noticed is that the downloaded file is not a zip file like all the others in the depository?

Many thanks

I’ve downloaded (from https://qc.sentinel1.eo.esa.int/aux_resorb/?page=13) and examined the S1B_OPER_AUX_RESORB_OPOD_20160630T194724_V20160630T154741_20160630T190511.EOF file and it looks OK. All other AUX_RESORB are not zip files.

It looks as if your problem is not with the AUX_RESORB file itself but some toolbox issue for which I’m not able to help. Have you tried your processing without using an orbit file?

I have tried running it and it still doesn’t work. All other pre processing i working fine on the same dataset so not sure what is happening
Many thanks

Just zip the eof file and place it in dir you mentioned.

The original product from @agw2 is listed with S1A, and the restituted orbit suggested is S1B. Are their orbits interchangeable? I wouldn’t think so.

@jvcc you may be right but if that is the case I cannot appear to find the correct orbit file

No, S1B orbit files should not be for S1A products.

I still cannot find the orbit file for: S1A_IW_SLC__1SDV_20160630T162930_20160630T162956_011942_012679_A565

The automatic download for both precise and restituted orbits are not working. I cannot find the correct file when I look on https://qc.sentinel1.eo.esa.int/ either.

Any help would be great on this because I cannot workout what to do!

On https://qc.sentinel1.eo.esa.int/aux_poeorb/ the following Precise Orbit file is available:

S1A_OPER_AUX_POEORB_OPOD_20160720T121627_V20160629T225943_20160701T005943.EOF

The start validity date 20160629T225943 is before your product acquisition date/time and the end validity date 20160701T005943 is after your product acquisition date/time. Thus is orbit file is applicable for your S1A product.

@peter.meadows, thanks for your reply. All works fine now you have explained about the validity time. I should have realised sooner.

Thanks for your help

I am getting error when I am applying orbit file.
Dear lal,
gpt C:\Users\SAIPLANNER\Desktop\Delete\Preet\Try.xml
INFO: org.esa.snap.python.gpf.PyOperatorSpi: Python operator ‘S2RutOp’ registered (Python module: ‘s2_rut’, class: ‘S2RutOp’, root: ‘C:\Users\SAIPLANNER\AppData\Roaming\SNAP\modules\org-esa-snap-snap-rut.jar’)
INFO: org.esa.snap.core.gpf.operators.tooladapter.ToolAdapterIO: Initializing external tool adapters
Executing processing graph
WARNING: org.esa.snap.core.dataio.dimap.DimapProductReader: DimapProductReader: Unable to read file ‘C:\Users\SAIPLANNER\Desktop\Delete\Preet\subset_1_of_S1A_IW_GRDH_1SDV_20180514T124846_20180514T124911_021901_025D5E_DFE2.data\Amplitude_VH.img’ referenced by ‘Amplitude_VH’.
WARNING: org.esa.snap.core.dataio.dimap.DimapProductReader: DimapProductReader: Removed band ‘Amplitude_VH’ from product ‘null’.
WARNING: org.esa.snap.core.dataio.dimap.DimapProductReader: DimapProductReader: Unable to read file ‘C:\Users\SAIPLANNER\Desktop\Delete\Preet\subset_1_of_S1A_IW_GRDH_1SDV_20180514T124846_20180514T124911_021901_025D5E_DFE2.data\Amplitude_VV.img’ referenced by ‘Amplitude_VV’.
WARNING: org.esa.snap.core.dataio.dimap.DimapProductReader: DimapProductReader: Removed band ‘Amplitude_VV’ from product ‘null’.
INFO: org.hsqldb.persist.Logger: dataFileCache open start
WARNING: org.esa.s1tbx.io.orbits.sentinel1.StepAuxdataScraper: Unable to connect to http://step.esa.int/auxdata/orbits/Sentinel-1/POEORB/S1A/2018/05/: HTTP error fetching URL
INFO: org.esa.snap.engine_utilities.download.downloadablecontent.DownloadableContentImpl: http retrieving https://qc.sentinel1.eo.esa.int/aux_poeorb/S1A_OPER_AUX_POEORB_OPOD_20180603T120720_V20180513T225942_20180515T005942
SEVERE: org.esa.snap.engine_utilities.download.downloadablecontent.DownloadableContentImpl: Failed to download remote file.
java.io.FileNotFoundException: https://qc.sentinel1.eo.esa.int/aux_poeorb/S1A_OPER_AUX_POEORB_OPOD_20180603T120720_V20180513T225942_20180515T005942
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
at java.lang.reflect.Constructor.newInstance(Unknown Source)
at sun.net.www.protocol.http.HttpURLConnection$10.run(Unknown Source)
at sun.net.www.protocol.http.HttpURLConnection$10.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at sun.net.www.protocol.http.HttpURLConnection.getChainedException(Unknown Source)
at sun.net.www.protocol.http.HttpURLConnection.getInputStream0(Unknown Source)
at sun.net.www.protocol.http.HttpURLConnection.getInputStream(Unknown Source)
at sun.net.www.protocol.https.HttpsURLConnectionImpl.getInputStream(Unknown Source)
at org.esa.snap.engine_utilities.download.downloadablecontent.DownloadableContentImpl.downloadFile(DownloadableContentImpl.java:247)
at org.esa.snap.engine_utilities.download.downloadablecontent.DownloadableContentImpl.lambda$getRemoteHttpFile$0(DownloadableContentImpl.java:224)
at org.esa.snap.engine_utilities.download.downloadablecontent.DownloadableContentImpl.getRemoteHttpFile(DownloadableContentImpl.java:229)
at org.esa.s1tbx.io.orbits.sentinel1.SentinelPODOrbitFile.getQCFiles(SentinelPODOrbitFile.java:309)
at org.esa.s1tbx.io.orbits.sentinel1.SentinelPODOrbitFile.downloadFromQCWebsite(SentinelPODOrbitFile.java:161)
at org.esa.s1tbx.io.orbits.sentinel1.SentinelPODOrbitFile.retrieveOrbitFile(SentinelPODOrbitFile.java:107)
at org.esa.s1tbx.sar.gpf.orbits.ApplyOrbitFileOp.updateOrbits(ApplyOrbitFileOp.java:267)
at org.esa.s1tbx.sar.gpf.orbits.ApplyOrbitFileOp.initialize(ApplyOrbitFileOp.java:201)
at org.esa.snap.core.gpf.internal.OperatorContext.initializeOperator(OperatorContext.java:486)
at org.esa.snap.core.gpf.internal.OperatorContext.getTargetProduct(OperatorContext.java:273)
at org.esa.snap.core.gpf.Operator.getTargetProduct(Operator.java:387)
at org.esa.snap.core.gpf.graph.NodeContext.initTargetProduct(NodeContext.java:77)
at org.esa.snap.core.gpf.graph.GraphContext.initNodeContext(GraphContext.java:195)
at org.esa.snap.core.gpf.graph.GraphContext.initNodeContext(GraphContext.java:178)
at org.esa.snap.core.gpf.graph.GraphContext.initOutput(GraphContext.java:162)
at org.esa.snap.core.gpf.graph.GraphContext.(GraphContext.java:91)
at org.esa.snap.core.gpf.graph.GraphContext.(GraphContext.java:64)
at org.esa.snap.core.gpf.graph.GraphProcessor.executeGraph(GraphProcessor.java:128)
at org.esa.snap.core.gpf.main.DefaultCommandLineContext.executeGraph(DefaultCommandLineContext.java:86)
at org.esa.snap.core.gpf.main.CommandLineTool.executeGraph(CommandLineTool.java:534)
at org.esa.snap.core.gpf.main.CommandLineTool.runGraph(CommandLineTool.java:388)
at org.esa.snap.core.gpf.main.CommandLineTool.runGraphOrOperator(CommandLineTool.java:287)
at org.esa.snap.core.gpf.main.CommandLineTool.run(CommandLineTool.java:188)
at org.esa.snap.core.gpf.main.CommandLineTool.run(CommandLineTool.java:121)
at org.esa.snap.core.gpf.main.GPT.run(GPT.java:54)
at org.esa.snap.core.gpf.main.GPT.main(GPT.java:34)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.esa.snap.runtime.Launcher.lambda$run$14(Launcher.java:55)
at org.esa.snap.runtime.Engine.runClientCode(Engine.java:189)
at org.esa.snap.runtime.Launcher.run(Launcher.java:51)
at org.esa.snap.runtime.Launcher.main(Launcher.java:31)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at com.exe4j.runtime.LauncherEngine.launch(LauncherEngine.java:62)
at com.exe4j.runtime.WinLauncher.main(WinLauncher.java:101)
at com.install4j.runtime.launcher.WinLauncher.main(WinLauncher.java:16)
Caused by: java.io.FileNotFoundException: https://qc.sentinel1.eo.esa.int/aux_poeorb/S1A_OPER_AUX_POEORB_OPOD_20180603T120720_V20180513T225942_20180515T005942
at sun.net.www.protocol.http.HttpURLConnection.getInputStream0(Unknown Source)
at sun.net.www.protocol.http.HttpURLConnection.getInputStream(Unknown Source)
at sun.net.www.protocol.http.HttpURLConnection.getHeaderField(Unknown Source)
at java.net.URLConnection.getHeaderFieldLong(Unknown Source)
at java.net.URLConnection.getContentLengthLong(Unknown Source)
at java.net.URLConnection.getContentLength(Unknown Source)
at sun.net.www.protocol.https.HttpsURLConnectionImpl.getContentLength(Unknown Source)
at org.esa.snap.engine_utilities.download.downloadablecontent.DownloadableContentImpl.downloadFile(DownloadableContentImpl.java:246)
… 40 more

Orbit files are available a couple of weeks after the image acquisition. Currently, there are only files until May 2018
https://qc.sentinel1.eo.esa.int/aux_poeorb/?validity_start=2018

The gpt tries to download something that isn’t there yet:
Caused by: java.io.FileNotFoundException: https://qc.sentinel1.eo.esa.int/aux_poeorb/S1A_OPER_AUX_POEORB_OPOD_20180603T120720_V20180513T225942_20180515T005942

If you click at the link you see that it leads to no file.

Hi, The reason why the file is not found is that the file name is incorrect: it should be http://aux.sentinel1.eo.esa.int/POEORB/2018/06/02/S1B_OPER_AUX_POEORB_OPOD_20180602T110545_V20180512T225942_20180514T005942.EOF (i.e. the .EOF is missing).

oh, you are right. So this is a bug in the GPT?

1 Like

So is this just inaccurate log output from org.esa.s1tbx.io.orbits.sentinel1.StepAuxdataScraper or is there actually a bug? Does anyone know?

So the script here parses a page like http://step.esa.int/auxdata/orbits/Sentinel-1/POEORB/S1A/2018/08/ and lists files ending in .zip.

The scraper is used here to find the right file somehow.

I am giving up on this tedious detective work… Some more annotations in the code would help.

Orbit files are now also available as ftp from ESA and S1TBX will support this soon.

https://earth.esa.int/web/sentinel/missions/sentinel-1/news/-/article/s1-new-auxiliary-files-availability