Re: NCL expression

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

Hello,

> 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:
http://www.ncl.ucar.edu/Document/Language/logical.shtml

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

As an example (simple, contrived):

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

end

----
Rick Grubin      NCAR/CISL/SCD/VETS
Visualization + Enabling Technologies
grubin_at_ucar.edu             303.497.1832
_______________________________________________
ncl-talk mailing list
ncl-talk_at_ucar.edu
http://mailman.ucar.edu/mailman/listinfo/ncl-talk
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