Load command

From: Dave Allured <dave.allured_at_nyahnyahspammersnyahnyah>
Date: Mon, 17 Jul 2006 16:48:49 -0600

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

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
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