We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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 get a "KeyError: 'sentinel:latitude_band'" when trying to index Sentinel S2 L2A or L1C datasets, for example:
When I run: docker-compose exec -T openeo_odc_driver bash -c "stac-to-dc --bbox='20,39,25,41' --catalog-href='https://earth-search.aws.element84.com/v1/' --collections='sentinel-2-l2a' --datetime='2023-01-01/2023-07-01'"
I get: File "/usr/local/lib/python3.10/site-packages/odc/apps/dc_tools/_stac.py", line 96, in _stac_product_lookup properties["sentinel:latitude_band"], KeyError: 'sentinel:latitude_band' Indexing from STAC API... Added 0 Datasets, failed 1082 Datasets
When I run: docker-compose exec -T openeo_odc_driver bash -c "stac-to-dc --bbox='20,39,25,41' --catalog-href='https://earth-search.aws.element84.com/v1/' --collections='sentinel-2-l1c' --datetime='2023-01-01/2023-07-01'"
I get the same error: KeyError: 'sentinel:latitude_band' Indexing from STAC API... Added 0 Datasets, failed 1082 Datasets
Is there a suggestion? Thank you!
The text was updated successfully, but these errors were encountered:
Hi @kpapap, thanks for tracking this.
Yes, this is a known issue, we raised the problem in the ODC GitHub: opendatacube/cube-in-a-box#64
We'll keep you posted here too!
Sorry, something went wrong.
This has been solved in the new branch where I'm using the implementation of the processes from openeo-processes-dask: https://github.com/SARScripts/openeo_odc_driver/blob/dask_processes/Makefile
I will port it to the master branch.
No branches or pull requests
I get a "KeyError: 'sentinel:latitude_band'" when trying to index Sentinel S2 L2A or L1C datasets, for example:
When I run:
docker-compose exec -T openeo_odc_driver bash -c "stac-to-dc --bbox='20,39,25,41' --catalog-href='https://earth-search.aws.element84.com/v1/' --collections='sentinel-2-l2a' --datetime='2023-01-01/2023-07-01'"
I get:
File "/usr/local/lib/python3.10/site-packages/odc/apps/dc_tools/_stac.py", line 96, in _stac_product_lookup
properties["sentinel:latitude_band"],
KeyError: 'sentinel:latitude_band'
Indexing from STAC API...
Added 0 Datasets, failed 1082 Datasets
When I run:
docker-compose exec -T openeo_odc_driver bash -c "stac-to-dc --bbox='20,39,25,41' --catalog-href='https://earth-search.aws.element84.com/v1/' --collections='sentinel-2-l1c' --datetime='2023-01-01/2023-07-01'"
I get the same error:
KeyError: 'sentinel:latitude_band'
Indexing from STAC API...
Added 0 Datasets, failed 1082 Datasets
Is there a suggestion? Thank you!
The text was updated successfully, but these errors were encountered: