When I run the script below, the system command, "date",
is only executed the first time and not the 2nd time.
It seems when I create large arrays, NCL skips over any
system commands. Any suggestions how to resolve this issue?
Michael
load "$NCARG_ROOT/lib/ncarg/nclscripts/csm/gsn_code.ncl"
load "$NCARG_ROOT/lib/ncarg/nclscripts/csm/gsn_csm.ncl"
load "$NCARG_ROOT/lib/ncarg/nclscripts/csm/contributed.ncl"
load "$NCARG_ROOT/lib/ncarg/nclscripts/csm/shea_util.ncl"
begin
nyr=20
maxt=new((/365*nyr+5,302,121/),float)
mint=new((/365*nyr+5,302,121/),float)
pcp=new((/365*nyr+5,302,121/),float)
system("date")
snowd=new((/365*nyr+5,302,121/),float)
swe=new((/365*nyr+5,302,121/),float)
system("date")
end
_______________________________________________
ncl-talk mailing list
List instructions, subscriber options, unsubscribe:
http://mailman.ucar.edu/mailman/listinfo/ncl-talk
Received on Mon Sep 3 13:28:06 2012
This archive was generated by hypermail 2.1.8 : Tue Sep 11 2012 - 15:30:42 MDT