use pint for unit conversion

Issue #422 resolved
Joern Ungermann created an issue

The pint package is very useful to interpret unit strings and convert units to one another. We should use pint to determine the conversion factors instead of the very simple approach currently used.

Some special handling might be required for geopotential altitude (e.g. m^2s^-2 → km)

Comments (2)

  1. Joern Ungermann reporter

    Partially adressed by PR #660

    Should be extended to force/allow specification of units in plots and automate the conversion.

  2. Reimar Bauer

    Force specification of pint-parseable units in plot styles and netcdf files

    Implemented mechanism for automatically converting units to the proper type. * Enforcing parseable units attribute being present in data files * adjustements to units of demodata * Updating of all plotting styles.

    Fix issue #422

    → <<cset b28f25a527db>>

  3. Log in to comment