Re: dim_sum_n error in ncl 5.1.1

From: Andrew Dawson <andrew.dawson_at_nyahnyahspammersnyahnyah>
Date: Sun Nov 08 2009 - 08:43:18 MST

The documentation for dim_sum_n_Wrap says that you need to load the
contributed library to use it. Make sure you have:

load "$NCARG_ROOT/lib/ncarg/nclscripts/csm/contributed.ncl"

at the start of your script.

I hope that helps,
Andrew

2009/11/8 Erik Noble <enoble@giss.nasa.gov>

> Hi. I just ran into something strange.
> I have NCL v. 5.1.1 installed. I just tried using the dim_sum_n_Wrap
> function in a script and I'm getting an error it doesn't exist.
> But it was working fine a couple of days ago.
> The dim_sum_n function is working
>
> Here is a command line example.
> what could cause this?
> -Erik
> /home/eunoble/local_erik/bin/ncl
> DI:/discover/nobackup/eunoble/myWorkDir/OUTPUT> ncl
> Copyright (C) 1995-2009 - All Rights Reserved
> University Corporation for Atmospheric Research
> NCAR Command Language Version 5.1.1
> The use of this software is governed by a License Agreement.
> See http://www.ncl.ucar.edu/ for more details.
> ncl 0> example = dim_sum_n_Wrap(x,0)
> fatal:Undefined identifier: (dim_sum_n_Wrap) is undefined, can't continue
> fatal:Execute: Error occurred at or near line 0
>
> ncl 1> example = dim_sum_n(x,0)
> fatal:Variable (x) is undefined
> fatal:Execute: Error occurred at or near line 1
>
>
>
>
>
>
> http://www.ncl.ucar.edu/Document/Functions/Contributed/dim_sum_n_Wrap.shtml
> _______________________________________________
> 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 Sun Nov 8 08:42:40 2009

This archive was generated by hypermail 2.1.8 : Wed Nov 11 2009 - 12:48:56 MST