Hi everyone. I’m having issues preprocessing images downloaded from the new sentinelhub API.
Some additional context:
- I am downloading two bands: VV and VH.
- The downloaded image’s file type is .TIFF
- I am able to open the downloaded .tiff file in QGIS and inspect/view its data without any issues.
- The structure of downloaded products, using one downloaded image’s path as an example for illustrative purposes, is as follows:
C:\Users.…\S1A_IW_GRDH_1SDV_20200827T053556_20200827T053621_034088_03F535_2C57_COG.SAFE\c71cf16092c9eadf9d5121260296b9d5\response.tiff
To clarify, each image request is downloaded into a .SAFE folder (formatted in bold in the example above).
The .SAFE folder contains one folder with a seemingly random name (formatted in italic in the example above).
Inside the randomly named folder, there are two files:
- response.tiff : contains the requested image
- response.json : contains some information about the API request
I tried opening the .SAFE folder in SNAP for preprocessing, but SNAP just enters the folder, requiring me to pick a file from inside it.
When I pick the response.tiff file, I get an error from SNAP in whatever node happens to follow the READ node. In other words, I get the same error for the first preprocessing step, whether that step is Apply Orbit File, Thermal Noise Removal, Remove GRD Border Noise, etc…
I attached a screenshot of the error (indicated with a green arrow) in SNAP’s graph builder below.
I get the same error when I try to run the xml file from SNAP’s GPT tool as well.
In summary, the main issue seems to be that the Sentinel-1 products that are downloaded via the sentinelhub API are not considered as valid "Sentinel-1 products by SNAP.
I tried searching both SNAP and sentinelhub’s forums and documentation, but I wasn’t able to find any solution to this issue.
Any help with this matter would be highly appreciated. Also, please let me know if I forgot to mention any other information that might be helpful in solving this issue.