Skip to main content

Problem downloading sentinel-2 products(.SAFE) with sentinelhub-py from AWS

  • April 17, 2024
  • 5 replies
  • 0 views

Hello,

I am facing the same problem downloading some sentinel-2 L2A products from AWS using SAFE format as described on the following issue from sentinelhub-py repository:

https://github.com/sentinel-hub/sentinelhub-py/issues/116

It is mentioned on the issue that these specific products were reprocessed by sentinelhub and that a special name convention was introduced. I would like to know the structure of this special naming convention, so that I could identify these reprocesed products that will trigger the error.

Besides that, is there any update on the resolution of the sentinelhub-py issue cited above?

Thank you.

5 replies

I would be willing to contribute to sentinelhub-py, but first I would need some information from sentinelhub about how I can identify the products that were reprocessed and are causing the problem. Can you help me with that?


  • Known Participant
  • April 17, 2024

There was no progress on this as this issue is not high on our priority (we do not use .SAFE format).
sentinelhub-py is open-source, so you can always contribute a pull request.


@gmilcinski I opened a PR to address this issue.

The build failed, but it seems it failed because the tests didn’t have the credentials.

Let me know if you want something done differently.


  • Known Participant
  • April 17, 2024

The L2A products, that were processed by us have N0001 in the product name, e.g.
S2A_MSIL2A_20170710T220921_N0001_R129_T01KAT_20201018T043744

https://roda.sentinel-hub.com/sentinel-s2-l2a/tiles/1/K/AT/2017/7/10/0/productInfo.json


  • Known Participant
  • April 17, 2024

Thanks @marcosdejesus! We will have a look and provide feedback in the PR.