diff --git a/modules/icing/pirep_goes.py b/modules/icing/pirep_goes.py
index 827c2ada178fa93d2584f755f1ccc8599ae3da68..d5dd60b80045e1e07f1e297196c8857efa0a2307 100644
--- a/modules/icing/pirep_goes.py
+++ b/modules/icing/pirep_goes.py
@@ -1418,7 +1418,7 @@ def run_mean_std(check_cloudy=False, no_icing_to_icing_ratio=5):
         data_i -= mean_i
         std_i = np.nanstd(data_i)
         lo_i = np.nanmin(data_i)
-        hi_i = np.nammax(data_i)
+        hi_i = np.nanmax(data_i)
         cnt_i = np.sum(np.invert(np.isnan(data_i)))
 
         data_ni = np.concatenate(data_ni)