<div>Hello,</div>
<div> </div>
<div>you may try the following approach:</div>
<div><br>if(u>=3&u<=6);Equation-1;endif<br>if(u>=6&u<=26);Equation-2;endif<br></div>
<div>Best regards,</div>
<div> </div>
<div>EB<br></div>
<div class="gmail_quote">On Thu, Sep 12, 2013 at 4:35 AM, Jayakrishnan P.R <span dir="ltr"><<a href="mailto:prjayakrishnan@gmail.com" target="_blank">prjayakrishnan@gmail.com</a>></span> wrote:<br>
<blockquote style="BORDER-LEFT:#ccc 1px solid;MARGIN:0px 0px 0px 0.8ex;PADDING-LEFT:1ex" class="gmail_quote">
<div dir="ltr">
<div>
<div>
<div>
<div>
<div>
<div>
<div>Dear Users,<br></div> I have to compute the drag coefficient from Large and Pond equation using grads. My main concern is that does if else statement effective in grads. Otherwise I will have to write a FORTRAN program and write the outputs and read using grads. Kindly clarify this. <br>
</div>I have to do like this<br></div>Equation-1<br></div>if 3<=u<=6<br></div>and Equation-2 <br></div>if 6<=u<=26.<br></div>My version of grads is Grads 2.0.1 in Fedora core-18.<br>
<div>
<div>
<div>
<div>
<div>
<div>
<div>
<div><br>-- <br>Sincerely<br>***********************************************<br>Jayakrishnan.P.R<br>Teaching Associate (Atmospheric Science)<br>Academy of Climate Change Education and Research<br>Kerala Agricultural University<br>
Vellanikkara-680 656<br><br>and also<br><br>Research Fellow (Part Time)<br>Department of Atmospheric Sciences<br>CUSAT, Cochin-682 016<br>Kerala, India.<br>Mob: 09496026547<br><br>*********************************************** </div>
</div></div></div></div></div></div></div></div><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><br clear="all"><br>-- <br>
<div>-----------------------------------------------------------------------------------</div>
<div>Endalkachew Bekele</div>
<div>NOAA Center for Weather and Climate Prediction / CPC International Desks</div>
<div>5830 University Research Court, Rm 3149<br>College Park, Maryland 20740<br>Tel: (301) 683-3459</div>
<div>e-mail: <a href="mailto:endalkachew.bekele@noaa.gov" target="_blank">endalkachew.bekele@noaa.gov</a></div>
<div> </div>
<div> </div>