Closed forestbat closed 1 year ago
you seem to have figured this out already, but for the accessor to register you need to import pint_xarray
first (if you use autoformatters / linters with auto-correct – i.e. ruff
– make sure to mark that line with # noqa: F401
).
This is my method:
And my version of
pint
is0.3
, however when I try to debug this code, it tells me:So why this problem will occur?