Re: NCL expression

From: Rick Grubin <grubin_at_nyahnyahspammersnyahnyah>
Date: Fri, 24 Feb 2006 10:00:37 -0700


> I want to know in NCL language whether there is .ge. expression or
> not. When I used this expression, it seems that it does not work.

NCL does support logical expressions; see:

Note that the logical expressions are much like you find in the Fortran
programming language.

As an example (simple, contrived):

     x = 5
      if (x .ge. 5) then
         print("x is .ge. 5")
         print ("x is .lt. 5")
     end if


Rick Grubin      NCAR/CISL/SCD/VETS
Visualization + Enabling Technologies             303.497.1832
ncl-talk mailing list
Received on Fri Feb 24 2006 - 10:00:37 MST

This archive was generated by hypermail 2.2.0 : Mon Feb 27 2006 - 09:24:31 MST