dim_num_n error

From: Cecille M. Villanueva-Birriel <cvillanu_at_nyahnyahspammersnyahnyah>
Date: Tue Jul 10 2012 - 18:26:20 MDT

Hello,

  I am trying to do some average and i am using the function dim_num_n to
count. However, I get the following error

Number of elements of dimension (0) of argument (1) is (2) in function
(dim_num_n), expected (1) elements

In my script I have it as

li = dim_num_n(wsm6.ne.0,(/2,3/))

What is wrong with this?

Thanks,
Cecille

-- 
********************************************************
 Cecille M. Villanueva Birriel
 Graduate Research Assistant
 Cloud Microphysics Research Group
 Purdue University
 Department of Earth and Atmospheric Sciences
 550 Stadium Mall Drive, West Lafayette, IN  47907-2051
 email: cvillanu@purdue.edu
********************************************************

_______________________________________________
ncl-talk mailing list
List instructions, subscriber options, unsubscribe:
http://mailman.ucar.edu/mailman/listinfo/ncl-talk
Received on Tue Jul 10 18:26:29 2012

This archive was generated by hypermail 2.1.8 : Thu Jul 12 2012 - 10:16:50 MDT