Skip to content
Snippets Groups Projects
Commit 88a28731 authored by tomrink's avatar tomrink
Browse files

snapshot...

parent 150fdf40
Branches
No related tags found
No related merge requests found
......@@ -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, :, :]
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment