Skip to main content

Configurable module to convert data from CSV to WMO BUFR format

Project description

bufr2geojson

The bufr2geojson Python module contains both a command line interface and an API to convert data stored as WMO BUFR to GeoJSON (RFC 7946). More information on the BUFR format can be found in the WMO Manual on Codes, Volume I.2.

Installation

Requirements

Dependencies

Dependencies are listed in requirements.txt. Dependencies are automatically installed during bufr2geojson installation.

# download and build Docker image
git clone https://github.com/World-Meteorological-Organization/bufr2geojson.git
cd bufr2geojson
docker build -t bufr2geojson .

# login to Docker container
docker run -it -v ${pwd}:/app bufr2geojson
cd /app

Running

bufr2geojson data transform <input_file> --output-dir <output_directory> --csv <True|False>

e.g.

bufr2geojson data transform ./tests/A_ISIA21EIDB202100_C_EDZW_20220320210902_11839953.bin  --output-dir ./output/

Releasing

# create release (x.y.z is the release version)
vi bufr2geojson/__init__.py  # update __version__
git commit -am 'update release version vx.y.z'
git push origin main
git tag -a vx.y.z -m 'tagging release version vx.y.z'
git push --tags

# upload to PyPI
rm -fr build dist *.egg-info
python setup.py sdist bdist_wheel --universal
twine upload dist/*

# publish release on GitHub (https://github.com/World-Meteorological-Organization/bufr2geojson/releases/new)

# bump version back to dev
vi bufr2geojson/__init__.py  # update __version__
git commit -am 'back to dev'
git push origin main

Code Conventions

Bugs and Issues

All bugs, enhancements and issues are managed on GitHub.

Contact

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

bufr2geojson-0.7.1.tar.gz (24.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

bufr2geojson-0.7.1-py2.py3-none-any.whl (23.1 kB view details)

Uploaded Python 2Python 3

File details

Details for the file bufr2geojson-0.7.1.tar.gz.

File metadata

  • Download URL: bufr2geojson-0.7.1.tar.gz
  • Upload date:
  • Size: 24.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.10.0

File hashes

Hashes for bufr2geojson-0.7.1.tar.gz
Algorithm Hash digest
SHA256 ade2e1034506cbcfb60bbcc214b86e5675376897b75798b4b65e7148d6778540
MD5 06da8b8e9e375a7a34a394d3644afbd4
BLAKE2b-256 a08f7eaaaf5e7d467dfbbfaf7e004d60d983836ce573273272e7517e155b6f65

See more details on using hashes here.

File details

Details for the file bufr2geojson-0.7.1-py2.py3-none-any.whl.

File metadata

  • Download URL: bufr2geojson-0.7.1-py2.py3-none-any.whl
  • Upload date:
  • Size: 23.1 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.10.0

File hashes

Hashes for bufr2geojson-0.7.1-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 7f70b9a4e98dfb88cd144c7178a01ae39a3e7c59934914df387d7ae6f83f30a2
MD5 1c7b1b776d9d2e188682d1f0229cd130
BLAKE2b-256 285dcd89cd162fdbebe6bb65d81909a91c21650f7789006d4e3dcef6e897bfa2

See more details on using hashes here.

Supported by

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