Includes nested too deeply

From: Adam Wolf <adamwolf_at_nyahnyahspammersnyahnyah>
Date: Wed, 9 Aug 2006 10:38:29 -0700

Hi all -

I am trying to write my own library of functions, in this case to
process NCEP reanalysis.
I modeled the library after other libraries, eg /usr/local/lib/ncarg/
nclex/gsun/gsn_code.ncl
and Dennis Shea's /usr/local/lib/ncarg/nclscripts/csm/contributed.ncl

When I try to load my library, I find an error I find no reference
to: "Includes nested too deeply"
However, my library is not nested any more deeply than these example
libraries, as shown
by this attempt (below) to load the function interactively. Note: I
am certain the file is where I said it is,
and the error does not change if my library is loaded from the local
directory.

molasses:~/Research/NCEP/data adamwolf$ ncl
Copyright (C) 1995-2006 - All Rights Reserved
University Corporation for Atmospheric Research
NCAR Command Language Version 4.2.0.a033
The use of this software is governed by a License Agreement.
See http://www.ncl.ucar.edu/ for more details.
ncl 0> load "/usr/local/lib/ncarg/nclex/gsun/gsn_code.ncl"
ncl 1> load "/usr/local/lib/ncarg/nclscripts/csm/contributed.ncl"
ncl 2> load "/usr/local/lib/ncarg/nclscripts/ncep/ncep_fns.ncl"
fatal:syntax error: line 0 in file /usr/local/lib/ncarg/nclscripts/
ncep/ncep_fns.ncl before or near ;
;
^

fatal:error in statement
Includes nested too deeply
molasses:~/Research/NCEP/data adamwolf$

The first few lines of the script are shown below:
; **********************************************************************
; ncep_fns.ncl by Adam Wolf, CIW-DGE
; last modified: August 7, 2006
;
; This file includes a variety of functions used in reading NCEP
files
; and creating the netCDF files necessary to run the CSU-SCM.
;
; use by invoking:
; load "$NCARG_ROOT/lib/ncarg/nclscripts/ncep/ncep_fns.ncl"
;
; **********************************************************************

undef("InitForcing")
undef("GetLatlong")

-----------------------------------------------------------
Adam Wolf
Carnegie Institution
Department of Global Ecology
Stanford University: Biological Sciences
                                                     510-207-8303
                                   adamwolf_at_stanford.edu
                              globalecology.stanford.edu
----------------------------------------------------------

_______________________________________________
ncl-talk mailing list
ncl-talk_at_ucar.edu
http://mailman.ucar.edu/mailman/listinfo/ncl-talk
Received on Wed Aug 09 2006 - 11:38:29 MDT

This archive was generated by hypermail 2.2.0 : Thu Aug 10 2006 - 15:20:04 MDT