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

Do not attempt to apply area subsetting to xarray incompatible data #193

Merged
merged 3 commits into from
Aug 20, 2024

Conversation

JamesVarndell
Copy link
Contributor

When applying area selectors to data for which it is not possible to convert to xarray, simply return the original data rather than attempting (and failing) to convert it to xarray.

@JamesVarndell
Copy link
Contributor Author

I've tested these changes on mini-cci successfully (i.e. the gridded data can still accept a spatial subset and the non-gridded data ignores the spatial subst).

Copy link
Contributor

@ecmwf-cobarzan ecmwf-cobarzan left a comment

Choose a reason for hiding this comment

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

All good!

@ecmwf-cobarzan ecmwf-cobarzan merged commit d24057d into main Aug 20, 2024
9 checks passed
@ecmwf-cobarzan ecmwf-cobarzan deleted the bugfix/area-selector-ignore-gridded branch August 20, 2024 13:18
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