Unit conversion for the abundance of atmospheric trace gases.
Project description
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
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")
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
ucat-0.2.0.tar.gz
(14.8 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
ucat-0.2.0-py3-none-any.whl
(14.5 kB
view details)
File details
Details for the file ucat-0.2.0.tar.gz.
File metadata
- Download URL: ucat-0.2.0.tar.gz
- Upload date:
- Size: 14.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.11.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e988e4161044f7a392d87e1db82bb5ddf891b7f001c0fefad0ad06886f2a2df9
|
|
| MD5 |
91ff6011dfbc327b23362511486e793f
|
|
| BLAKE2b-256 |
f827aea05e8bacfa5c03568fff64d22440286bd58a7b14cd5a518a2064dd8518
|
File details
Details for the file ucat-0.2.0-py3-none-any.whl.
File metadata
- Download URL: ucat-0.2.0-py3-none-any.whl
- Upload date:
- Size: 14.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.11.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
58d502d39dc68d55b8ced199afe0509ae911844e744f24aec55675c0bc3d64db
|
|
| MD5 |
2cafb35ec8703af6773c67221e7d06b1
|
|
| BLAKE2b-256 |
a3b312367a7268c0155f6a2db67f756a718832e92bf056f0c685865043d9971b
|