units = "none"?
dcherian opened this issue · comments
I have a dataset with some variables with units: "none"
. Can we ignore this in pint-xarray or is that not clean enough?
not sure. We currently have None
as a way to mark "non-quantities", but I guess we could add 1
and maybe "none"
and "1"
, too. The only issue would be whether "none"
conflicts with an actual unit (probably not, though).
apparently we don't support anything like this, yet: while None
is used internally to mark "non-quantities", we also use None
in the function signatures (especially _decide_units
). The result is that overrides are silently ignored, which is truly unfortunate.