[gradsusr] Getting SREF Probability Variables To Plot In GrADS

Jennifer Adams jma at cola.iges.org
Wed Jun 4 18:36:25 EDT 2014


Hi, Aaron -- 
You don't need the alias syntax with grib data. The var1.1 syntax is just a dummy variable name that is designed to be unique to the record. You can use use "p1" instead of "var1.1=>p1". 

What is the output from gribmap -v? 
--Jennifer


On Jun 4, 2014, at 6:25 PM, Perry, Aaron @ LSC wrote:

> I took a look at the suggestion documentation and ran grib2scan. Below is a copy/paste link of the output. After reviewing the output, I was able to come up with this modified control file:
> 
> grib2scan Output: http://paste2.org/zE92be26
> 
> Modified Control File (Not working):
> 
> dset /home/aaron/grads/data/sref_prob/20140604/15Z/sref_prob.20140604.15z.grib2
> index /home/aaron/grads/data/sref_prob/20140604/15Z/sref_prob.20140604.15z.grib2.idx
> undef 9.999E+20
> title /home/aaron/grads/data/sref_prob/20140604/15Z/sref_prob.20140604.15z.grib2
> * produced by g2ctl v0.0.9
> * command line options: /home/aaron/grads/data/sref_prob/20140604/15Z/sref_prob.20140604.15z.grib2
> * griddef=1:0:(697 x 553):grid_template=30:winds(grid): Lambert Conformal: (697 x 553) input WE:SN output WE:SN res 8 Lat1 1.000000 Lon1 214.500000 LoV 253.000000 LatD 50.000000 Latin1 50.000000 Latin2 50.000000 LatSP 0.000000 LonSP 0.000000 North Po
> dtype grib2
> pdef 697 553 lccr 1.000000 214.500000 1 1 50.000000 50.000000 253.000000 16232.000000 16232.000000
> xdef 1415 linear 148.637041 0.147586114443721
> ydef 573 linear 0.896436 0.147563636363636
> tdef 10 linear 15Z04jun2014 6hr
> zdef 1 linear 1 1
> vars 7
> var1.1=>p1 0,1,0 a1,1.27 0,1,8,1 Probability of event above 1.27
> var2.1=>p2 0,1,0 a1,12.7 0,1,8,1 Probability of event above 12.7
> var3.1=>p3 0,1,0 a1,0.25 0,1,8,1 Probability of event above 0.25
> var4.1=>p4 0,1,0 a1,38.1 0,1,8,1 Probability of event above 38.1
> var5.1=>p5 0,1,0 a1,2.54 0,1,8,1 Probability of event above 2.54
> var6.1=>p6 0,1,0 a1,101.6 0,1,8,1 Probability of event above 101.6
> var7.1=>p7 0,1,0 a1,12.7 0,1,8,1 Probability of event above 12.7
> ENDVARS
> 
> Unfortunately, I am still receiving the "Cannot Contour Grid/Data Request Warning" errors. None of the variables will plot. 
> 
> 
> 
> Onward and Upward,
> 
> Aaron D. Perry
> Atmospheric Sciences
> Lyndon State College
> Class of 2016
> Boston, MA 
> Twitter: @AaronPerryLSC
> Mobile: 617-780-4312
> From: gradsusr-bounces at gradsusr.org [gradsusr-bounces at gradsusr.org] on behalf of Jennifer Adams [jma at cola.iges.org]
> Sent: Wednesday, June 04, 2014 11:31 AM
> To: GrADS Users Forum
> Subject: Re: [gradsusr] Getting SREF Probability Variables To Plot In GrADS
> 
> Aaron, 
> Have a look at the doc page on descriptor file elements, under 'vars' and then 'additional codes'.  grib2scan in verbose mode should give you a suitable entry for the descriptor file. 
> --Jennifer
> 
> 
> 
> On Jun 4, 2014, at 8:50 AM, Perry, Aaron @ LSC wrote:
> 
>> Good Morning All,
>> 
>> I've followed the steps that were outlined in this post (http://gradsusr.org/pipermail/gradsusr/2011-November/031529.html) a while back regarding getting SREF probabilities to plot in GrADS. I keep getting the "Cannot contour grid/data request" error and I was wondering if someone might know of solution.
>> 
>> 
>> 
>> Onward and Upward,
>> 
>> Aaron D. Perry
>> Atmospheric Sciences
>> Lyndon State College
>> Class of 2016
>> Boston, MA 
>> Twitter: @AaronPerryLSC
>> Mobile: 617-780-4312
>> _______________________________________________
>> gradsusr mailing list
>> gradsusr at gradsusr.org
>> http://gradsusr.org/mailman/listinfo/gradsusr
> 
> --
> Jennifer M. Adams
> Center for Ocean-Land-Atmosphere Studies (COLA)
> 111 Research Hall, Mail Stop 2B3
> George Mason University
> 4400 University Drive
> Fairfax, VA 22030 
> 
> 
> 
> 
> 
> _______________________________________________
> gradsusr mailing list
> gradsusr at gradsusr.org
> http://gradsusr.org/mailman/listinfo/gradsusr

--
Jennifer M. Adams
Center for Ocean-Land-Atmosphere Studies (COLA)
111 Research Hall, Mail Stop 2B3
George Mason University
4400 University Drive
Fairfax, VA 22030 





-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://gradsusr.org/pipermail/gradsusr/attachments/20140604/17e0a771/attachment-0001.html 


More information about the gradsusr mailing list