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")
Metadata
Release files for ucat 0.2.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| ucat-0.2.0.tar.gz | 14.8 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| ucat-0.2.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 29.3 kB
Release files / ucat-0.2.0.tar.gz
| Download URL | ucat-0.2.0.tar.gz |
|---|---|
| Size | 14.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
e988e4161044f7a392d87e1db82bb5ddf891b7f001c0fefad0ad06886f2a2df9
|
|
BLAKE2b-256 checksum How to use checksums |
f827aea05e8bacfa5c03568fff64d22440286bd58a7b14cd5a518a2064dd8518
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.11.4
|
Release files / ucat-0.2.0-py3-none-any.whl
| Download URL | ucat-0.2.0-py3-none-any.whl |
|---|---|
| Size | 14.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
58d502d39dc68d55b8ced199afe0509ae911844e744f24aec55675c0bc3d64db
|
|
BLAKE2b-256 checksum How to use checksums |
a3b312367a7268c0155f6a2db67f756a718832e92bf056f0c685865043d9971b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.11.4
|