Skip to content

Leverage pystac for deeper spatial dimension detection #739

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

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

soxofaan
Copy link
Member

for #737

@soxofaan soxofaan force-pushed the issue737-spatial-dim-metadata-parsing branch from e5437ff to 132c99c Compare February 25, 2025 15:37
@soxofaan
Copy link
Member Author

(
# Item without cube:dimensions metadata -> assume spatial dimensions x and y
StacDummyBuilder.item(),
{"x": [None, None], "y": [None, None]},
Copy link
Collaborator

Choose a reason for hiding this comment

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

if no dimension metadata is present, I would assume a default cube with also temporal and bands dimension

Copy link
Member Author

Choose a reason for hiding this comment

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

yes indeed, that is the topic of #743

this PR is just about improving the spatial extent detection if there is STAC metadata about that

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.

Simpler or more predictable dimension detection with load_stac? load_stac + resample_spatial incompatibility
2 participants