Skip to content

Add dimension names from coords for CRS lookup #42

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

Merged
merged 3 commits into from
Feb 11, 2025

Conversation

redcliff
Copy link
Contributor

Based on the doc: https://cf-xarray.readthedocs.io/en/latest/coord_axes.html, cf_xarray can refer to named dimensions by standard axis or coordinate names. The difference is that axis names are "X"/"Y"/"T" while coordinate names are "longitude"/"latitude"/"time". In some datasets, "X" and "Y" don't necessarily correspond to "longitude" and "latitude", so we need to add "longitude" and "latitude" explicitly to the dimension names for CRS lookup.

@ghidalgo3 ghidalgo3 merged commit 31bf517 into stac-utils:main Feb 11, 2025
1 check passed
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