[gradsusr] If else statement in grads

Muhammad Yunus Ahmad Mazuki ukm.yunus at gmail.com
Thu Sep 12 20:27:11 EDT 2013


There is no if else statement in GrADS scripts.


On Thu, Sep 12, 2013 at 4:35 PM, Jayakrishnan P.R
<prjayakrishnan at gmail.com>wrote:

> Dear Users,
>              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.
> I have to do like this
> Equation-1
> if 3<=u<=6
> and Equation-2
> if 6<=u<=26.
> My version of grads is Grads 2.0.1 in Fedora core-18.
>
> --
> Sincerely
> ***********************************************
> Jayakrishnan.P.R
> Teaching Associate (Atmospheric Science)
> Academy of Climate Change Education and Research
> Kerala Agricultural University
> Vellanikkara-680 656
>
> and also
>
> Research Fellow (Part Time)
> Department of Atmospheric Sciences
> CUSAT, Cochin-682 016
> Kerala, India.
> Mob: 09496026547
>
> ***********************************************
>
> _______________________________________________
> gradsusr mailing list
> gradsusr at gradsusr.org
> http://gradsusr.org/mailman/listinfo/gradsusr
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://gradsusr.org/pipermail/gradsusr/attachments/20130913/77a55ac1/attachment-0003.html 


More information about the gradsusr mailing list