Control file for multiple files

Daniel Leins Daniel.Leins at NOAA.GOV
Thu Apr 14 13:19:52 EDT 2005


List,

I would like to know if it's possible to come up with a control file
that could be used for several different grib files.  I've created a
control file for the mesoeta model run, and instead of using grib2ctl,
and gribmap every time I process a grib file, I would like to stick with
one ctl file, as well as 1 idx file.  Can this be done, and if so, what
is the context of the top of the control file?

Looking around online, I came across an example ctl file valid for the
GFS run.  The top of the file looks like...

dset ^gfs.t00z.pgrbf%f2
index ^gfs_00z.idx
undef 9.999E+20

I modified my file to look like

dset ^nam.t00z.grbgrd%f2.tm00
index ^nam.idx
undef 9.999E+20

changing the forecast valid time from the number to "%f2", however when
I try and open my control file, I am presented with an error that it
can't find "

nam.t00z.grbgrd%f2.tm00"   I get the same error when I try and run gribmap, thinking that the idx file was messed up.

All my files will be named with the same convention, nam.t00z.grbgrd##.tm00.  What can I do to make this concept of a
single control file work?

Thanks,
Dan Leins



More information about the gradsusr mailing list