From b617591f0533bc3ba1c25a65a6e0167caf4378c9 Mon Sep 17 00:00:00 2001
From: tomrink <rink@ssec.wisc.edu>
Date: Sat, 26 Dec 2020 10:30:29 -0600
Subject: [PATCH] snapshot...

---
 modules/util/util.py | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/modules/util/util.py b/modules/util/util.py
index 7c7bb286..755d2148 100644
--- a/modules/util/util.py
+++ b/modules/util/util.py
@@ -66,10 +66,10 @@ def get_breaks(t, threshold):
 
 def pressure_to_altitude(pres, temp, prof_pres, prof_temp, sfc_pres=None, sfc_temp=None, sfc_elev=0):
     if not np.all(np.diff(prof_pres) > 0):
-        raise MyGenericException("target pressure profile must be monotonic increasing")
+        raise GenericException("target pressure profile must be monotonic increasing")
 
     if pres < prof_pres[0]:
-        raise MyGenericException("target pressure less than top of pressure profile")
+        raise GenericException("target pressure less than top of pressure profile")
 
     if temp is None:
         temp = np.interp(pres, prof_pres, prof_temp)
-- 
GitLab