Loading CAM Diagnostics

From: Carl Schreck <carl_at_nyahnyahspammersnyahnyah>
Date: Mon Sep 17 2012 - 14:09:05 MDT

I have a function file that loads diagnostics_cam.ncl, and then my main
program loads it again just to make sure I didn't forget. When I load it
twice, I get the following errors. Easy enough to avoid, but it's probably
easy for you guys to fix too.

   Thanks!
   Carl

fatal:syntax error: line 1481 in file
$NCARG_ROOT/lib/ncarg/nclscripts/csm/diagnostics_cam.ncl before or near
l2_norma
 function l2_norma
-----------------^

fatal:Function identifier is defined
fatal:syntax error: line 1482 in file
$NCARG_ROOT/lib/ncarg/nclscripts/csm/diagnostics_cam.ncl before or near
local
 local
-----^

fatal:error in statement
fatal:Variable (x) is undefined
fatal:["Execute.c":7556]:Execute: Error occurred at or near line 1485 in
file $NCARG_ROOT/lib/ncarg/nclscripts/csm/diagnostics_cam.ncl

fatal:syntax error: line 1523 in file
$NCARG_ROOT/lib/ncarg/nclscripts/csm/diagnostics_cam.ncl before or near
l2_normb
 function l2_normb
-----------------^

fatal:Function identifier is defined
fatal:syntax error: line 1524 in file
$NCARG_ROOT/lib/ncarg/nclscripts/csm/diagnostics_cam.ncl before or near
local
 local
-----^

fatal:error in statement
fatal:Variable (x) is undefined
fatal:["Execute.c":7556]:Execute: Error occurred at or near line 1527 in
file $NCARG_ROOT/lib/ncarg/nclscripts/csm/diagnostics_cam.ncl

-- 
Carl J. Schreck III, PhD
Postdoctoral Research Associate
Cooperative Institute for Climate and Satellites (CICS-NC)
North Carolina State University and NOAA's National Climatic Data Center
151 Patton Avenue
Asheville, NC 28801
Tel: 828-257-3140
carl@cicsnc.org
http://monitor.cicsnc.org/mjo/
http://www.atmos.albany.edu/student/carl/

_______________________________________________
ncl-talk mailing list
List instructions, subscriber options, unsubscribe:
http://mailman.ucar.edu/mailman/listinfo/ncl-talk
Received on Mon Sep 17 14:09:34 2012

This archive was generated by hypermail 2.1.8 : Fri Sep 21 2012 - 16:22:30 MDT