[ncl-talk] Using NCL function get_unique_values, but maintain original array order
Alan Rhoades
alan.m.rhoades at gmail.com
Thu May 25 11:33:44 MDT 2017
Hello,
I'm currently using this nifty NCL function get_unique_values to sort
through an array and extract unique strings and/or floats from in-situ
station data.
My problem is that the extracted values are then sorted alphabetically
and/or lowest to highest.
Is it possible to use this function (or a similar) and maintain the
ordering from the original array which the strings/floats were extracted
from?
Best,
AR
--
*Alan Rhoades, Ph.D. | Lawrence Berkeley National Laboratories*
*Hydroclimate Uncertainty Postdoctoral Fellow | Project Hyperion
<http://climate.ucdavis.edu/hyperion/>*
*arhoades at lbl.gov <arhoades at lbl.gov> | alan.m.rhoades at gmail.com
<alan.m.rhoades at gmail.com>*
*Website <http://alanrhoades.weebly.com/> | Research Gate
<https://www.researchgate.net/profile/Alan_Rhoades> **| **Google Scholar
<https://scholar.google.gr/citations?user=AVFLiFsAAAAJ&hl=en> **| LinkedIn
<https://www.linkedin.com/pub/alan-rhoades/22/5bb/52a>*
* <https://scholar.google.gr/citations?user=AVFLiFsAAAAJ&hl=en>*
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.ucar.edu/pipermail/ncl-talk/attachments/20170525/6b72cea5/attachment.html
More information about the ncl-talk
mailing list