Ryan,<br>I'm not sure what the ^M is at the end of each line of your script, but check to make sure that is not affecting how it runs. Also, note that the program asks for snddewp in the form of dewpoint in degrees C. Based on your variable SPFHprs, which I'm guessing is specific humidity at pressure levels, will not suffice. You'll have to convert that to degrees Celsius. If you make these changes and still get errors, note the line numbers of the script that are mentioned in the errors and send them to me. They will probably tell you what is going wrong.<br>
<br>Jeff Duda<br><br><div class="gmail_quote">On Fri, Jun 10, 2011 at 1:01 PM, Ryan Meiszberg <span dir="ltr"><<a href="mailto:rmeiszbe@purdue.edu">rmeiszbe@purdue.edu</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
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 temperature, but somewhere it is changing the Z dimensions and causes 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>
</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>