I'd like to normalize measurements of different timespans to per-annum:
import pint
from pint import get_application_registry
ureg = get_application_registry()
x = ureg('kg/d')
print(f"x = {x}")
# x = 1.0 kilogram / d
print(f"x = {x.to('kg/a')}")
# x = 365.2499999999999 kilogram / a
# QUESTION: how do I manipulate x to just change the time dimension to '/a' regardless of other dimensions, resulting in kg/a (in this case)?
I tried reading the documentation, but it does not appear straightforward. I have also looked at similar questions, but they do not apply.