You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@JoyMonteiro brought up that currently when run in SCM mode, unit conversion checking takes up a significant amount of CliMT's runtime. We may want to add a faster backend for unit handling.
The more official package appears to be cf-units, hosted by the Met office, but that is also incompatible with Python 3 according to their docs and my attempt to download it through conda. We could try to fix it to work with Python 3 and submit a PR to them.
Or we could look for another option.
The text was updated successfully, but these errors were encountered:
With an equivalent statement using cf-units, the code is twice as fast. cf-units supports all
aliases setup in this file. It does not understand 'dimensionless', and that needs to be handled. Otherwise, this should be easy to optimize -- use cfunits if it exists.
@JoyMonteiro brought up that currently when run in SCM mode, unit conversion checking takes up a significant amount of CliMT's runtime. We may want to add a faster backend for unit handling.
See climt/issues/75 for original discussion of this issue.
cfunits is a good candidate as a backend, but it appears to only work on Python 2. When I run cfunits-1.5.1 on Python 3, I get:
The more official package appears to be cf-units, hosted by the Met office, but that is also incompatible with Python 3 according to their docs and my attempt to download it through conda. We could try to fix it to work with Python 3 and submit a PR to them.
Or we could look for another option.
The text was updated successfully, but these errors were encountered: