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

snapshot...

parent d097392e
Branches
No related tags found
No related merge requests found
...@@ -156,7 +156,7 @@ def get_time_interpolated_layer(xr_dataset_s, time_s, time, fld_name, press, lon ...@@ -156,7 +156,7 @@ def get_time_interpolated_layer(xr_dataset_s, time_s, time, fld_name, press, lon
lyr = xr.concat(layer_s, 'time') lyr = xr.concat(layer_s, 'time')
lyr = lyr.assign_coords(time=time_s) lyr = lyr.assign_coords(time=time_s)
intrp_lyr = lyr.interp(time=time, method='linear') intrp_lyr = lyr.interp(time=time, method=method)
intrp_lyr = intrp_lyr.expand_dims('channel') intrp_lyr = intrp_lyr.expand_dims('channel')
intrp_lyr = intrp_lyr.assign_coords(channel=[fld_name]) intrp_lyr = intrp_lyr.assign_coords(channel=[fld_name])
... ...
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment