<div dir="ltr"><div class="gmail_default" style="font-size:small">Yongli,</div><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default" style="font-size:small">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.</div><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default" style="font-size:small">I did this in a hurry, so use at your own risk! </div><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default" style="font-size:small">-Mary</div><div class="gmail_default" style="font-size:small"><br></div>
</div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Oct 6, 2015 at 1:55 PM, Sitan Heyl <span dir="ltr"><<a href="mailto:heylsitan@gmail.com" target="_blank">heylsitan@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">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?<div><br></div><div>Thanks,</div><div>Yongli </div></div>
<br>_______________________________________________<br>
ncl-talk mailing list<br>
<a href="mailto:ncl-talk@ucar.edu">ncl-talk@ucar.edu</a><br>
List instructions, subscriber options, unsubscribe:<br>
<a href="http://mailman.ucar.edu/mailman/listinfo/ncl-talk" rel="noreferrer" target="_blank">http://mailman.ucar.edu/mailman/listinfo/ncl-talk</a><br>
<br></blockquote></div><br></div>