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

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 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
; and creating the netCDF files necessary to run the CSU-SCM.
; use by invoking:
; load "$NCARG_ROOT/lib/ncarg/nclscripts/ncep/ncep_fns.ncl"
; **********************************************************************


Adam Wolf
Carnegie Institution
Department of Global Ecology
Stanford University: Biological Sciences

ncl-talk mailing list
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