iris icon indicating copy to clipboard operation
iris copied to clipboard

Allowed collapsing coordinates with `nbounds != (0, 2)`

Open schlunma opened this issue 3 years ago • 0 comments

🚀 Pull Request

Description

This pull request allows collapsing coordinates with number of bounds different from 0 or 2 (e.g., mesh dimensions). For this, it first checks if self.is_contiguous() (that is just used to issue a warning during the collapsing of coordinates) raises an error before actually calling it. If it raises an error, issue a different warning and remove the bounds before continuing.

Closes #4672.


Consult Iris pull request check list

schlunma avatar Jul 20 '22 12:07 schlunma