ILAMB icon indicating copy to clipboard operation
ILAMB copied to clipboard

ILAMB.Variable.plot() fails if all data is masked

Open nocollier opened this issue 5 years ago • 1 comments

The plotting function checks the extents of the data by looking at the mask. If the entire array is masked, then the function fails and should simply return nothing.

nocollier avatar Oct 03 '19 18:10 nocollier

Relevant lines: https://github.com/rubisco-sfa/ILAMB/blob/master/src/ILAMB/Variable.py#L1182

nocollier avatar Oct 03 '19 19:10 nocollier