-
Notifications
You must be signed in to change notification settings - Fork 57
Description
The problem
The Sentinel-2 download tool force-level1-csd downloads the images from Google Cloud Storage.
For this, it first downloads a big csv table that holds all the metadata. The filtering of data is then done locally, which has the big advantage of allowing for very complex AOI vectors, and circumvents the usual paging etc. from usual APIs that are around (OData, e.g.).
Unfortunately, this csv table doesn't get updates anymore (August 28, 2024). Data is still ingested into GCS, but the way to retrieve the metadata has been changed, which renders force-level1-csd partially broken (at least for newer data).
I opened an issue on Google's tracker: https://issuetracker.google.com/issues/369223578
Potential solutions
Apparently, the solution is to change the query to use a BigQuery table.
That said, there is some urgent need for
a) an alternative, e.g., developing a new downloader for CDSE, or
b) potentially switching to BigQuery
Option a would be quite some effort, and I believe very complex AOI vectors will be difficult to handle. On the other hand, it would be the "official" way of obtaining the data.
Unfortunately, I am not familiar with BigQuery, and how much effort it would be changing to this. I also don't know if there are other downsides to it...
This issue here serves as a discussion on how to proceed, and see what will be the most feasible option - I am also open to other solutions.
I am mentioning some people who I have been in touch with on this topic to include you here: @vudongpham @ernstste @geo-masc
Cheers,
David
A note on the CODE-DE Data Cube
PS: for the German Data Cube on CODE-DE, we switched to an ad-hoc solution of scanning the file system for available new L1 data. That said, the CODE-DE datacube is still up-to-date!