Skip to content

Commit

Permalink
Update xbitinfo/xbitinfo.py
Browse files Browse the repository at this point in the history
Co-authored-by: Hauke Schulz <43613877+observingClouds@users.noreply.github.com>
  • Loading branch information
thodson-usgs and observingClouds committed Feb 12, 2024
1 parent 77c3fa4 commit 641f9fd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion xbitinfo/xbitinfo.py
Original file line number Diff line number Diff line change
Expand Up @@ -185,7 +185,7 @@ def get_bitinformation( # noqa: C901
"""
if implementation == "julia" and not julia_installed:
raise ImportError('Please install julia or use implementation="python".')
if ds.is_null().any():
if ds.isnull().any():
warnings.warn("This dataset contains NaNs, which can yield unexpected results.")
if dim is None and axis is None:
# gather bitinformation on all axis
Expand Down

0 comments on commit 641f9fd

Please sign in to comment.