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

Improve warnings when resampling or cube slices leads to (near) empty surfaces #1157

Open
jcrivenaes opened this issue Feb 9, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@jcrivenaes
Copy link
Collaborator

While working with #1156, I see that situations where map nodes get very few are not handled with sufficient warnings.

E.g. resampling which would result in an empty map will not produce any error messages or warnings.

def resample(self, other, mask=True, sampling="bilinear"):

In addition, the routines that slices a cube with a surface returns an istat/ier, but it appears that this is not robust for unknown reasons

def _slice_cube_v2(

@jcrivenaes jcrivenaes added the enhancement New feature or request label Feb 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant