Skip to content

Check for NaNs and raise warning #200

Description

@ayoubft

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:

ds.is_null().sum()

Or perhaps by iterating through a dataset and issuing a warning upon encountering the first NaN value.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions