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

Conservative and most-common methods require increasing latitude/longitude in target grid #28

Closed
kjdoore opened this issue Feb 13, 2024 · 0 comments
Assignees

Comments

@kjdoore
Copy link
Collaborator

kjdoore commented Feb 13, 2024

When regridding using the conservative or most_common methods, the plane coordinates (i.e., latitude and longitude) must be in increasing order in the target grid. This is not the case for any interpolation method (e.g., linear) as xarray's interpolation method does not care about the coordinate order.

Suggest adding a sorting of the target grid (which is already done for the data).

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

No branches or pull requests

2 participants