You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is your feature request related to a problem? Please describe.
We need the ability to convert a dataset variable into a dimension as requested by Norman.
Describe the solution you'd like
Something like this:
ds2 = xr.concat([ds[var_name] for var_name in ds.data_vars], "var")
var_coords=xr.DataArray([var_name for var_name in ds.data_vars], dims=["var"])
ds2.assign_coords(var=var_coords)
The text was updated successfully, but these errors were encountered:
Is your feature request related to a problem? Please describe.
We need the ability to convert a dataset variable into a dimension as requested by Norman.
Describe the solution you'd like
Something like this:
The text was updated successfully, but these errors were encountered: