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
axisis the uppercase version of thedim_type- Parameters
coord (xarray.DataArray) –
lower (bool) – Lower case?
- Returns
{“x”, “y”, “z”, “t”, “f”}, None
See also