diff --git a/modules/amv/caliop_clavrx_amv.py b/modules/amv/caliop_clavrx_amv.py index e5bf04d11123bdb11b4c2a581e39f9c198362859..62bb8ee6a0c7cdc46645e5762b05af113c12d3c4 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, :, :]