1

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......".

enter image description here

Could someone help me to find a solution for Sentinel 2 data?

asked Nov 28, 2021 at 23:54
2
  • 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. Commented Nov 29, 2021 at 0:57
  • I tried to edit text to clarify my problem. Can anyone help me? Commented Nov 29, 2021 at 11:29

1 Answer 1

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'
answered Nov 29, 2021 at 21:17
2
  • 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... Commented 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! Commented Dec 1, 2021 at 23:03

Your Answer

Draft saved
Draft discarded

Sign up or log in

Sign up using Google
Sign up using Email and Password

Post as a guest

Required, but never shown

Post as a guest

Required, but never shown

By clicking "Post Your Answer", you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.