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

Ensure grid has at least a shape of 2 by 2 points #7

Merged
merged 3 commits into from
Nov 17, 2020

Conversation

bouweandela
Copy link
Member

@bouweandela bouweandela commented Nov 10, 2020

This pull request ensures the horizontal grid has at least a shape of 2 by 2 points. It also fixes a bug where the wrong lattitudes were selected if not a single latitude point was within 88-90 degrees north (not sure if there was any data in this repository where that was the case though).

@bouweandela
Copy link
Member Author

bouweandela commented Nov 10, 2020

@stefsmeets Maybe you could first check if this solves your regridding problems with the scheme='linear' regridder, before we download all data again? As an alternative, you could choose the 'nearest' scheme for nearest neighbour regridding. See here for the available options.

@bouweandela bouweandela marked this pull request as ready for review November 11, 2020 20:23
@bouweandela
Copy link
Member Author

Already downloaded all data

@stefsmeets stefsmeets merged commit 1ed1d66 into master Nov 17, 2020
@stefsmeets stefsmeets deleted the minimum-grid-2x2 branch November 17, 2020 13:01
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