Skip to content

ClaraDraper-NOAA/py-ncepbufr

 
 

Repository files navigation

py-ncepbufr

python interface to NCEP BUFR library (BUFRLIB).

to install (numpy and fortran compiler (preferably gfortran) required):

  • python setup.py build
    • setup.py will try to build src/libbufr.a if it does not already exist using cd src; sh makebufrlib.sh. src/makebufrlib.sh is set up to use gfortran by default. You can edit src/makebufrlib.sh and run it manually if this step fails. If you change the fortran compiler, you may have to add the flags config_fc --fcompiler=<compiler name> when setup.py is run (see docs for [numpy.distutils] (http://docs.scipy.org/doc/numpy-dev/f2py/distutils.html)).
  • python setup.py install

Probably will not work on Windows!

see http://jswhit.github.io/py-ncepbufr/ for docs.

see test/test.py for example usage.

utils/prepbufr2nc is a utility to convert NCEP prepbufr files to netcdf format.

utils/nc2prepbufr does the reverse (netcdf back to prepbufr).

About

python interface to NCEP bufr library

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Fortran 86.2%
  • Jupyter Notebook 8.1%
  • Python 3.9%
  • C 1.6%
  • Other 0.2%