xoa.coords.get_zdim¶
- xoa.coords.get_zdim(da, errors='warn', **kwargs)[source]¶
Get the dimension of Z type
It is a simple call to
get_dims()withdim_types="z"- Parameters
da (xarray.DataArray) – Array to scan
positions (str) – Default position per type starting from the end.
errors ({'ignore', 'warn', 'raise'}) –
In case of errors
ignore: silently ignorewarn: emit a warningraise: raise an exception
kwargs (dict) – Extra parameters are passed to
get_dims()
- Returns
str or None – The dimension name or None
See also