[gradsusr] SREF: "Product Definition Template 9 not handled" error message with g2ctl.pl
Kevin M Levey
klevey at customweather.com
Tue Sep 27 12:18:08 EDT 2011
TUE 27SEP11: 0915PDT
Hi Wesley (and Jennifer)
Thanks for your response - and you confirmed what I suspected.
I'll have our software engineer recompile and try your suggestion. I have a question, and not sure exactly what you mean by
> If (2) is done, you could display the probability fields by putting the field that you want to display into it's own record.
Yep, I tried the netcdf option and that didn't work as you noted. Believe you me, I spent almost all day yesterday trying to get around this issue.
Thank you for your time and effort.
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
On Sep 27, 2011, at 09/27/11 - 8:18 AM, Wesley Ebisuzaki wrote:
> 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
>>
>
> _______________________________________________
> gradsusr mailing list
> gradsusr at gradsusr.org
> http://gradsusr.org/mailman/listinfo/gradsusr
More information about the gradsusr
mailing list