diff --git a/modules/icing/pirep_goes.py b/modules/icing/pirep_goes.py index 54cf915225e11c6d14d56828965eed084aaa3cb3..f39a86866eebae92b7d0444ec36ea6d7d9bde18d 100644 --- a/modules/icing/pirep_goes.py +++ b/modules/icing/pirep_goes.py @@ -1150,9 +1150,9 @@ def run_mean_std(): data.append(no_ice_h5f[dname][:,].flatten()) data = np.concatenate(data) - mean = np.mean(data) + mean = np.nanmean(data) data -= mean - std = np.std(data) + std = np.nanstd(data) print(dname,': ', mean, std)