From 8d68c598ff1f9f59d7a18185d3ffe07e6e9209c1 Mon Sep 17 00:00:00 2001 From: tomrink <rink@ssec.wisc.edu> Date: Tue, 20 Sep 2022 19:00:58 -0500 Subject: [PATCH] snapshot... --- modules/amv/caliop_clavrx_amv.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/modules/amv/caliop_clavrx_amv.py b/modules/amv/caliop_clavrx_amv.py index 62bb8ee6..2387769f 100644 --- a/modules/amv/caliop_clavrx_amv.py +++ b/modules/amv/caliop_clavrx_amv.py @@ -402,14 +402,14 @@ def compute_and_add_geo_hgt(path_to_amvs, path_to_gfs, amv_source, band='14', ou amv_lons = amvs_nd[:, amv_lon_idx] amv_lats = amvs_nd[:, amv_lat_idx] - # temp_prof_s, gfs_press = get_temp_prof_s(gfs_ds, nom_time, amv_lons, amv_lats) - temp_prof_s, gfs_press, sfc_press, sfc_temp, sfc_hgt, = get_temp_prof_s_intrp(nom_time, amv_lons, amv_lats) + temp_prof_s, gfs_press = get_temp_prof_s(gfs_ds, nom_time, amv_lons, amv_lats) + # temp_prof_s, gfs_press, sfc_press, sfc_temp, sfc_hgt, = get_temp_prof_s_intrp(nom_time, amv_lons, amv_lats) alt_f = [] 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_elev=sfc_hgt[k]) + 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_elev=sfc_hgt[k]) alt_s.append(alt) alt_f.append(alt) prs_s.append(amv_press) -- GitLab