Ryan,<br>I&#39;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&#39;m guessing is specific humidity at pressure levels, will not suffice.  You&#39;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">&lt;<a href="mailto:rmeiszbe@purdue.edu">rmeiszbe@purdue.edu</a>&gt;</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&#39;m trying to create a Skew-T diagrams using....<br>
<br>
&quot;reinit&quot;^M<br>
&quot;open WRFPRS_2011031712_00.ctl&quot;^M<br>
&quot;set t 2&quot;^M<br>
&quot;set lat 18.275&quot;^M<br>
&quot;set lon -67.189&quot;^M<br>
&quot;set lev 1000 200&quot;^M<br>
&quot;define tt=TMPprs-273&quot;^M<br>
&quot;define qq=SPFHprs*1000&quot;^M<br>
&quot;define vel=mag(UGRDprs,VGRDprs)&quot;^M<br>
&quot;define dir=atan2(VGRDprs,UGRDprs)&quot;^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-&gt; 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>