Where is dim_sum_n()?

From: Don Morton <morton_at_nyahnyahspammersnyahnyah>
Date: Wed, 24 Jun 2009 13:50:20 -0800


I'm trying to run the first example code segment from


My NCL script is as follows (using 5.1.0):

; Include files
 load "$NCARG_ROOT/lib/ncarg/nclscripts/csm/gsn_code.ncl"
 load "$NCARG_ROOT/lib/ncarg/nclscripts/csm/gsn_csm.ncl"

  q = random_uniform(-20,100,(/3,5,10/))
  qav = dim_sum_n(q,2) ;==> qav(3,5)

But when I run it, I get a message saying that dim_sum_n is undefined.
However, if I replace dim_sum_n(q,2) with dim_sum(q), it works. I've
tried loading up the contributed.ncl, but this doesn't help. I don't
see anything in the documentation for dim_sum_n that specifies a module
to load. Am I being an idiot, or did dim_sum_n() somehow get left out?



ncl-talk mailing list
List instructions, subscriber options, unsubscribe:

Received on Wed Jun 24 2009 - 15:50:20 MDT

This archive was generated by hypermail 2.2.0 : Thu Jun 25 2009 - 06:30:15 MDT