Skip to content

Transforming to STAC item from S1L1C metadata fails  #30

@mcasterline-nvidia

Description

@mcasterline-nvidia

I am currently trying to create a local STAC catalog for the Sentinel-1 data that lives on the AWS Open Data Registry. I've run into an issue where the xml metadata associated with a given scene isn't being parsed correctly. In looking through the tests in test/test_sentinel1.py it seems they are not actually testing against the Sentinel-1 collection so are potentially not catching this problem. The specific issue is coming in sentinel.py, line 162 in the to_stack_from_s1l1c method. There is nometadata entry with the key filenames so this is throwing an exception.

logger.debug('Metadata filename: %s' % self.metadata['filenames'][0]) extended_metadata = self.get_xml_metadata(self.metadata['filenames'][0]) logger.debug('Extended metadata: %s' % json.dumps(extended_metadata))

Additionally, there are multiple annotation files - depending on polarization and noise/calibration. I'm not very familiar with the intricacies of S1 data so any help would be much appreciated.

Alternatively - if there exists a STAC endpoint already for the AWS bucket that would also solve my problem, but I haven't been able to find one.

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