adventurensa.blogg.se

How to use wgrib2
How to use wgrib2








how to use wgrib2

Now we have to edit the included libpng package, since it is untarred by the makefile and doesn’t inherit our compiler specifications in step 4.You’ll see instructions to this effect in the makefile anyway. cd into the resulting wgrib directory.Īlso search for makefile.darwin in the makefile and uncomment the line containing it. Untar the tarball somewhere, and roll up your sleeves.

how to use wgrib2

Download wgrib2 here (note download links are pretty far down the page).If you don’t know what gcc is, stop now and find someone who does (it will save you a lot of time). Get Command Line Tools for Xcode (search for it on Duckduckgo or your engine of choice) and also make sure gcc is installed.It is also a requirement for using grib files in rNOMADS (the function ReadGrib() in particular). It allows for a number of swift and stable operations on GRIB2 files (a common file format for weather and climate data). Prompted by both my own struggles with wgrib2 compilation and a plea on the rNOMADS email listserv, I’m going to describe how to compile and install wgrib2 on Mac OS.įirst of all, some background: wgrib2 is an excellent utility written by Wesley Ebisuzaki at NOAA.










How to use wgrib2