Re: residual function

From: Dennis Shea (shea AT XXXXXX)
Date: Thu May 13 2004 - 15:16:33 MDT


>
>I have a Fortran code like this:
>if(mod(CurrentYear,4)==0)then......................
>
>Now I want to know how to do the same thing in NCL, I cant find any built-in
>function can caculate the residual.

It is done via an expression:

 if (CurrentYear%4 .eq.0) then
 
 
see: http://ngwww.ucar.edu/ngdoc/ng4.1/ref/ncl/Overview.html

specifically: Types of expressions

_______________________________________________
ncl-talk mailing list
ncl-talk@ucar.edu
http://mailman.ucar.edu/mailman/listinfo/ncl-talk



This archive was generated by hypermail 2b29 : Thu May 13 2004 - 16:44:23 MDT