xoa.cf.CFCoordSpecs.get_axis
- CFCoordSpecs.get_axis(coord, lower=False)[source]
Get the dimension type, either from axis attr or from match Cf coord
Note
The
axis
is the uppercase version of thedim_type
- Parameters:
coord (xarray.DataArray) –
lower (bool) – Lower case?
- Returns:
{“x”, “y”, “z”, “t”, “f”}, None
See also