xarray_dimensions
File Purpose: tools related to xarray dimensions
Functions
|
returns whether value represents multiple values (of a dimension). |
|
returns xr.concat(arrays, dimension). |
|
returns something like: [array.sel({dimension: val}) for val in |
|
returns result of taking array along each of these dimensions, in order. |
|
array.assign_coords(coords).assign_attrs(attrs).rename(name) |
|
return broadcastable version of array, standardizing dims to the list provided. |
|
return dict of broadcastable versions of data_var(s) from dataset, standardizing data vars' dims. |
|
computes "closeness" along each dim: (array.isel(dim=0)/array).std() |
|
construct a coarsened version of array, where dim is coarsened by window_len, |
|
dataset.drop_dims(dims which do not appear in any of the data_vars). |
|
dataset.drop_vars(names, errors=errors), then drop any unused dims. |
|
return array but ensure these coords are dimensions. |
|
return xarray from broadcastable values, using dims/coords/attrs from input. |
|
returns (ds[var], copy of ds without var) |
|
Promote this coord (or these coords) to be a dimension, if it isn't already. |
|
return array.rename(names, **more_names), but skip any names not found in array.coords. |
|
return array but drop redundant dims. |
|
return array but drop redundant dims, with an tolerance when checking equality. |