From 641f9fd591d5c573aad8e54587146f3c33dac5c0 Mon Sep 17 00:00:00 2001 From: Timothy Hodson <34148978+thodson-usgs@users.noreply.github.com> Date: Fri, 9 Feb 2024 11:40:26 -0600 Subject: [PATCH] Update xbitinfo/xbitinfo.py Co-authored-by: Hauke Schulz <43613877+observingClouds@users.noreply.github.com> --- xbitinfo/xbitinfo.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xbitinfo/xbitinfo.py b/xbitinfo/xbitinfo.py index a1ae957a..f58afdf2 100644 --- a/xbitinfo/xbitinfo.py +++ b/xbitinfo/xbitinfo.py @@ -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