[gradsusr] Control File with dual data sets

Mike Manning michael at bsch.com.au
Wed Feb 11 17:35:06 EST 2015


Hi all,

I've got a question in regards to the new 0.25 degree GFS data - As 
you're all aware, the data comes in 2 different files for the extra 
vertical levels:

gfs.t18z.pgrb2.0p25.f000
gfs.t18z.pgrb2b.0p25.f000

What I did to try and trick GRADS into reading both sets of datafiles 
without having to combine them into one (cat gfs.t18z.pgrb2.0p25.f000 
gfs.t18z.pgrb2b.0p25.f000 > combined.grb.000) was to call the files as 
follows when I download them:

gfs.t18z.pgrb2.0p25.f000 -> gfs.t18z.pgrb2b.0p25.f00000
gfs.t18z.pgrb2b.0p25.f000 -> gfs.t18z.pgrb2b.0p25.f01000

gfs.t18z.pgrb2.0p25.f003 -> gfs.t18z.pgrb2b.0p25.f00003
gfs.t18z.pgrb2b.0p25.f003 -> gfs.t18z.pgrb2b.0p25.f01000

When I created the control file, I used the data parameter of:

gfs.t18z.pgrb2b.0p25.f%fn2%f3 for example - This worked a treat (so I 
thought) and I could see the control file now showed 47 Z levels instead 
of 26 however gribmap did not like the %fn2%f2 and showed this:


grib2map: scanning GRIB2 file: gfs.t18z.pgrb2b.0p25.f180003
grib2map warning: could not open GRIB file: gfs.t18z.pgrb2b.0p25.f180003
grib2map: scanning GRIB2 file: gfs.t18z.pgrb2b.0p25.f360006
grib2map warning: could not open GRIB file: gfs.t18z.pgrb2b.0p25.f360006
grib2map: scanning GRIB2 file: gfs.t18z.pgrb2b.0p25.f540009
grib2map warning: could not open GRIB file: gfs.t18z.pgrb2b.0p25.f540009
grib2map: scanning GRIB2 file: gfs.t18z.pgrb2b.0p25.f720012
grib2map warning: could not open GRIB file: gfs.t18z.pgrb2b.0p25.f720012
grib2map: scanning GRIB2 file: gfs.t18z.pgrb2b.0p25.f900015
grib2map warning: could not open GRIB file: gfs.t18z.pgrb2b.0p25.f900015
grib2map: scanning GRIB2 file: gfs.t18z.pgrb2b.0p25.f1080018

Looks like grib2map is trying to set the %fn2 as minutes = run hour.  So 
my question is - has anyone got the dual data files to work with a 
single control file without having to concatenate the grib2 data files? 
or is there another way anyone can suggest I create my control file?

Cheers, Mike


More information about the gradsusr mailing list