xoa.coords.get_ydim#
- xoa.coords.get_ydim(da, errors='warn', **kwargs)[source]#
Get the dimension of Y type
It is a simple call to
get_dims()withdim_types="y"- 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 ignore'warn': emit a warning'raise': raise an exception
kwargs (dict) – Extra parameters are passed to
get_meta_dims()
- Returns:
str or None – The dimension name or None
See also
get_dims