Configurable module to convert data from CSV to WMO BUFR format
Project description
Overview
The csv2bufr Python module contains both a command line interface and an API to convert data stored in a CSV file to the WMO BUFR data format. More information on the BUFR format can be found in the WMO Manual on Codes, Volume I.2.
Install
docker pull wmoim/csv2bufr
Example usage
Transform data from file <my-csv-file.csv>
to BUFR using template specified in file <csv-to-bufr-mapping.json>
and with station metadata file the file <oscar-metadata-file.json>
. Write output to <output-directory-path>
.
csv2bufr data transform <my-csv-file.csv> \
--bufr-template <csv-to-bufr-mapping.json> \
--station-metadata <oscar-metadata-file.json> \
--output <output-directory-path>
Manual / documentation
The full documentation for csv2bufr can be found at https://wmo-im.github.io/csv2bufr including sample files.
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
Built Distribution
File details
Details for the file csv2bufr-0.1.2.tar.gz
.
File metadata
- Download URL: csv2bufr-0.1.2.tar.gz
- Upload date:
- Size: 17.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.2 importlib_metadata/4.6.4 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.7.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | f799a83f3d1ae9ba60664645dde51024722d1763461e644f97a26e2898e6b8b3 |
|
MD5 | f5aaacf8802fffe31b24d5666d51c4a2 |
|
BLAKE2b-256 | b3b024be9e8fa295f077c171551dccb694151f369b9d7bc7cf9fcaa58741ae86 |
File details
Details for the file csv2bufr-0.1.2-py2.py3-none-any.whl
.
File metadata
- Download URL: csv2bufr-0.1.2-py2.py3-none-any.whl
- Upload date:
- Size: 19.1 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.2 importlib_metadata/4.6.4 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.7.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6d24680b57a8d66478f4f785a96c648cead91652b1e2a31ccff9fc1b15023efe |
|
MD5 | f1d3b840986a727732bdfa75ea449b55 |
|
BLAKE2b-256 | 29180670405532c8969f3223f0d76f1fc9b9995169ebd95ede880cdfacb3be80 |