matthieu-bernard / pybufr-ecmwf

a python module that allows reading and writing BUFR formatted files, where BUFR stands for Binary Universal Form for the Representation of meteorological data.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

The pybufr_ecmwf module provides functionality to read and write files in 
BUFR format, and to create BUFR tables.
The API consists of several layers:
-the raw/bare c API that connects python to the fortran library
-an intermediate python API around this raw layer
-[not yet finished] a high level API which should allow a pythonic object 
 oriented usage. Reading of BUFR files and creation of BUFR tables has
 been implemented, but for writing the intermediate layer is still needed.

For examples on its usage see the file USAGE.txt

For building and installation use the setup.py script.
Explanations about some non-standard options can be found in
the setup.cfg file, where things like which fortran compiler te use for
building the interface can be choosen.
Use 'setup.py --help' to get a list of all possibilities.

For manual building outside the setup.py script you can manually execute 
the build_interface.py script.

For manual testing go to the software root (where this readme file in located)
and execute the run_example_program.sh script and/or the unittests.py script.
To execute the pylint testing run the pylint/run_pylint.py script.

WARNING for python3 users:
the f2py tool that comes with numpy was broken, and crashed during 
the build process.
The problem has been reported to the numpy developers (see
http://projects.scipy.org/numpy/ticket/1932 and
numpy/numpy#3230), and the bug was fixed
in may 2013. However, if your numpy version is older than that this 
may still be a problem.

For more information on this module please consult the wiki at:
http://code.google.com/p/pybufr-ecmwf/

If you have any questions feel free to contact me by email.

Jos de Kloe, 08-Nov-2014.

About

a python module that allows reading and writing BUFR formatted files, where BUFR stands for Binary Universal Form for the Representation of meteorological data.

License:Other


Languages

Language:Python 98.2%Language:Shell 1.2%Language:Fortran 0.6%