[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: gribtocdl
- Subject: Re: gribtocdl
- Date: Thu, 10 Apr 2003 13:13:38 -0600 (MDT)
On Wed, 9 Apr 2003, Werner Frerichs wrote:
> Dear Robb,
> I try to convert a Gribfile to NetCDF with gribtocdl and gribtonc but it
> doesnot work, because gribtocdl produce inconsitent values for lon. The
> Grid is 51x51 by 0.2 degree stepps. The Grid run from 5 to 15 lon and 50
> to 60 lat.
>
> Gribtocdl say there is a Grid from 51x51 by 0.2 degree step. But the
> Grid run from 5 to 15.20 lon and not from 5.00 to 15.00.
Werner,
Thanks for bringing this problem to my attention, it will be fixed in the
next release. Until then, if you delete the 15.20 entry from the lon list
then gribtonc will work fine because it will only have 51 entries. I
tested this using your cdl and grib file. gribtocdl does have it's
problems, in my notes I mention that it creates a cdl as a starting point
that usually needs some modifications.
Thanks,
Robb...
>
> I used decoders-2.4.4.tar.Z from ftp://ftp.unidata.ucar.edu/pub/decoders
>
> Output wgrib:
>
> wetterwelt@karibik:/winnt/geo > wgrib -V GEWWK_02_u_12-1.grb
> rec 1:0:date 2003040812 UGRD kpds5=23 kpds6=1 kpds7=0 levels=(0,0)
> grid=255 sfc 12hr fcst:
> UGRD=Wind u-component [m/s]
> timerange 0 P1 12 P2 0 TimeU 1 nx 51 ny 51 GDS grid 0 num_in_ave 0
> missing 0
> center 99 subcenter 0 process 255 Table 200
> latlon: lat 50.000000 to 60.000000 by 0.200000 nxny 2601
> long 5.000000 to 15.000000 by 0.200000, (51 x 51) scan 64 mode
> 128 bdsgrid 1
> min/max data -5.87854 3.21521 num bits 12 BDS_Ref -5.87854 DecScale
> 0 BinScale -8
>
>
> Have you an answer, why gribtocdl done wrong ? I attached the CDL- and
> Gribfile.
>
> Thanks Werner
>
> --
> #------------------------------------------------------------------------------#
> Werner Frerichs
> WetterWelt
> Schauenburger Str. 116 , D-24118 Kiel / Germany
> Tel: +49 431 5606670
> Fax: +49 431 5606675
> E-mail: address@hidden
> #------------------------------------------------------------------------------#
>
>
===============================================================================
Robb Kambic Unidata Program Center
Software Engineer III Univ. Corp for Atmospheric Research
address@hidden WWW: http://www.unidata.ucar.edu/
===============================================================================