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

snapshot...

parent e98c5a7e
Branches
No related tags found
No related merge requests found
...@@ -417,8 +417,9 @@ def compute_and_add_geo_hgt(path_to_amvs, path_to_gfs, amv_source, band='14', ou ...@@ -417,8 +417,9 @@ def compute_and_add_geo_hgt(path_to_amvs, path_to_gfs, amv_source, band='14', ou
alt_f = np.reshape(alt_f, [num_amvs, 1]) alt_f = np.reshape(alt_f, [num_amvs, 1])
amvs_nd = np.hstack([amvs_nd, alt_f]) amvs_nd = np.hstack([amvs_nd, alt_f])
amv_params = amv_ds.get_parameters() all_params = ['TARG', 'AMV Lat', 'AMV Lon', ' target box size', 'search box size', 'AMV speed', 'AMV direction', 'AMV Pressure',
all_params = [amv_ds.lon_name, amv_ds.lat_name, amv_ds.elem_name, amv_ds.line_name] + amv_params 'LLCM', 'guess speed', 'guess direction', 'TBALB', 'MAXC', 'TRKM', 'PERR', 'HAMD', 'QI no forecast',
'QI with forecast', 'Common QI', 'Height (meters)']
coords = {'num_params': all_params} coords = {'num_params': all_params}
dims = ['num_amvs', 'num_params'] dims = ['num_amvs', 'num_params']
amvs_da = xr.DataArray(amvs_nd, coords=coords, dims=dims) amvs_da = xr.DataArray(amvs_nd, coords=coords, dims=dims)
... ...
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment