Help to read grib files

Henrique Barbosa hmjbarbosa at GMAIL.COM
Wed Apr 12 08:59:44 EDT 2006


Dear Oluseun,

Verify the invalid descriptor. If you have 432 X-values, your X-step
cannot be -32.767... that would mean almost going 40 times around
the globe!

Please check the grads help pages:

http://grads.iges.org/grads/gadoc/descriptorfile.html

There you will learn howto properly setup XDEF

Cheers,
Henrique


On 4/12/06, oluseun idowu <oluseun_idowu at yahoo.com> wrote:
>
>  Dear Diane,
> Many thanks for your help. I gave the command
>
> [oluseun at b129pc124 ~]$ gribmap -v -i sample_grib_file.ctl
>
> This is the error message
>
> Open Error: Missing or invalid dimension increment value
>  --> The invalid description file record is:
>  --> xdef 432 linear 340.000000 -32.767000
>
>
>  The data file was not opened.
> File name is: sample_grib_file.ctl
>
> Anyway as you suggested, I attach the file to this email and again, the data
> was received from UK Met Office
> from their limited area model
>
> I will expect your reply. Thanks once more!
>
> Idowu
>
> Below is the description of the file as given to me from UK Met Office.
> ----------------------------------------------------------------------
> OK, I've attached a sample grib file to this e-mail. It contains the
> level-1 model temperature field at T+48 and T+54. Once you confirm you
> can read this I'll put the full data-set for one forecast onto our ftp
> server: email.metoffice.gov.uk. This will be ~660Mb of data. We can get
> these file-sizes down if you can work with data over a smaller
> geographical area or you don't need all the vertical levels.
>
>  Luke.
> ----------------------------------------------------------------------------------------------------------------------------------------------------
>
>
>
> Diane Stokes <Diane.Stokes at NOAA.GOV> wrote:
>
>  Dear Idowu,
>
> That's just a warning message. It's possible that reasonable variable
> names were chosen for your data. Did you try to run gribmap on the new
> ctl file yet?
>
>  gribmap -v -i sample_grib_file.grib.ctl
> The "-v" (verbose) option is important as it will tell you which records
> matched. Other options may be necessary as well, but the above is a start.
>
> If g ribmap does not work, please post your control file to the list.
>
> That may help us to help you.
>
> Also, where did you get your sample grib file, sample_grib_file.grib?
>
>  Diane
>
>
> oluseun idowu wrote:
> > Dear Diane,
> > Thanks for your help. I can find the grib2ctl.pl in my system now though
> > under grib_files folder. The next problem is that in an attempt to make
> > grib.ctl file the error message below was reported. Any further help?
> >
> > [oluseun at b129pc124 ~]$ ./grib_files/grib2ctl.pl sample_grib_file.grib
> > >sample_grib_file.grib.ctl
> >
> > Undefined parameter table (center 74-2 table 160), using NCEP-opn
> >
> > Undefined parameter table (center 74-2 table 160), using NCEP-opn
> >
> >
> >
> >
> > */Diane Stokes /* wrote:
> >
> > The web address is actually:
> >
> >
> http://www.cpc.ncep.noaa.gov/products/wesley/grib2ctl.html
> >
> > There's some useful information there in addition to the link to the
> > script.
> >
> > Diane
> >
> > See Hai Ooi wrote:
> > > Dear Oluseun Idowu,
> > >
> > > The grib2 ctl.pl is available in the website you
> > > indicated
> > > [http://www.cpc.noaa.gov/products/wesley/grib2ctl.html]
> > > Anyway, hope the attached perl file can help you to
> > > resolve your problem. If in doubt, please refer to the
> > > usage document in the above-mentioned webpage.
> > >
> > > Best regards.
> > >
> > > Ooi
> > >
> > >
> > >
> > > Send instant messages to your online friends
> > http://uk.messenger.yahoo.com
> >
> >
> >
> ------------------------------------------------------------------------
> > To help you stay safe and secure online, we've developed the all new
> > *Yahoo! Security Centre*
> > .
> >
>
> --
> Diane Stokes
> Environmental Modeling Center
> National Weather Service/NOAA
>
>
>
>
>
>  ________________________________
>  Yahoo! Cars NEW - sell your car and browse thousands of new and used cars
> online search now ________________________________
>
>
>
>



More information about the gradsusr mailing list