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
Current, RVIC is using an ad hoc input/output units scheme, checking for a few known combinations of unit strings (e.g. 'mm', 'kg m-2 s-1', etc). There are a few Python projects that have wrapped the UDUNITS library that support conversion of a range of units.
cf-units is similar to cfunits-python python, but better maintained, lager community, and easier to install (no hard coded path, etc). We have conda binaries for Win, OSX and, Linux. (Sorry no python 3 yet!)
Current, RVIC is using an ad hoc input/output units scheme, checking for a few known combinations of unit strings (e.g. 'mm', 'kg m-2 s-1', etc). There are a few Python projects that have wrapped the UDUNITS library that support conversion of a range of units.
Two packages that come to mind:
One of these should be included in
read_forcings.py
andhistory.py
to handle the units conversion that is currently done in a more sophisticated way.CC: @bartnijssen, @mrstu
related: #55
The text was updated successfully, but these errors were encountered: