From 9993bf1515b9d8c740b442f8b951a3bd1672dac2 Mon Sep 17 00:00:00 2001
From: tomrink <rink@ssec.wisc.edu>
Date: Mon, 19 Sep 2022 12:11:27 -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 ce08eb8e..9014e632 100644
--- a/modules/amv/caliop_clavrx_amv.py
+++ b/modules/amv/caliop_clavrx_amv.py
@@ -379,7 +379,7 @@ def get_temp_prof_s_intrp(nom_time, amv_lons, amv_lats):
     gfs_xr_rght = xr.open_dataset(gfs_fname_rght)
     gfs_press = gfs_xr_left['pressure levels'].values
 
-    temp_prof = get_vert_profile_s([gfs_xr_left, gfs_xr_rght], [nom_time_left, nom_time_rght], ['temperature'], amv_lons, amv_lats, method='nearest')
+    temp_prof = get_time_interpolated_vert_profile([gfs_xr_left, gfs_xr_rght], [nom_time_left, nom_time_rght], ['temperature'], amv_lons, amv_lats)
     temp_prof = temp_prof.values
     temp_prof_s = temp_prof[0, :, :]
 
-- 
GitLab