Re: Loading CAM Diagnostics

From: Mary Haley <haley_at_nyahnyahspammersnyahnyah>
Date: Mon Sep 17 2012 - 20:40:12 MDT

Hi Carl,

This was fixed in July of this year, sometime after V6.1.0-beta came out.

The fix was to a couple of misspelled or missing "undef" statements.

I've included the latest version of this script if you want to try it.

--Mary

On Sep 17, 2012, at 2:09 PM, Carl Schreck wrote:

> 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

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

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