Reading GFS GRIB2 files: issues with gribmap

Eric Altshuler ela at COLA.IGES.ORG
Tue Jul 22 15:58:29 EDT 2008


Hi Kevin,

If you can use g2ctl to generate the index file, why do you run gribmap at all?


Eric L. Altshuler
Assistant Research Scientist
Center for Ocean-Land-Atmosphere Studies
4041 Powder Mill Road, Suite 302
Calverton, MD 20705-3106
USA

E-mail: ela at cola.iges.org
Phone: (301) 902-1257
Fax: (301) 595-9793

----- Original Message -----

perl g2ctl.pl $REMOTE_DIR1/gfs.t12z.pgrbf00.grb2 $TEMP_DIR/
gfs2.t12z.pgrbf00.idx >$TEMP_DIR/gfs2_000.ctl

This will create both the CTL and IDX files in *my* TEMP_DIR using
data from *my* data source folder (it can be whatever you want it to be)

Then the following:

$GRADS2_DIR/gribmap -0 -i $TEMP_DIR/gfs2_000.ctl

----------------------------



More information about the gradsusr mailing list