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
Received on Thu Aug 18 03:15:46 2011
This archive was generated by hypermail 2.1.8 : Mon Aug 22 2011 - 08:13:37 MDT