From 88a2873162eae0707ba92873aca1122a78dd657c Mon Sep 17 00:00:00 2001
From: tomrink <rink@ssec.wisc.edu>
Date: Tue, 20 Sep 2022 14:41:06 -0500
Subject: [PATCH] snapshot...

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

diff --git a/modules/amv/caliop_clavrx_amv.py b/modules/amv/caliop_clavrx_amv.py
index e5bf04d1..62bb8ee6 100644
--- a/modules/amv/caliop_clavrx_amv.py
+++ b/modules/amv/caliop_clavrx_amv.py
@@ -361,12 +361,11 @@ def get_temp_prof_s(gfs_ds, nom_time, amv_lons, amv_lats):
     gfs_fname, _, _ = gfs_ds.get_file(nom_time, window=180.0)
     if gfs_fname is None:
         return None
-    print(gfs_fname)
     gfs_xr = xr.open_dataset(gfs_fname)
     gfs_press = gfs_xr['pressure levels']
     gfs_press = gfs_press.values
 
-    temp_prof = get_vert_profile_s(gfs_xr, ['temperature'], amv_lons, amv_lats, method='nearest')
+    temp_prof = get_vert_profile_s(gfs_xr, ['temperature'], amv_lons, amv_lats, method='linear')
     temp_prof = temp_prof.values
     temp_prof_s = temp_prof[0, :, :]
 
-- 
GitLab