[gradsusr] SREF: "Product Definition Template 9 not handled" error message with g2ctl.pl

Wesley Ebisuzaki Wesley.Ebisuzaki at noaa.gov
Tue Sep 27 11:18:51 EDT 2011


Kevin,


Kevin M Levey wrote:
> MON 26SEP11: 1400PDT
>
> Hi
>
> I'm busy processing SREF GRIB2 model data, specifically: AWIPS grid Regional - CONUS - Double Resolution (Lambert Conformal - 40km) Prob Products (NCEP ....ensprod/sref.tccz.pgrb212.prob.grib2).
>
> I've had no problems using processing the SPREAD and MEAN files using gtcl.pl (ver:0.0.8.2) and wgrib2 (ver: v0.1.9.2c 3/2011 ), however, am running into issues when processing the probability files. 
>
> Firstly, g2ctl.pl throws this: 
>
> Warning: g2lib/g2clib jpeg deocde may differ from WMO standard, use use -g2clib 0 for WMO standard
>   
wgrib2 has detected a field which would be decoded differently by 
g2clib/g2lib than suggested
by the WMO standard.  Since the sref fields were created by g2lib, you 
need g2clib/g2lib to
decode the files correctly.  Similar bugs have been found in the NCAR 
and the ECMWF
software; however, I haven't put warning into the wgrib2 code (except 
for the ECMWF
chemistry table).


> and then running gribmap I get this: 
>
> Product Definition Template 9 not handled 
>   
Right now, GrADS can't handle the probability fields correctly because

   (1)  The control file can't tell the difference between: ":prob 
 >25.4" and "prob >50.8"
   (2) gribmap needs to be compiled with the latest version of g2clib.
         
If (2) is done, you could display the probability fields by putting the 
field that you want to
display into it's own record.

   Converting to netcdf is not an option until the next wgrib2 release.
  
                  Wesley

> As I understand it, wgrib2 doesn't know what to do as the table for SREF is not defined. The CTL file incorrectly shows only a few variables and none of the probability variables as listed on the NCEP site: 
>
> http://www.nco.ncep.noaa.gov/pmb/products/sref/sref.t03z.pgrb212.prob.grib2.shtml 
>
> I'm somewhat stumped here as to how to correctly process these type files and display the desired variables in GRADS. 
>
> Any help would be welcome.
>
> Thanks.
>
> Regards,
>
> Kevin M Levey, MSc in Oceans and Atmospheric Sciences (University of Cape Town)
> Vice President of Operations
> CustomWeather, Inc.
> San Francisco, California, USA
>
> "Taking the World by Storm!"
>
> http://www.customweather.com
> http://www.myforecast.com
> http://www.1stweather.com
>
> cell: 415-794-0411
> work: 415-777-3566
> email: klevey at customweather.com
>
>
> _______________________________________________
> gradsusr mailing list
> gradsusr at gradsusr.org
> http://gradsusr.org/mailman/listinfo/gradsusr
>   




More information about the gradsusr mailing list