Re: possible problem in dim_num_n function ...

From: Mary Haley <haley_at_nyahnyahspammersnyahnyah>
Date: Mon Aug 22 2011 - 06:43:25 MDT

Hi Ufuk,

This has been fixed. Thanks for reporting it.

With regard to the dim_cumsum_n function, I'm not sure yet what we'll do about this.
It seems that this one may not make sense for multiple dimensions.

--Mary

On Aug 18, 2011, at 3:15 AM, Ufuk Utku Turuncoglu (BE) wrote:

> Hi,
>
> I try to execute following NCL command but it fails.
>
> y1 = dim_num_n((.not.ismissing(varm) .and. varm .ge. 15.0), (/ 1, 2 /))
>
> the error message is,
>
> fatal:Number of elements of dimension (0) of argument (1) is (2) in
> function (dim_num_n), expected (1) elements
>
> so varm variable dimensions are,
>
> (0) 180
> (1) 70
> (2) 44
>
> According to documentation of the function, the last argument can be an
> array that includes the dimensions. The command works with following,
>
> y1 = dim_num_n((.not.ismissing(varm) .and. varm .ge. 15.0), 1)
>
> So, there could be a problem in or documentation or in the function.
>
> Regards,
>
> --ufuk
>
> _______________________________________________
> 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 Mon Aug 22 06:43:34 2011

This archive was generated by hypermail 2.1.8 : Mon Aug 22 2011 - 08:13:37 MDT