metno / pyaerocom

Python tools for the AeroCom project
https://pyaerocom.readthedocs.io/
GNU General Public License v3.0
23 stars 13 forks source link

Units are not user-definable and are not used consistently #1223

Open heikoklein opened 2 weeks ago

heikoklein commented 2 weeks ago

Describe the bug In pyaerocom up to current versions, units are hard-coded in variables.ini and are not user-definable. These units are used for model-input and thus the geojson contourplots on aeroval. For collocation, the units from the measurements are used.

This makes can make units inconsistent, i.e. when plotting stations on top of contours. It might also make units inconsistent when showing All measurments at once, i.e. when different measurement-networks use different units.

To Reproduce Steps to reproduce the behavior:

  1. change units in variables.ini
  2. plot contours
  3. show contours with obs under Maps in aeroval

Expected behavior

Additional context