Skip to content

Conversation

@kmodali
Copy link

@kmodali kmodali commented Oct 16, 2025

Handling STAC items with tar assets, either single tar or list of tars.

@jsignell
Copy link
Member

Thank you for opening a PR @kmodali! It might take me a few days to get around to reviewing, but it is on my list!

Copy link
Member

@jsignell jsignell left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I recognize that this PR might be in a partial state, but now that I've (finally!) read it over I feel pretty convinced that this logic doesn't belong in xpystac. It should be the responsibility of the zarr backend to make sense of an archived zarr file. So while xpystac might need to add a little logic to understand how to hand off metadata from the archive extension fields it shouldn't be in charge of any caching or extracting.

default_kwargs: Mapping = {"chunks": {}}

# Check the type of the 'obj'
if isinstance(obj, pystac.Asset):
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This should always evaluate to true since this function is registered for the case where obj is an Asset.

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

Successfully merging this pull request may close these issues.

2 participants