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

snapshot...

parent d4babebf
No related branches found
No related tags found
No related merge requests found
...@@ -404,18 +404,6 @@ def compute_and_add_geo_hgt(path_to_amvs, path_to_gfs, amv_source, band='14', ou ...@@ -404,18 +404,6 @@ def compute_and_add_geo_hgt(path_to_amvs, path_to_gfs, amv_source, band='14', ou
amv_lons = amvs_nd[:, amv_lon_idx] amv_lons = amvs_nd[:, amv_lon_idx]
amv_lats = amvs_nd[:, amv_lat_idx] amv_lats = amvs_nd[:, amv_lat_idx]
# 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 = temp_prof.values
# temp_prof_s = temp_prof[0, :, :]
temp_prof_s, gfs_press = get_temp_prof_s(gfs_ds, nom_time, amv_lons, amv_lats) temp_prof_s, gfs_press = get_temp_prof_s(gfs_ds, nom_time, amv_lons, amv_lats)
alt_f = [] alt_f = []
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment