If statements and gridded data

Jeff Frame jwf155 at PSU.EDU
Mon Sep 26 12:05:31 EDT 2005


Hi,

I am trying to display a variable only when another variable is greater
than a certain value.  For example, I have a series of moist variables
calculated, but would only like to display them when the relative
humidity is greater than 95%.

My script looks like

if(rh > 95)
  'd Nm'
endif

I realize (I think) that I cannot do if statements with gridded data, so
is there a way for GrADS to do this??

Any help would be much appreciated.

Thanks,
Jeff


--------------------------------
Jeff Frame
Graduate Research Assistant
Ph.D. Candidate
Department of Meteorology
Penn State University
--------------------------------



More information about the gradsusr mailing list