Skip to content
New issue

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

Transforming to STAC item from S1L1C metadata fails #30

Open
mcasterline-nvidia opened this issue Mar 19, 2021 · 0 comments
Open

Transforming to STAC item from S1L1C metadata fails #30

mcasterline-nvidia opened this issue Mar 19, 2021 · 0 comments

Comments

@mcasterline-nvidia
Copy link

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant