maximum and minimum

From: Xiaoyan Ma <xiaoyan.ma_at_nyahnyahspammersnyahnyah>
Date: Fri Oct 21 2011 - 15:04:53 MDT

I want to set a minimum in NCL if some values of an array are out of normal range. I was trying to use the conditional command as below, but failed. The message shows that "fatal:Conditional statements (if and do while) require SCALAR logical values, see all and any functions
fatal:Execute: Error occurred at or near line 31 in file". how to set minimum in NCL? thanks

a= new( (/46,72/), float)
if ( then
a = 0.
end if

ncl-talk mailing list
List instructions, subscriber options, unsubscribe:
Received on Fri Oct 21 15:04:58 2011

This archive was generated by hypermail 2.1.8 : Mon Oct 24 2011 - 09:29:35 MDT