[ncl-talk] dim_count_unique_values
Mary Haley
haley at ucar.edu
Thu Oct 8 16:29:44 MDT 2015
Yongli,
Please see the attached "dim_count_unique_values_n.ncl" script which
contains the "dim_count_unique_values_n" function, and two other scripts
for test purposes.
I did this in a hurry, so use at your own risk!
-Mary
On Tue, Oct 6, 2015 at 1:55 PM, Sitan Heyl <heylsitan at gmail.com> wrote:
> Hi, I wonder if there is a function "dim_count_unique_values", which
> calculate the number of unique values in one dimension. now I only use loop
> to do this thing. is there any better way?
>
> Thanks,
> Yongli
>
> _______________________________________________
> ncl-talk mailing list
> ncl-talk at ucar.edu
> List instructions, subscriber options, unsubscribe:
> http://mailman.ucar.edu/mailman/listinfo/ncl-talk
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.ucar.edu/pipermail/ncl-talk/attachments/20151008/433da043/attachment.html
-------------- next part --------------
A non-text attachment was scrubbed...
Name: count_unique_vals_n_test_2.ncl
Type: application/octet-stream
Size: 2327 bytes
Desc: not available
Url : http://mailman.ucar.edu/pipermail/ncl-talk/attachments/20151008/433da043/attachment.obj
-------------- next part --------------
A non-text attachment was scrubbed...
Name: count_unique_vals_n_test_1.ncl
Type: application/octet-stream
Size: 662 bytes
Desc: not available
Url : http://mailman.ucar.edu/pipermail/ncl-talk/attachments/20151008/433da043/attachment-0001.obj
-------------- next part --------------
A non-text attachment was scrubbed...
Name: dim_count_unique_values_n.ncl
Type: application/octet-stream
Size: 2756 bytes
Desc: not available
Url : http://mailman.ucar.edu/pipermail/ncl-talk/attachments/20151008/433da043/attachment-0002.obj
More information about the ncl-talk
mailing list