Is the NCL "load" command an executable statement, or some sort of
static directive to NCL? I would like to use an if block to load
scripts conditionally, but this does not seem to work as expected. The
load command seems to be always "executed" without regard to the if
statement.
Simplified example:
if (lib_flag .ne. 1) then
load "$NCARG_ROOT/lib/ncarg/nclscripts/csm/gsn_code.ncl"
end if
Thank you for any advice on how to do this.
--Dave Allured
CIRES Climate Diagnostics Center
NOAA Earth Systems Research Laboratory, Physical Sciences Division
_______________________________________________
ncl-talk mailing list
ncl-talk_at_ucar.edu
http://mailman.ucar.edu/mailman/listinfo/ncl-talk
Received on Mon Jul 17 2006 - 16:48:49 MDT
This archive was generated by hypermail 2.2.0 : Wed Jul 19 2006 - 08:40:45 MDT