ggrib--Extraction of geographic subdomains from GRIB files v2.0

A program for extraction of geographic subdomains from GRIB files now exists. Comments are appreciated, future versions may appear. Syntax:

ggrib gribfile newgribfile westlon southlat eastlon northlat

Example:

ggrib world.grb smallworld.grb -10.0 45.0 35.0 70.0

Produces an excerpt from a global file with bounding coordinates (10W,45N) and (35E,70N).

Example 2:

ggrib world.grb smallworld.grb -170.0 45.0 -170.0 70.0

Produces a zonal "ribbon" from 45N to 70N that extends around the globe.

Example 3:

ggrib oldworld.grb bravenewworld.grb -20 . . 75

Prodcues a new grid which extends from 20W to the eastern rim of the old grid, takes the southern latitude of the old grid and goes to 75N.

Installation:

tar xvf ggrib.tar
cd ggrib
make -f ggrib.make

The TAR-file includes an SGI binary of ggrib, which makes compilation unnecessary for those fortunate owners of SGI's.

The library gribw must be compiled in advance using gribwlib.make. This software along with the other files listed in ggrib.make are all contained in the tape archive gribw.tar found at ftp://wesley.wwb.noaa.gov/pub/gribw.
 
 

--
Oyvind Breivik, Norwegian Meteorological Institute, www.dnmi.no
Marine  Forecasting  Centre,  Alleg 70,  N-5007 Bergen,  Norway
Office:      +47-55236623 Fax:  +47-55236703  Mob: +47-48115241
Switchboard: +47-55236600 Home: +47-55314171