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

snapshot...

parent e0bd6c2d
No related branches found
No related tags found
No related merge requests found
......@@ -664,8 +664,8 @@ def subset_by_time(match_file, dt_str_0, dt_str_1, amv_var_names):
coords = {'num_profs': times[time_idxs], 'num_params': amv_var_names}
amvs_da = xr.DataArray(amvs, coords=coords, dims=['num_profs', 'max_num_amvs', 'num_params'])
prof_locs_da = xr.DataArray(np.column_stack([lons[time_idxs], lats[time_idxs]]),
coords=[times[time_idxs], ['longitude', 'latitude']],
prof_locs_da = xr.DataArray(np.column_stack([lons[time_idxs], lats[time_idxs], n_amvs_per_prof[time_idxs], n_levs_per_prof[time_idxs]]),
coords=[times[time_idxs], ['longitude', 'latitude', 'num_amvs', 'num_levels']],
dims=['num_profs', 'space'])
return prof_da, amvs_da, prof_locs_da
......
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