Skip to content

Planetary Computer S2 index issue #44

@diplonics

Description

@diplonics

Getting the below error when trying to index PC S2 data.
No changes our side so suspect its a PC issue as even existing ODC indexed PC S2 data is not accessible.
Have reached out to PC guys for thoughts but may need product file change ODC side if they've implemented something fundamental!!!

ERROR: Failed to handle item S2B_MSIL2A_20250101T113409_R080_T29UNU_20250101T134107
Traceback (most recent call last):
File "/usr/local/lib/python3.8/dist-packages/odc/apps/dc_tools/stac_api_to_dc.py", line 194, in stac_api_to_odc
_ = future.result()
File "/usr/lib/python3.8/concurrent/futures/_base.py", line 437, in result
return self.__get_result()
File "/usr/lib/python3.8/concurrent/futures/_base.py", line 389, in __get_result
raise self._exception
File "/usr/lib/python3.8/concurrent/futures/thread.py", line 57, in run
result = self.fn(*self.args, **self.kwargs)
File "/usr/local/lib/python3.8/dist-packages/odc/apps/dc_tools/stac_api_to_dc.py", line 132, in process_item
index_update_dataset(
File "/usr/local/lib/python3.8/dist-packages/odc/apps/dc_tools/utils.py", line 218, in index_update_dataset
raise IndexingException(
odc.apps.dc_tools.utils.IndexingException: Failed to create dataset with error The dataset is not specifying all of the measurements in this product.
Missing fields are;
{'nir09', 'coastal', 'rededge2', 'blue', 'swir16', 'wvp', 'nir08', 'scl', 'nir', 'red', 'swir22', 'rededge1', 'rededge3', 'green', 'aot'}
The URI was https://planetarycomputer.microsoft.com/api/stac/v1/collections/sentinel-2-l2a/items/S2B_MSIL2A_20250101T113409_R080_T29UNU_20250101T134107

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions