Logic Question
Mark Sponsler
msponsler at COMCAST.NET
Wed Mar 25 18:54:20 EDT 2009
I need your expert assistance
The goal is to display the greater of 2 variables, comparing them grib
point by grib point onto a single image in one display operation. I
believe that 'if' and '>' can't be used in a define statement, hence the
dilemma:
Logically for each grib point I want to:
if (var1 >= var2)
d var1
else
if (var2 > var1)
d var2
endif
So I'm trying to figure out how to set up a define statement to accomplish
that.
define var3 = (logic here...)
d var3
Any thoghts would be most appreciated.
More information about the gradsusr
mailing list