Metadata-Version: 2.2
Name: ucat
Version: 0.2.0
Summary: Unit conversion for the abundance of atmospheric trace gases.
Home-page: https://gitlab.com/empa503/general-tools/u-cat
Author: Gerrit Kuhlmann
Author-email: gerrit.kuhlmann@empa.ch
Project-URL: Bug Tracker, https://gitlab.com/empa503/general-tools/u-cat/-/issues
Classifier: Programming Language :: Python :: 3
Classifier: License :: OSI Approved :: GNU Lesser General Public License v2 or later (LGPLv2+)
Classifier: Operating System :: OS Independent
Requires-Python: >=3.6
Description-Content-Type: text/markdown
License-File: LICENSE
Requires-Dist: numpy
Requires-Dist: scipy

# u-cat: Unit conversion for atmospheric trace gases

This is a small Python package to convert units for the abundance and fluxes of 
atmospheric trace gases. The following conversions are supported:
- conversion of point measurements
- conversion of column measurements
- conversion of fluxes / emissions

Additionally, it includes several helper functions to parse, recognize and format units.

## Example
```python
import ucat

# convert 10 µg NO2 / m^3 to ppbv
ucat.convert_points(10.0, 'ug m-3', 'ppbv', molar_mass='NO2')

# convert 100 µmol/m² to molecules cm-2
ucat.convert_columns(100, 'umol m-2', 'cm-2', molar_mass='NO2')

# convert 10 kg/s to Mt/yr
ucat.convert_mass_per_time_unit(10, "kg/s", "Mt/yr")
```






