From b181c909bcca0f4d5affe9eb278f01b877b2121e Mon Sep 17 00:00:00 2001
From: tomrink <rink@ssec.wisc.edu>
Date: Tue, 20 Sep 2022 13:55:53 -0500
Subject: [PATCH] snapshot...

---
 modules/amv/caliop_clavrx_amv.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/modules/amv/caliop_clavrx_amv.py b/modules/amv/caliop_clavrx_amv.py
index 55ff9da4..e5bf04d1 100644
--- a/modules/amv/caliop_clavrx_amv.py
+++ b/modules/amv/caliop_clavrx_amv.py
@@ -410,7 +410,7 @@ def compute_and_add_geo_hgt(path_to_amvs, path_to_gfs, amv_source, band='14', ou
         for k in range(num_amvs):
             amv_press = amvs_nd[k, amv_pres_idx]
             #alt = pressure_to_altitude(amv_press, None, gfs_press, temp_prof_s[k, :])
-            alt = pressure_to_altitude(amv_press, None, gfs_press, temp_prof_s[k, :], sfc_pres=sfc_press[k], sfc_temp=sfc_temp[k], sfc_hgt=sfc_hgt[k])
+            alt = pressure_to_altitude(amv_press, None, gfs_press, temp_prof_s[k, :], sfc_pres=sfc_press[k], sfc_temp=sfc_temp[k], sfc_elev=sfc_hgt[k])
             alt_s.append(alt)
             alt_f.append(alt)
             prs_s.append(amv_press)
-- 
GitLab