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

snaphot...

parent 8a29e709
Branches
No related tags found
No related merge requests found
......@@ -127,19 +127,16 @@ def match_calipso_clavrx_to_amvs(calipso_clavrx_ds, calipso_clavrx_file, amv_fil
match_dict[nom_time].append((cc, ll, lon, lat, f_idx, data_da, amvs_da, dist_to_amvs))
lons = amv_lons[in_box]
lats = amv_lats[in_box]
lons = lons[s_idxs]
lats = lats[s_idxs]
lons = param_nd[0, :]
lats = param_nd[1, :]
temp_prof = get_vert_profile_s(gfs_xr, ['temperature'], lons, lats, method='nearest')
temp_prof = temp_prof.values
temp_prof_s = temp_prof[0, :, :]
temp_prof_s = temp_prof_s[:, ::-1]
print(temp_prof_s.shape)
for k in range(num_amvs):
print(param_s[4, k])
print(temp_prof_s[k, :])
alt = pressure_to_altitude(param_s[4, k], None, gfs_press, temp_prof_s[k, :])
alt = pressure_to_altitude(param_nd[4, k], None, gfs_press, temp_prof_s[k, :])
print(alt)
return match_dict
......
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment