Re: Problem to use "dim_sum_wgt" function

From: Dennis Shea <shea_at_nyahnyahspammersnyahnyah>
Date: Mon, 16 Jul 2007 16:19:30 -0600

Hello,

The problem is with me. :-(

I neglected to update the contributed.ncl with the
dim_sum_wgt_Wrap included. My fault.

I will send you the function in a separate email.

D

Haibin Li wrote:
> Hi,
>
> I have been trying to calculate weighted sum and found there actually
> has such function available (dim_sum_wgt/(_Wrap)). However, when I
> played around with this function, I ended up with getting error
> information "fatal:Undefined identifier: (dim_sum_wgt_Wrap) is
> undefined, can't continue".
>
> I used the latest version (4.3.0) binaries (not OPeNDAP-enabled) for
> x86_64 chips for Linux (compiled with gcc 3.x). The file
> "$NCARG_ROOT/lib/ncarg/nclscripts/csm/contributed.ncl" was also
> successfully loaded. Curiously, I searched the file "contributed.ncl"
> but found that neither "dim_sum_wgt" nor "dim_sum_wgt_Wrap" exists (I
> assume these functions should exist in that file to be able to be
> called - correct me if I am wrong). Also, when I attempted to load
> the file "contributed.ncl" associated with a much older version
> (C4.2.0.a033), I was able to use dim_sum_wgt but not dim_sum_wgt_Wrap
> (I am not sure how it was possible as "dim_sum_wgt" is not defined in
> file "contributed.ncl" of version C4.2.0.a033). I also checked file
> "contributed.ncl" from version 4.2.0.a034 for the same machine
> architecture, still, I couldn't find functions "dim_sum_wgt" and
> "dim_sum_wgt_Wrap". Can someone tell me what could be the problem?
> Thanks
>
>
> Haibin
> _______________________________________________
> ncl-talk mailing list
> ncl-talk_at_ucar.edu
> http://mailman.ucar.edu/mailman/listinfo/ncl-talk

-- 
======================================================
Dennis J. Shea                  tel: 303-497-1361    |
P.O. Box 3000                   fax: 303-497-1333    |
Climate Analysis Section                             |
Climate & Global Dynamics Div.                       |
National Center for Atmospheric Research             |
Boulder, CO  80307                                   |
USA                        email: shea 'at' ucar.edu |
======================================================
_______________________________________________
ncl-talk mailing list
ncl-talk_at_ucar.edu
http://mailman.ucar.edu/mailman/listinfo/ncl-talk
Received on Mon Jul 16 2007 - 16:19:30 MDT

This archive was generated by hypermail 2.2.0 : Tue Jul 17 2007 - 06:52:01 MDT