xoa.coords.get_positive_attr
- xoa.coords.get_positive_attr(da, zdim=None)[source]
Get the positive attribute of a dataset
- Parameters:
da (xarray.Dataset, xarray.DataArray) –
zdim (None, str) – The index coordinate name that is supposed to have this attribute, which is usually the vertical dimension
- Returns:
None, “up” or “down”