diff --git a/modules/amv/caliop_clavrx_amv.py b/modules/amv/caliop_clavrx_amv.py
index de9432573107cab1430de90eecef4c1a42cd52be..26ae80435b4d824f1fc17d3238dafd0376d57321 100644
--- a/modules/amv/caliop_clavrx_amv.py
+++ b/modules/amv/caliop_clavrx_amv.py
@@ -373,7 +373,7 @@ def get_temp_prof_s(gfs_ds, nom_time, amv_lons, amv_lats):
     return temp_prof_s, gfs_press
 
 
-def get_temp_prof_s_intrp(gfs_ds, nom_time, amv_lons, amv_lats):
+def get_temp_prof_s_intrp(nom_time, amv_lons, amv_lats):
     gfs_fname_left, nom_time_left, gfs_fname_rght, nom_time_rght = get_bounding_gfs_files(nom_time)
     gfs_xr_left = xr.open_dataset(gfs_fname_left)
     gfs_xr_rght = xr.open_dataset(gfs_fname_rght)