Display GRIB data
Becker, Bernd
bernd.becker at METOFFICE.GOV.UK
Thu Jun 30 04:29:45 EDT 2005
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
> title 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
> !!!!! 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
More information about the gradsusr
mailing list