Help to read grib files
oluseun idowu
oluseun_idowu at YAHOO.COM
Wed Apr 12 03:23:52 EDT 2006
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 gribmap 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
---------------------------------
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://gradsusr.org/pipermail/gradsusr/attachments/20060412/beebba7d/attachment.html
-------------- next part --------------
A non-text attachment was scrubbed...
Name: sample_grib_file.grib.gz
Type: application/x-gzip
Size: 270220 bytes
Desc: 3238023339-sample_grib_file.grib.gz
Url : http://gradsusr.org/pipermail/gradsusr/attachments/20060412/beebba7d/attachment.gz
More information about the gradsusr
mailing list