Thank you very much for replying Mr. Jeff. <div><br></div><div>I have added the lines as stated. In the output all of them are showing numeric values only. So I cannot make out what the problem is. Could you or anyone in the grads user list help me out further. </div>
<div><br></div><div>This the output I am getting at the terminal when I am running the <a href="http://skew.gs">skew.gs</a> with the changes you suggested. </div><div><br></div><div><div>ga-> <a href="http://skew.gs">skew.gs</a> </div>
<div>No hardcopy metafile open</div><div>All files closed; all defined objects released;</div><div>All GrADS attributes have been reinitialized</div><div>Initial Time is 00Z08JAN2007</div><div>Create gif images as well (1=yes ; 0=no)</div>
<div>0</div><div>Please enter coordinated for sounding</div><div> </div><div>Latitude values between: 4.96654 and 50.0419</div><div>Enter Latitude</div><div>33</div><div> </div><div>Longitude values between: 48.3967 and 105.603</div>
<div>Enter Longitude</div><div>78</div><div> </div><div>Overlay two time periods 1=yes ; 0=no</div><div>0</div><div> </div><div>Please enter time to plot</div><div>Available times: 1 to 17</div><div>5</div><div>Drawing temperature sounding.</div>
<div>Drawing dewpoint sounding.</div><div>286.893</div><div>43.385364499893</div><div>1573660000</div><div>Non-numeric args to numeric operation</div><div> Error occurred on line 2430</div><div> In file <a href="http://skew.gs">skew.gs</a></div>
<div> Error occurred on line 1106</div><div> In file <a href="http://skew.gs">skew.gs</a></div><div> Error occurred on line 69</div><div> In file <a href="http://skew.gs">skew.gs</a></div></div><div><br></div><div>I am attaching the <a href="http://skew.gs">skew.gs</a> file with the changes added. Please let me know how I can further correct the error. Thank you for the help in advance.</div>
<div><br></div><div>With regards,</div><div><div id=":24" class="ii gt adP adO" style="font-size:13px;direction:ltr;margin:5px 15px 0px 0px;padding-bottom:5px;color:rgb(34,34,34);font-family:arial,sans-serif;background-color:rgb(255,255,255)">
<div id=":23"><div>Amulya Chevuturi</div><div>Junior Research Fellow (Ph.D. Student)</div><div>Jawaharlal Nehru University</div><div>New Delhi, India</div><div class="yj6qo"></div></div></div><div id=":7" class="hq gt" style="margin:15px 0px;clear:both;font-size:13px;color:rgb(34,34,34);font-family:arial,sans-serif;background-color:rgb(255,255,255)">
</div></div><div><br><div class="gmail_quote">On Tue, Dec 18, 2012 at 1:06 AM, Jeff Duda <span dir="ltr"><<a href="mailto:jeffduda319@gmail.com" target="_blank">jeffduda319@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Amulya,<br>I looked through your script and I can't find the cause of the error. I've used this script on WRF-ARW output myself before (also postprocessed using ARWpost). I remember having some issues getting the script to run properly the first time, but I got around that somehow. The errors indicate that in this line<br>
<br>thetae=theta*exp((3.376/TLcl-0.00254)*mix*1.0+0.00081*mix)<br><br>one of theta, TLcl, or mix is not being computed correctly. I'm not sure which of those it is, although you could put SAY statements just above that line for each of the variables to see which it is. What I mean is, insert these lines<br>
say theta<br>say TLcl<br>say mix<br>Above the line I copied above. Then see what values get spit out. One of those is either a NaN of some sort or has characters where there should be numbers.<br><br><br>Jeff Duda<br><br>
<div class="gmail_quote"><div><div class="h5">On Mon, Dec 17, 2012 at 12:56 AM, Amulya Chevuturi <span dir="ltr"><<a href="mailto:amulya.chevuturi@gmail.com" target="_blank">amulya.chevuturi@gmail.com</a>></span> wrote:<br>
</div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div class="h5">
<span style="color:rgb(34,34,34);font-size:13px;font-family:arial,sans-serif">Dear GrADS users,</span><div style="color:rgb(34,34,34);font-size:13px;font-family:arial,sans-serif">
<br></div><div style="color:rgb(34,34,34);font-size:13px;font-family:arial,sans-serif">I have recently tried to use the <a href="http://skew.gs/" style="color:rgb(17,85,204)" target="_blank">skew.gs</a> script to plot Skew-T/Log-P graphs for my WRF (ARW) output. I use ARWPost as my post processing software. This is the problem that is cropping up. </div>
<div style="color:rgb(34,34,34);font-size:13px;font-family:arial,sans-serif"><br></div><div style="color:rgb(34,34,34);font-size:13px;font-family:arial,sans-serif">
<div>ga-> <a href="http://skew.gs/" style="color:rgb(17,85,204)" target="_blank">skew.gs</a> </div><div>No hardcopy metafile open</div><div>All files closed; all defined objects released;</div><div>All GrADS attributes have been reinitialized</div>
<div>Initial Time is 00Z08JAN2007</div><div>Create gif images as well (1=yes ; 0=no)</div><div>0</div><div>Please enter coordinated for sounding</div><div> </div><div>Latitude values between: 4.96654 and 50.0419</div><div>
Enter Latitude</div><div>33</div><div> </div><div>Longitude values between: 48.3967 and 105.603</div><div>Enter Longitude</div><div>78</div><div> </div><div>Overlay two time periods 1=yes ; 0=no</div><div>0</div><div> </div>
<div>Please enter time to plot</div><div>Available times: 1 to 17</div><div>5</div><div>Drawing temperature sounding.</div><div>Drawing dewpoint sounding.</div><div>Non-numeric args to numeric operation</div><div> Error occurred on line 2427</div>
<div> In file <a href="http://skew.gs/" style="color:rgb(17,85,204)" target="_blank">skew.gs</a></div><div> Error occurred on line 1106</div><div> In file <a href="http://skew.gs/" style="color:rgb(17,85,204)" target="_blank">skew.gs</a></div>
<div> Error occurred on line 69</div><div> In file <a href="http://skew.gs/" style="color:rgb(17,85,204)" target="_blank">skew.gs</a></div></div><div style="color:rgb(34,34,34);font-size:13px;font-family:arial,sans-serif">
<br></div><div style="color:rgb(34,34,34);font-size:13px;font-family:arial,sans-serif">Though I think it is plotting the temperature and dewpoint. The rest of the parameters in the line 69 is not being plotted due to some errors in parameters. I am attaching my ctl file and <a href="http://skew.gs/" style="color:rgb(17,85,204)" target="_blank">skew.gs</a>. Please let me know how to correct the problem.</div>
<div style="color:rgb(34,34,34);font-size:13px;font-family:arial,sans-serif"><br></div><div style="color:rgb(34,34,34);font-size:13px;font-family:arial,sans-serif">
Thanking you in advance. </div><div style="color:rgb(34,34,34);font-size:13px;font-family:arial,sans-serif"><br></div><div style="color:rgb(34,34,34);font-size:13px;font-family:arial,sans-serif">
With regards,</div><div style="color:rgb(34,34,34);font-size:13px;font-family:arial,sans-serif">Amulya Chevuturi</div><div style="color:rgb(34,34,34);font-size:13px;font-family:arial,sans-serif">
Junior Research Fellow (Ph.D. Student)</div><div style="color:rgb(34,34,34);font-size:13px;font-family:arial,sans-serif">Jawaharlal Nehru University</div><div style="color:rgb(34,34,34);font-size:13px;font-family:arial,sans-serif">
New Delhi, India</div>
<br></div></div>_______________________________________________<br>
gradsusr mailing list<br>
<a href="mailto:gradsusr@gradsusr.org" target="_blank">gradsusr@gradsusr.org</a><br>
<a href="http://gradsusr.org/mailman/listinfo/gradsusr" target="_blank">http://gradsusr.org/mailman/listinfo/gradsusr</a><br>
<br></blockquote></div><span class="HOEnZb"><font color="#888888"><br><br clear="all"><br>-- <br>Jeff Duda<br>Graduate research assistant<br>University of Oklahoma School of Meteorology<br>Center for Analysis and Prediction of Storms<br>
<br>
</font></span><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></blockquote></div><br></div>