If I have sentinel 2 data:
- which .py file do I have to use to create dataset?
- which .yaml file do I have to use for product?
I took file from these 3 providers (https://earthexplorer.usgs.gov/ , https://glovis.usgs.gov/app and https://scihub.copernicus.eu/dhus/#/home); then, I used "s2peps_prepare.py" because is the only one that worked and I added all of the products that I found. My problem was that when I executed "datacube dataset add" the result was "ERROR No matching Product find for dataset eed8......".
Could someone help me to find a solution for Sentinel 2 data?
-
Please clarify your specific problem or provide additional details to highlight exactly what you need. As it's currently written, it's hard to tell exactly what you're asking.Community– Community Bot2021年11月29日 00:57:47 +00:00Commented Nov 29, 2021 at 0:57
-
I tried to edit text to clarify my problem. Can anyone help me?Cormogolov– Cormogolov2021年11月29日 11:29:37 +00:00Commented Nov 29, 2021 at 11:29
1 Answer 1
For Sentinel-2 indexing into the Open Data Cube, I recommend using the Element-84 maintained Sentinel-2 COGs, which are available for free from S3.
There's some documentation here on how to index the data.
In brief:
pip install --extra-index-url="https://packages.dea.ga.gov.au" odc_apps_dc_tools
stac-to-dc \
--catalog-href='https://earth-search.aws.element84.com/v0/' \
--bbox='25,20,35,30' \
--collections='sentinel-s2-l2a-cogs' \
--datetime='2020-01-01/2020-03-31'
-
Thank you very much Alex! I solved my problem!! I'm very happy! Do I have to delete my message on slack community? I asked the same thing...Cormogolov– Cormogolov2021年11月30日 22:03:42 +00:00Commented Nov 30, 2021 at 22:03
-
No, it's fine. You've marked my question as the answer here, so that will help others in the future!Alex Leith– Alex Leith2021年12月01日 23:03:56 +00:00Commented Dec 1, 2021 at 23:03