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

Fix for xarray coordinate validation #5169

Merged
merged 3 commits into from
Dec 18, 2021
Merged

Fix for xarray coordinate validation #5169

merged 3 commits into from
Dec 18, 2021

Conversation

philippjfr
Copy link
Member

The new validation for xarray coordinates introduced in #5140 did not consider coordinates which are either an alias of an existing coordinate or that share the same indexing as an existing coordinate, e.g. in the test case below:

Screen Shot 2021-12-16 at 1 38 10 PM

the lat1 coordinates simply provides alternate indexing along the lat dimension so as long as either lat1 or lat is specified we should allow it.

@philippjfr philippjfr merged commit cc6b27f into master Dec 18, 2021
philippjfr added a commit that referenced this pull request Dec 21, 2021
* Fix for xarray coordinate validation

* Various fixes

* Expand test case
@maximlt maximlt deleted the xarray_subdim_fix branch January 12, 2022 11:11
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.

1 participant