<html><head></head><body><div style="color:#000; background-color:#fff; font-family:HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif;font-size:16px"><div id="yui_3_16_0_1_1456948242565_2472"><span>Hi there,</span></div><div id="yui_3_16_0_1_1456948242565_2472">I am still having trouble with my code.</div><div id="yui_3_16_0_1_1456948242565_2472" dir="ltr" class="">"open NAM12Ztest.ctl"</div><div id="yui_3_16_0_1_1456948242565_2472" dir="ltr" class="">"set display color white"</div><div id="yui_3_16_0_1_1456948242565_2472" dir="ltr" class="">"clear"</div><div id="yui_3_16_0_1_1456948242565_2472" dir="ltr" class="">"set mpdset hires"</div><div id="yui_3_16_0_1_1456948242565_2472" dir="ltr" class="">"set grads off"</div><div id="yui_3_16_0_1_1456948242565_2472" dir="ltr" class="">"set lev 925"</div><div id="yui_3_16_0_1_1456948242565_2472" dir="ltr" class="">* t=1</div><div id="yui_3_16_0_1_1456948242565_2472" dir="ltr" class="">*while (t <= 2)</div><div id="yui_3_16_0_1_1456948242565_2472" dir="ltr" class="">'set t 1'</div><div id="yui_3_16_0_1_1456948242565_2472" dir="ltr" class="">'query dim'</div><div id="yui_3_16_0_1_1456948242565_2472" dir="ltr" class="">diminfo=result</div><div id="yui_3_16_0_1_1456948242565_2472" dir="ltr" class="">'run rgbset.gs'</div><div id="yui_3_16_0_1_1456948242565_2472" dir="ltr" class=""> 'set lat 36 39'</div><div id="yui_3_16_0_1_1456948242565_2472" dir="ltr" class=""> 'set lon -125 -120'</div><div id="yui_3_16_0_1_1456948242565_2472" dir="ltr" class="">'set clevs 0 0.125 0.25 0.375 0.5 0.625 0.75 0.875 1.0'</div><div id="yui_3_16_0_1_1456948242565_2472" dir="ltr" class="">'set ccols 0 4 13 3 10 7 12 8 2'</div><div id="yui_3_16_0_1_1456948242565_2472" dir="ltr" class="">'set gxout shaded'</div><div id="yui_3_16_0_1_1456948242565_2472" dir="ltr" class="">'define lcl=((TMP2m-DPT2m)*400)'</div><div id="yui_3_16_0_1_1456948242565_2472" dir="ltr" class="">'d lcl'</div><div id="yui_3_16_0_1_1456948242565_2472" dir="ltr" class="">'define tc=(TMPprs-273.15)'</div><div id="yui_3_16_0_1_1456948242565_2472" dir="ltr" class="">'define es=(6.11*exp((17.625*tc)/(tc+243.05)))'</div><div id="yui_3_16_0_1_1456948242565_2472" dir="ltr" class="">'define e=(es*RHprs/100)'</div><div id="yui_3_16_0_1_1456948242565_2472" dir="ltr" class="">'define wr=(622*e/(925-e))'</div><div id="yui_3_16_0_1_1456948242565_2472" dir="ltr" class="">'define ht=(HGTprs*3.28)'</div><div id="yui_3_16_0_1_1456948242565_2472" dir="ltr" class="">'define expo=(exp((2257*wr)/(1004*TMPprs)))'</div><div id="yui_3_16_0_1_1456948242565_2472" dir="ltr" class="">'define numer=(-2.06327*TMPprs/(6516.77)))'</div><div id="yui_3_16_0_1_1456948242565_2472" dir="ltr" class="">'define denom=(pow((RHprs/100),0.46))'</div><div id="yui_3_16_0_1_1456948242565_2472" dir="ltr" class="">'define dthetae=(expo*numer/denom)'</div><div id="yui_3_16_0_1_1456948242565_2472" dir="ltr" class="">'define b=((-6.67*dthetae-0.667)*(-0.1*VVELprs))'</div><div id="yui_3_16_0_1_1456948242565_2472" dir="ltr" class="">'define c=(0*b)'</div><div id="yui_3_16_0_1_1456948242565_2472" dir="ltr" class="">'d b'</div><div id="yui_3_16_0_1_1456948242565_2472" dir="ltr" class="">say ' here'</div><div id="yui_3_16_0_1_1456948242565_2472" dir="ltr" class="">While (ht <= lcl)</div><div id="yui_3_16_0_1_1456948242565_2472" dir="ltr" class=""> b=0</div><div id="yui_3_16_0_1_1456948242565_2472" dir="ltr" class="">Endwhile</div><div id="yui_3_16_0_1_1456948242565_2472" dir="ltr" class="">say ' here'</div><div id="yui_3_16_0_1_1456948242565_2472" dir="ltr" class="">* if (VVELprs >= 0)</div><div id="yui_3_16_0_1_1456948242565_2472" dir="ltr" class="">* return (c)</div><div id="yui_3_16_0_1_1456948242565_2472" dir="ltr" class="">* endif</div><div id="yui_3_16_0_1_1456948242565_2472" dir="ltr" class="">'set grads off'</div><div id="yui_3_16_0_1_1456948242565_2472" dir="ltr" class=""><br id="yui_3_16_0_1_1456948242565_3563" class=""></div><div id="yui_3_16_0_1_1456948242565_2472" dir="ltr" class="">"printim testing12Zcloud2.png png"</div><div id="yui_3_16_0_1_1456948242565_2472" dir="ltr" class="">* "printim testing12Zcloud.png png"</div><div id="yui_3_16_0_1_1456948242565_2472" dir="ltr" class=""><br id="yui_3_16_0_1_1456948242565_3568" class=""></div><div id="yui_3_16_0_1_1456948242565_2472" dir="ltr" class="">* t=t+1</div><div id="yui_3_16_0_1_1456948242565_2472" dir="ltr" class="">*endwhile</div><div id="yui_3_16_0_1_1456948242565_2472" dir="ltr" class="">*'clear'</div><div id="yui_3_16_0_1_1456948242565_2472" dir="ltr" class="">'quit'</div><div id="yui_3_16_0_1_1456948242565_2472" dir="ltr" class=""><br id="yui_3_16_0_1_1456948242565_3575" class=""></div><div id="yui_3_16_0_1_1456948242565_2472" dir="ltr" class="">~</div><div id="yui_3_16_0_1_1456948242565_2472" dir="ltr" class="">~</div><div dir="ltr" id="yui_3_16_0_1_1456948242565_3579" class="">Any suggestions for my if loop.</div><div></div><div id="yui_3_16_0_1_1456948242565_2473"> </div><div class="signature" id="yui_3_16_0_1_1456948242565_2474">JP Kalb</div></div></body></html>