Skip to main content

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

csv2bufr-0.1.2.tar.gz (17.8 kB view hashes)

Uploaded Source

Built Distribution

csv2bufr-0.1.2-py2.py3-none-any.whl (19.1 kB view hashes)

Uploaded Python 2 Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page