New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
i.sentinel.download: Enable downloading from Google Cloud #492
i.sentinel.download: Enable downloading from Google Cloud #492
Conversation
This is great addition @griembauer! Maybe then we can do something similar for i.landsat ;-) |
Thanks @veroandreo! It is still a draft though and has many open things to test, revise, and add ;) |
One question: do you also download the metadata file or read it on the fly somehow? That info there in then needed for i.sentinel.mask |
Yes, the current draft makes use of the
With this information all required files/folders for download are identified and downloaded. However sometimes there are some inconsistencies in the |
FYI, here some background into to this weird Sentinel-2 L2A "PHOEBUS" manifest.safe mess (which apparently affected L2A data between 22 May 2018 and 8 October 2018): https://forum.step.esa.int/t/when-did-l2a-manifest-safe-format-change/15637 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It's really fast! We need it in i.landsat too :)
My only comment is about use of double quotes in messages, just run black and it will change it for you
While Querying Sentinel-2 data from Google Cloud (https://cloud.google.com/storage/docs/public-datasets/sentinel-2) requires a google account and a GCP project (not free), the Sentinel-2 data themselves are freely available. They can be accessed by following the folder structure. Although it is not possible to download an entire .SAFE-folder, all individual files can be downloaded and put together to a complete S2-scene.
This PR enables
i.sentinel.download
to download from GCS. Searching and filtering scenes still requires an ESA-login.