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

snapshot...

parent 43840c95
No related branches found
No related tags found
No related merge requests found
......@@ -411,8 +411,8 @@ def compute_and_add_geo_hgt(path_to_amvs, path_to_gfs, amv_source, band='14', ou
amv_press = amvs_nd[k, amv_pres_idx]
#alt = pressure_to_altitude(amv_press, None, gfs_press, temp_prof_s[k, :])
alt = pressure_to_altitude(amv_press, None, gfs_press, temp_prof_s[k, :], sfc_pres=sfc_press[k], sfc_temp=sfc_temp[k])
alt_s.append(alt.magnitude)
alt_f.append(alt.magnitude)
alt_s.append(alt)
alt_f.append(alt)
prs_s.append(amv_press)
alt_f = np.array(alt_f)
alt_f = np.reshape(alt_f, [num_amvs, 1])
......
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