Next: , Previous: Loops, Up: ncap2 netCDF Arithmetic Processor


4.1.15 Include files

The synatax of an include file is:

     #include "script"

The script filename is searched relative to the run directory. Its possible to nest include files to an arbitrary depth. A handy use of inlcude files is to store often used constants. Use RAM variables of you don't want these constants written to Output.

     *pi=3.1415926535;
     *h=6.62607095e-34;
     e=2.71828;