You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When parameters are provided to bounding_box such that no polygons return (i.e. the box is so small no polygons are included) it fails with a ValueError from some Xarray code (see below). We're seeing this over in the UXarray Cookbook at the moment as a CI failure: ProjectPythia/unstructured-grid-viz-cookbook#28
What did you expect to happen?
Returning an empty UXarray with no error would be ideal I think.
If that's painful to implement, a more descriptive error would be a helpful start.
Activity
Add test: if subset empty, dont crash (#1557)