This page should help explain that: <a href="http://www.iges.org/grads/gadoc/gradcomdgrads.html">http://www.iges.org/grads/gadoc/gradcomdgrads.html</a><br><br>Which version of Grads are you running? Are you running the standard version (just Grads) or are you running OpenGrads?<br>
<br>Jeff<br><br><div class="gmail_quote">On Mon, Jun 13, 2011 at 9:30 AM, Ryan Meiszberg <span dir="ltr"><<a href="mailto:rmeiszbe@purdue.edu">rmeiszbe@purdue.edu</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
Thanks for the help!<br>
<br>
The script now works, here is a link to the skew-T image <a href="http://web.ics.purdue.edu/%7Ermeiszbe/testskew2.png" target="_blank">http://web.ics.purdue.edu/~rmeiszbe/testskew2.png</a> .<br>
<br>
Although the script now works, I'm still somewhat confused.<br>
<br>
It seems that I can only get the diagram to plot correctly when running "grads -c filename" and not with "gradsc -c filename".<br>
What is the difference between grads and gradsc? With gradsc, it only plots the temperature and dewpoint lines and also appears to smooth the data.<br>
<font color="#888888"><br>
Ryan<br>
</font><div><div></div><div class="h5"><br>
<br>
<br>
----- Original Message -----<br>
From: Jeffrey Duda <<a href="mailto:jdduda@iastate.edu">jdduda@iastate.edu</a>><br>
To: GrADS Users Forum <<a href="mailto:gradsusr@gradsusr.org">gradsusr@gradsusr.org</a>><br>
Sent: Fri, 10 Jun 2011 14:22:05 -0400 (EDT)<br>
Subject: Re: [gradsusr] Make a Skew-T diagram from WRF output<br>
<br>
Ryan,<br>
I'm not sure what the ^M is at the end of each line of your script, but<br>
check to make sure that is not affecting how it runs. Also, note that the<br>
program asks for snddewp in the form of dewpoint in degrees C. Based on<br>
your variable SPFHprs, which I'm guessing is specific humidity at pressure<br>
levels, will not suffice. You'll have to convert that to degrees Celsius.<br>
If you make these changes and still get errors, note the line numbers of the<br>
script that are mentioned in the errors and send them to me. They will<br>
probably tell you what is going wrong.<br>
<br>
Jeff Duda<br>
<br>
On Fri, Jun 10, 2011 at 1:01 PM, Ryan Meiszberg <<a href="mailto:rmeiszbe@purdue.edu">rmeiszbe@purdue.edu</a>> wrote:<br>
<br>
> Hello,<br>
><br>
> I'm trying to create a Skew-T diagrams using....<br>
><br>
> "reinit"^M<br>
> "open WRFPRS_2011031712_00.ctl"^M<br>
> "set t 2"^M<br>
> "set lat 18.275"^M<br>
> "set lon -67.189"^M<br>
> "set lev 1000 200"^M<br>
> "define tt=TMPprs-273"^M<br>
> "define qq=SPFHprs*1000"^M<br>
> "define vel=mag(UGRDprs,VGRDprs)"^M<br>
> "define dir=atan2(VGRDprs,UGRDprs)"^M<br>
> *rc=plotskew(tt,qq,vel,dir)^M<br>
> rc=plotskew(tt,qq,-1,-1)<br>
><br>
> this is followed by <a href="http://moe.met.fsu.edu/%7Erhart/plotskew.gs" target="_blank">http://moe.met.fsu.edu/~rhart/plotskew.gs</a><br>
><br>
> The script seems to run properly for the first half and does plot<br>
> temperature, but somewhere it is changing the Z dimensions and causes<br>
> undefined regions for dewpoint and wind. (see output below)<br>
><br>
> Data Request Warning: Request beyond file limits<br>
> Data Request Warning: Request beyond file limits<br>
> Data Request Warning: Request beyond file limits<br>
> Data Request Warning: Request beyond file limits<br>
> Data Request Warning: Request beyond file limits<br>
> Data Request Warning: Request beyond file limits<br>
> Data Request Warning: Request beyond file limits<br>
> Data Request Warning: Request beyond file limits<br>
> Data Request Warning: Request beyond file limits<br>
> Data Request Warning: Request beyond file limits<br>
> Cannot contour grid - all undefined values<br>
> Drawing temperature sounding.<br>
> Drawing dewpoint sounding.<br>
> Non-numeric args to numeric operation<br>
> Error occurred on line 2237<br>
> In file <a href="http://plotskew2_new.gs" target="_blank">plotskew2_new.gs</a><br>
> Error occurred on line 2252<br>
> In file <a href="http://plotskew2_new.gs" target="_blank">plotskew2_new.gs</a><br>
> Error occurred on line 1058<br>
> In file <a href="http://plotskew2_new.gs" target="_blank">plotskew2_new.gs</a><br>
> Error occurred on line 12<br>
> In file <a href="http://plotskew2_new.gs" target="_blank">plotskew2_new.gs</a><br>
><br>
><br>
> ga-> q dims<br>
> Default file number is: 1<br>
> X is fixed Lon = -67.1913 X = 95.0002<br>
> Y is fixed Lat = 18.2755 Y = 138<br>
> Z is fixed Lev = -9.99e+33 Z = 3.33e+33<br>
> T is fixed Time = 13Z17MAR2011 T = 2<br>
><br>
> Thanks,<br>
><br>
> Ryan Meiszberg<br>
> Senoir/Atmospheric Science<br>
> Purdue University<br>
><br>
><br>
> _______________________________________________<br>
> gradsusr mailing list<br>
> <a href="mailto:gradsusr@gradsusr.org">gradsusr@gradsusr.org</a><br>
> <a href="http://gradsusr.org/mailman/listinfo/gradsusr" target="_blank">http://gradsusr.org/mailman/listinfo/gradsusr</a><br>
><br>
<br>
<br>
<br>
--<br>
Jeff Duda<br>
Iowa State University<br>
Meteorology Graduate Student<br>
3134 Agronomy Hall<br>
<a href="http://www.meteor.iastate.edu/%7Ejdduda" target="_blank">www.meteor.iastate.edu/~jdduda</a><br>
<br>
_______________________________________________<br>
gradsusr mailing list<br>
<a href="mailto:gradsusr@gradsusr.org">gradsusr@gradsusr.org</a><br>
<a href="http://gradsusr.org/mailman/listinfo/gradsusr" target="_blank">http://gradsusr.org/mailman/listinfo/gradsusr</a><br>
</div></div></blockquote></div><br><br clear="all"><br>-- <br>Jeff Duda<br>Iowa State University<br>Meteorology Graduate Student<br>3134 Agronomy Hall<br><a href="http://www.meteor.iastate.edu/~jdduda">www.meteor.iastate.edu/~jdduda</a><br>