NAM grib2 error

Oliver König oliver at WINDFINDER.COM
Tue Mar 11 13:03:18 EDT 2008


hi Wesley,
thanks for the feedback. I just had to get the latest versions of wgrib2 and
g2ctl and that was it ;-) Didn't even have to edit gamap.c. By the way, which
projection should be used for the NAM model?

set mproj ???

Regards,
Oliver

On Tuesday 11 March 2008 15:59:02 Wesley Ebisuzaki wrote:
> Oliver,
>
>     Works for me.  You need to get the latest version of wgrib, v1.7.1
> and the latest version of g2ctl (0.0.3e).
> Then I had to patch gamap.c.
>
>           Wesley
>
>
>    //wne      if (gfld->igdtmpl[8] != pfi->dnum[1]) {
>       if (gfld->igdtmpl[8] != ysize) {
>         if (verb) printf ("y dimensions are not equal: nx=%d
> xsize=%d",gfld->igdtmpl[8],ysize);
>         return(1);
>       }
>
> Oliver König wrote:
> > Hello Grads users,
> >  I have grads v2.0.a1 and grib2 v1.6.1. Processing GFS model grib2 files
> > works fine. I tried to process NAM (North American Mesocale grib2 model
> > data from NCEP, 12 Km Lambert Conformal).
> >
> > This is the error I get when creating the control file for the NAM grib2
> > file:
> >
> > $ wget
> > ftp://ftpprd.ncep.noaa.gov/pub/data/nccf/com/nam/prod/nam.20080310/nam.t0
> >0z.awip1212.tm00.grib2
> >
> > $ g2ctl.pl -verf nam.t00z.awip1212.tm00.grib2 > nam2.ctl
> > Use of uninitialized value in multiplication (*) at /usr/bin/g2ctl.pl
> > line 578.
> > Use of uninitialized value in multiplication (*) at /usr/bin/g2ctl.pl
> > line 579.
> > Use of uninitialized value in concatenation (.) or string at
> > /usr/bin/g2ctl.pl line 581.
> > Use of uninitialized value in concatenation (.) or string at
> > /usr/bin/g2ctl.pl line 581.
> > Use of uninitialized value in concatenation (.) or string at
> > /usr/bin/g2ctl.pl line 581.
> > Use of uninitialized value in concatenation (.) or string at
> > /usr/bin/g2ctl.pl line 581.
> > Use of uninitialized value in concatenation (.) or string at
> > /usr/bin/g2ctl.pl line 581.
> > Use of uninitialized value in concatenation (.) or string at
> > /usr/bin/g2ctl.pl line 581.
> > Use of uninitialized value in concatenation (.) or string at
> > /usr/bin/g2ctl.pl line 581.
> > Use of uninitialized value in addition (+) at /usr/bin/g2ctl.pl line 985.
> > Use of uninitialized value in concatenation (.) or string at
> > /usr/bin/g2ctl.pl line 986.
> > Use of uninitialized value in concatenation (.) or string at
> > /usr/bin/g2ctl.pl line 986.
> > Use of uninitialized value in concatenation (.) or string at
> > /usr/bin/g2ctl.pl line 986.
> > Use of uninitialized value in concatenation (.) or string at
> > /usr/bin/g2ctl.pl line 986.
> > Use of uninitialized value in concatenation (.) or string at
> > /usr/bin/g2ctl.pl line 986.
> >
> > *** FATAL ERROR: too many grib files .. 2nd=1 ***
> >
> > Use of uninitialized value in concatenation (.) or string at
> > /usr/bin/g2ctl.pl line 992.
> > Use of uninitialized value in concatenation (.) or string at
> > /usr/bin/g2ctl.pl line 996.
> > Use of uninitialized value in concatenation (.) or string at
> > /usr/bin/g2ctl.pl line 996.
> > Use of uninitialized value in concatenation (.) or string at
> > /usr/bin/g2ctl.pl line 1000.
> > Use of uninitialized value in concatenation (.) or string at
> > /usr/bin/g2ctl.pl line 1004.
> > Use of uninitialized value in numeric gt (>) at /usr/bin/g2ctl.pl line
> > 1013. Use of uninitialized value in numeric gt (>) at /usr/bin/g2ctl.pl
> > line 1013. Use of uninitialized value in numeric gt (>) at
> > /usr/bin/g2ctl.pl line 1014. Use of uninitialized value in numeric gt (>)
> > at /usr/bin/g2ctl.pl line 1014. Use of uninitialized value in numeric lt
> > (<) at /usr/bin/g2ctl.pl line 1017. Use of uninitialized value in numeric
> > lt (<) at /usr/bin/g2ctl.pl line 1017. Use of uninitialized value in
> > numeric lt (<) at /usr/bin/g2ctl.pl line 1018. Use of uninitialized value
> > in numeric lt (<) at /usr/bin/g2ctl.pl line 1018. Use of uninitialized
> > value in numeric gt (>) at /usr/bin/g2ctl.pl line 1020. Use of
> > uninitialized value in numeric gt (>) at /usr/bin/g2ctl.pl line 1020. Use
> > of uninitialized value in numeric gt (>) at /usr/bin/g2ctl.pl line 1021.
> > Use of uninitialized value in numeric gt (>) at /usr/bin/g2ctl.pl line
> > 1021. Use of uninitialized value in numeric gt (>) at /usr/bin/g2ctl.pl
> > line 1023. Use of uninitialized value in numeric gt (>) at
> > /usr/bin/g2ctl.pl line 1023. Use of uninitialized value in numeric gt (>)
> > at /usr/bin/g2ctl.pl line 1024. Use of uninitialized value in numeric gt
> > (>) at /usr/bin/g2ctl.pl line 1024. Use of uninitialized value in numeric
> > gt (>) at /usr/bin/g2ctl.pl line 1027. Use of uninitialized value in
> > numeric gt (>) at /usr/bin/g2ctl.pl line 1027. Use of uninitialized value
> > in numeric lt (<) at /usr/bin/g2ctl.pl line 1029. Use of uninitialized
> > value in numeric lt (<) at /usr/bin/g2ctl.pl line 1029. Use of
> > uninitialized value in numeric gt (>) at /usr/bin/g2ctl.pl line 1031. Use
> > of uninitialized value in multiplication (*) at /usr/bin/g2ctl.pl line
> > 585.
> > Use of uninitialized value in subtraction (-) at /usr/bin/g2ctl.pl line
> > 588. Use of uninitialized value in subtraction (-) at /usr/bin/g2ctl.pl
> > line 588. Illegal division by zero at /usr/bin/g2ctl.pl line 588.
> >
> > Any ideas? Thanks!
> > --
> > Oliver



More information about the gradsusr mailing list