is_unitless#
- compliance_checker.cfutil.is_unitless(ds, variable)[source]#
Returns true if the variable is unitless
Note units of ‘1’ are considered whole numbers or parts but still represent physical units and not the absence of units.
- Parameters:
ds (netCDF4.Dataset) – An open netCDF dataset
variable (str) – Name of the variable