getting rid of repeated values in an array

From: Trivej, Panu <p2trivej_at_nyahnyahspammersnyahnyah>
Date: Tue Nov 03 2009 - 10:03:17 MST

Hi,

I would like to know if there is an NCL build-in function which performs this operation.

Suppose I have an array:

(/1,1,1,2,2,2,5,5,5,4,4/)

It will get rid of repeated values and return

(/1,2,5,4/)

thank you.

_______________________________________________
ncl-talk mailing list
List instructions, subscriber options, unsubscribe:
http://mailman.ucar.edu/mailman/listinfo/ncl-talk
Received on Tue Nov 3 10:02:48 2009

This archive was generated by hypermail 2.1.8 : Fri Nov 06 2009 - 09:15:29 MST