grib2ctl

Kyozo Ueyoshi kueyoshi at GMAIL.COM
Fri Jun 26 17:33:50 EDT 2009


中澤 哲夫 様

You might want to install and try
Climate Data Operators (cdo) found at
http://www.mpimet.mpg.de/fileadmin/software/cdo/

To create a GrADS data descriptor file from a GRIB dataset use:

> cdo gradsdes2 infile.grb

This will create a descriptor file with the name ifile.ctl and the map file
ifile.gmp.
I hope this helps.
-- 
Kyozo Ueyoshi


2009/6/26 中澤 哲夫 <nakazawa at mri-jma.go.jp>

> Dear Wesley-sama,   I downloaded a file of ECMWF Interim reanalysis data
> in GRIB format, and try to get the description file for it, by
> using grib2ctl.pl. However I got an error message, as shown below.
>
>   The version is as follows and I am using on Intel iMac.  I really do not
> know what is wrong???
>
>  nakazawa% ./grib2ctl.pl
> ./grib2ctl.pl 0.9.12.5p45  wesley ebisuzaki
>  makes a Grads control file for grib files
>
>
>  nakazawa% ./grib2ctl.pl -ts6hr output.grib > output.ctl
> Use of uninitialized value in substr at ./grib2ctl.pl line 308, <FileDate>
> line 1.
> substr outside of string at ./grib2ctl.pl line 308, <FileDate> line 1.
> Use of uninitialized value in split at ./grib2ctl.pl line 309, <FileDate>
> line 1.
> Use of uninitialized value in concatenation (.) or string at ./grib2ctl.pl
> line 310, <FileDate> line 1.
> Use of uninitialized value in concatenation (.) or string at ./grib2ctl.pl
> line 310, <FileDate> line 1.
> Use of uninitialized value in concatenation (.) or string at ./grib2ctl.pl
> line 317, <FileDate> line 1.
> Use of uninitialized value in concatenation (.) or string at ./grib2ctl.pl
> line 318, <FileDate> line 1.
> Argument "RS" isn't numeric in numeric lt (<) at ./grib2ctl.pl line 352.
> argument: 1 ????
> Use of uninitialized value in string eq at ./grib2ctl.pl line 437.
> Use of uninitialized value in numeric eq (==) at ./grib2ctl.pl line 438.
> Use of uninitialized value in numeric eq (==) at ./grib2ctl.pl line 442.
> Use of uninitialized value in concatenation (.) or string at ./grib2ctl.pl
> line 476.
> Use of uninitialized value in numeric eq (==) at ./grib2ctl.pl line 481.
> Use of uninitialized value in numeric eq (==) at ./grib2ctl.pl line 481.
> Use of uninitialized value in numeric eq (==) at ./grib2ctl.pl line 481.
> Use of uninitialized value in numeric eq (==) at ./grib2ctl.pl line 481.
> Use of uninitialized value in numeric eq (==) at ./grib2ctl.pl line 481.
> Use of uninitialized value in numeric eq (==) at ./grib2ctl.pl line 481.
> Use of uninitialized value in numeric eq (==) at ./grib2ctl.pl line 481.
> Use of uninitialized value in numeric eq (==) at ./grib2ctl.pl line 481.
> Use of uninitialized value in numeric eq (==) at ./grib2ctl.pl line 481.
> Use of uninitialized value in numeric eq (==) at ./grib2ctl.pl line 481.
> Use of uninitialized value in numeric eq (==) at ./grib2ctl.pl line 481.
> Use of uninitialized value in numeric eq (==) at ./grib2ctl.pl line 481.
> Use of uninitialized value in numeric eq (==) at ./grib2ctl.pl line 481.
> Use of uninitialized value in numeric eq (==) at ./grib2ctl.pl line 481.
> Use of uninitialized value in numeric eq (==) at ./grib2ctl.pl line 481.
> Use of uninitialized value in numeric eq (==) at ./grib2ctl.pl line 481.
> Use of uninitialized value in numeric eq (==) at ./grib2ctl.pl line 481.
> Use of uninitialized value in numeric eq (==) at ./grib2ctl.pl line 481.
> Use of uninitialized value in numeric eq (==) at ./grib2ctl.pl line 481.
> Use of uninitialized value in numeric eq (==) at ./grib2ctl.pl line 481.
> Use of uninitialized value in numeric eq (==) at ./grib2ctl.pl line 481.
> Use of uninitialized value in numeric eq (==) at ./grib2ctl.pl line 481.
> Use of uninitialized value in numeric eq (==) at ./grib2ctl.pl line 481.
> Use of uninitialized value in numeric eq (==) at ./grib2ctl.pl line 481.
> *** script needs to be modified ***
> unknown user-defined grid
> Argument "RS" isn't numeric in multiplication (*) at ./grib2ctl.pl line
> 1559.
> Argument "" isn't numeric in array element at ./grib2ctl.pl line 1195.
> Argument "" isn't numeric in numeric eq (==) at ./grib2ctl.pl line 1247.
>
> ********************************************
>
> Tetsuo Nakazawa
>
>                       nakazawa at mri-jma.go.jp
>
> Typhoon Research Department
>
> Meteorological Research Institute
>
> Tel:  029-853-8671 Fax: 029-853-8735
>
> ********************************************
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://gradsusr.org/pipermail/gradsusr/attachments/20090626/b5a922d0/attachment.html 


More information about the gradsusr mailing list