Skip to main content

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

Metadata

Release files for bufr2geojson 0.7.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for bufr2geojson 0.7.1
File Size Uploaded
bufr2geojson-0.7.1.tar.gz 24.0 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for bufr2geojson 0.7.1
File Interpreter ABI Platform
bufr2geojson-0.7.1-py2.py3-none-any.whl Python 2, Python 3 none any Details

Total release size: 47.1 kB

Release files / bufr2geojson-0.7.1.tar.gz

Download URL bufr2geojson-0.7.1.tar.gz
Size 24.0 kB
Tags Source
SHA-256 checksum
How to use checksums
ade2e1034506cbcfb60bbcc214b86e5675376897b75798b4b65e7148d6778540
BLAKE2b-256 checksum
How to use checksums
a08f7eaaaf5e7d467dfbbfaf7e004d60d983836ce573273272e7517e155b6f65
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.10.0

Release files / bufr2geojson-0.7.1-py2.py3-none-any.whl

Download URL bufr2geojson-0.7.1-py2.py3-none-any.whl
Size 23.1 kB
Tags Python 2 Python 3
SHA-256 checksum
How to use checksums
7f70b9a4e98dfb88cd144c7178a01ae39a3e7c59934914df387d7ae6f83f30a2
BLAKE2b-256 checksum
How to use checksums
285dcd89cd162fdbebe6bb65d81909a91c21650f7789006d4e3dcef6e897bfa2
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.10.0

Release history Release notifications | RSS feed

This release

0.7.1 This release

2 release files

0.7.0

2 release files

0.6.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page