Display GRIB data

Ben-Jei Tsuang btsuang at YAHOO.COM
Sat Jul 2 10:30:14 EDT 2005


Dear Dong:

Use the -verf option for grib2ctl.pl. For example,

grib2ctl.pl -verf era40sfc.grib > era40sfc.ctl

I use ERA40 data without any problem.The grib2ctl.pl version I use is 0.9.12.5p32s.

Ben



  hi ,everybody
  Thanks for suggestions. but I still can't process it.
  when I drop -o, the result is the same (only the first four records matched)
  and I fail to find current grib2ctl version (0.9.12.5P33K)
  Can anyone who has this version Email it to me? Thanks in advance!!!
  I meet GRIBEX by chance from internet, it says GRIBEX is the ECMWF grib de- and encoder. My data is ERA-40. I wonder if it is the ECMWF grib data that GRIB2CTL doesn't work correctly.

  Hoping for your suggestions and thanks a lot!!!


  "Becker, Bernd" <bernd.becker at METOFFICE.GOV.UK> 写道:

    Dong,

    The problem is the following:

    the grib file contains 6 hourly forecast data for each day, 00, 06, 12
    and 18 hours.
    Every day the base date changes.
    So to match all the data with one ctl file I would suggest to:

    drop "-0" from the call to gribmap , see what that does.

    Best regards,
    Bernd.

    On Wed, 2005-06-29 at 03:59, dongdong wrote:
    > Hi, Everybody
    >
    >
    >
    > I am trying to display GRIB data with GrADS. Please anyone who
    > familiar with this help me.
    >
    >
    >
    > Firstly, I use wgrib to see the data. the wgrib result is in the
    > attchment.
    >
    >
    >
    > Secondly, I use grib2ctl.pl to form the control file.
    >
    > It is:
    >
    > dset f:\grib2ctl\1998_2T.grib
    > index f:\grib2ctl\1998_2T.grib.idx
    > undef 9.999E+20
    > tit le f:\grib2ctl\1998_2T.grib
    > * produced by grib2ctl v0.9.12.5p32d
    > dtype grib 255
    > options yrev
    > ydef 73 linear -90.000000 2.5
    > xdef 144 linear 0.000000 2.500000
    > tdef 48 linear 00Z01jan1998 6hr
    > zdef 1 linear 1 1
    > vars 1
    > no2Tsfc 0 167,1,0 ** surface 2 metre temperature K
    > ENDVARS
    >
    >
    >
    > Then, I use gribmap to match them. It goes wrong.
    >
    > gribmap -0 -i -v f:\grib2ctl\1998grib.ctl
    >
    >
    >
    > gribmap: Scanning binary GRIB file(s):
    > gribmap: Opening GRIB file f:\grib2ctl\1998_2T.grib
    > !!!!! MATCH: 1 21132 255 1 0 167 1 0 103
    > 0 1
    > btim: 1998010100:00 tau: -999 dtim: 1998010100:00
    > !!!!! MATCH: 2 42264 255 1 0 167 1 0 21235
    > 0 1
    > btim: 1998010106:00 tau: -999 dtim: 1998010106:00
    > !!!!! MATCH: 3 63396 255 1 0 167 1 0 ; 42367
    > 0 1
    > btim: 1998010112:00 tau: -999 dtim: 1998010112:00
    & gt; !!!!! MATCH: 4 84528 255 1 0 167 1 0 63499
    > 0 1
    > btim: 1998010118:00 tau: -999 dtim: 1998010118:00
    > ----- Time out of bounds: 5 105660 255 1 0 167 1 0
    > 84631
    > 0 16 btim: 1998020100:00 tau: -999 dtim: 1998020100:00
    > ----- Time out of bounds: 6 126792 255 1 0 167 1 0
    > 105763
    > 0 16 btim: 1998020106:00 tau: -999 dtim: 1998020106:00
    > ----- Time out of bounds: 7 147924 255 1 0 167 1 0 &nb
    > sp; 126895
    > 0 16 btim: 1998020112:00 tau: -999 dtim: 1998020112:00
    > ----- Time out of bounds: 8 169056 255 1 0 167 1 0
    > 148027
    > 0 16 btim: 1998020118:00 tau: -999 dtim: 1998020118:00
    > ----- Time out of bounds: 9 190188 255 1 0 167 1 0
    > 169159
    > 0 16 btim: 1998030100:00 tau: -999 dtim: 1998030100:00
    > ----- Time out of bounds: 10 211320 255 1 0 167 1 0
    > 190291
    > 0 16 btim: 1998030106:00 tau: -999 dtim: 1998030106:00
    > -- More --
    >
    >
    > 
    > Only few of the data matched. what's the matter? I have been puzzled
    > by this for a long time.
    >
    > Hoping for suggestions.Thanks a lot!
    >
    >
    >
    > Sincerely Dongdong,Chen
    >
    >
    > __________________________________________________
    > 赶快注册雅虎超大容量免费邮箱?
    http://cn.mail.yahoo.com
    --
    Bernd Becker The Monthly Outlook
    Met Office FitzRoy Road Exeter Devon EX1 3PB United Kingdom
    Tel.: +44 (0) 1392 884511 Fax: +44 (0)870 900 5050
    E-mail:bernd.becker at metoffice.gov.uk - http://www.metoffice.gov.uk



------------------------------------------------------------------------------
  DO YOU YAHOO!?
  雅虎邮箱超强增值服务-2G超大空间、pop3收信、无限量邮件提醒
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://gradsusr.org/pipermail/gradsusr/attachments/20050702/3179e6c7/attachment.html 


More information about the gradsusr mailing list