[gradsusr] Wgrib2 / g2ctl / gribmap

Andrew Revering andy at f5data.com
Thu Jan 19 16:28:07 EST 2012


I'm using version 0.0.8.4 of g2ctl and 0.1.9.1 of wgrib2, and gribmap for
grads 2.0.1.oga.1
An example grib2 file I'm having trouble with can be downloaded here:
http://www.f5maps.com/ruc.grib

... which is a renamed copy of the NCEP server file for the RUC model found
at:
ftp://ftp.ncep.noaa.gov/pub/data/nccf/com/ruc/prod

naming convention: ruc2.tccz.pgrb20xxx.grib2
AWIPS - Regional - CONUS  (Lambert Conformal)(20-km Resolution)


Andrew Revering
Convective Development, Inc.
http://www.convectivedevelopment.com/


On Thu, Jan 19, 2012 at 8:58 AM, Wesley Ebisuzaki <wesley.ebisuzaki at noaa.gov
> wrote:

> Andy,
>
>     I just had a look at the RUC files on the NCEP machine and I didn't
> see any
> problems.  (OTOH, I didn't test all the files and you never mentioned
> which file
> was causing the problem.)
>
>     Given that you have no problems with windows, makes me suspect that you
> have an old wgrib2 or an ancient g2ctl.
>
> >>  *Warning: g2lib/g2clib jpeg deocde may differ from WMO standard, use
> use -g2clib 0 for WMO standardg2*
>
> You can ignore this error message as you are using an NCEP file.  The "g2"
> typo indicates
> an older wgrib2.
>
> *>> Use of uninitialized value $east in addition (+) at g2ctl line 619.*
>
> This error indicates the g2ctl is incompatible with the installed wgrib2.
>
>         Wesley
>
>
>
> On Wed, Jan 18, 2012 at 8:12 PM, Andrew Revering <andy at f5data.com> wrote:
>
>> I'm having a problem with gribmap, g2ctl or potentially wgrib2 when
>> trying to create my CTL and IDX files.
>>
>> I'm just installing this on a new Linux machine (CentOs6 64 bit) and I
>> create the CTL file with the command:
>>
>> g2ctl ruc.grib > ruc.ctl
>>
>> I get the error:
>>
>> *Warning: g2lib/g2clib jpeg deocde may differ from WMO standard, use use
>> -g2clib 0 for WMO standardg2*
>> *Use of uninitialized value $east in addition (+) at g2ctl line 619.*
>> *Use of uninitialized value $west in addition (+) at g2ctl line 619.*
>> *Use of uninitialized value $east in addition (+) at g2ctl line 620.*
>> *Use of uninitialized value $west in addition (+) at g2ctl line 620.*
>> *Use of uninitialized value $west in subtraction (-) at g2ctl line 635.*
>> *Use of uninitialized value $east in subtraction (-) at g2ctl line 635.*
>> *Use of uninitialized value $west in numeric eq (==) at g2ctl line 636.*
>> *Use of uninitialized value $west in concatenation (.) or string at
>> g2ctl line 639.*
>> *Use of uninitialized value $south in subtraction (-) at g2ctl line 640.*
>> *Use of uninitialized value $north in subtraction (-) at g2ctl line 640.*
>> *Use of uninitialized value $south in concatenation (.) or string at
>> g2ctl line 641.*
>>
>> The CTL file did get created and looks alright... but then when I run
>> Gribmap ...
>>
>> *Open Error:  Missing or invalid dimension increment value*
>> *  --> The invalid description file record is:*
>> *  --> xdef 1 linear  0.192425685762171*
>>  *  The data file was not opened.*
>>
>> So I'm not sure if its a problem with Gribmap, g2ctl or Wgrib2....nor am
>> I sure how to resolve it.
>> I use the same exact file on a windows machine using the same process to
>> create the CTL and IDX files without a problem, so I assume it has to be
>> machine specific with the installation or something.
>>
>> Thoughts?
>>
>> Andy
>>
>> _______________________________________________
>> gradsusr mailing list
>> gradsusr at gradsusr.org
>> http://gradsusr.org/mailman/listinfo/gradsusr
>>
>>
>
> _______________________________________________
> gradsusr mailing list
> gradsusr at gradsusr.org
> http://gradsusr.org/mailman/listinfo/gradsusr
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://gradsusr.org/pipermail/gradsusr/attachments/20120119/fcab8af4/attachment-0003.html 


More information about the gradsusr mailing list