Package for converting FM15 METAR TAC messages or an individual METAR message to BUFR4
Project description
FM15_transform
FM15_transform provides functionality to transform raw FM15 (METAR) TAC messages into their corresponding bufr4 translations as well as extraction of geojson records of the individual observations formatted for use by a WIS2 node.
Installation
Requirements
- Python 3.7 and above
- ecCodes
Dependencies
Dependencies are listed in requirements.txt. Dependencies are automatically installed during FM15_transform installation.
Environment Variable Configuration
The cfunits library contains UDUNITS-2. Per the documentation on cfunits found here
pip
Install latest stable version from PyPI.
pip3 install FM15_transform
Transform FM15 files from the command line
# basic cli command to transform TAC file of metar(s) and print resulting geojson records
# both month and year as int values
transform-file example_metars.txt month year
Releasing
# upload to PyPI
# make sure to update version number in pyproject.toml using vim or another IDE
rm -fr dist *.egg-info
python3 -m build
twine upload dist/*
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
FM15_transform-0.0.8.tar.gz
(218.7 kB
view hashes)
Built Distribution
FM15_transform-0.0.8-py3-none-any.whl
(222.8 kB
view hashes)
Close
Hashes for FM15_transform-0.0.8-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | da8bc61716451fc313631408b2f48e968d022742e8d3e437a8aa0a229df69d29 |
|
MD5 | 9f093940724d728dce50e794f9abe641 |
|
BLAKE2b-256 | 0d0a91380f2ed0830de7a76660ae4ccc0d2be25eebf52a7c7c2d0dcd8a0e0b4b |