Skip to content

Liam-Deacon/wgrib-python

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

35 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

wgrib-python - A thin Python wrapper for wgrib

Install

To build please run:

pip install wgrib-python

For configuring wgrib2, CC and FC environment variables need to set prior to calling pip, e.g.

export CC=gcc-7
export FC=gfortran-7

Example

To use try the following python code:

from wgrib import wgrib_main  # wgrib1
import shlex

output = wgrib_main(shlex.split('-text -verf'))
print(output)

TODO

  • Full wgrib2 support
  • Fancier wrappings for more flexibility

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published