As discussed with @observingClouds and @milankl, and raised in this BitInformation.jl issue: the elements in an array should be checked whether they are finite and raise a warning if they are not. As having many NaNs in the dataset may yield unexpected results.
A check could be using is_null() from xarray like:
Or perhaps by iterating through a dataset and issuing a warning upon encountering the first NaN value.
As discussed with @observingClouds and @milankl, and raised in this
BitInformation.jlissue: the elements in an array should be checked whether they are finite and raise a warning if they are not. As having manyNaNs in the dataset may yield unexpected results.A check could be using
is_null()fromxarraylike:Or perhaps by iterating through a dataset and issuing a warning upon encountering the first
NaNvalue.