Re: Multidimensional array sort

From: Wei Huang <huangwei_at_nyahnyahspammersnyahnyah>
Date: Wed, 9 Sep 2009 10:28:52 -0600

James,

Is your data from an ascii file, or binary file?
If it is a ascii file, you may want to use the newly available string
functions to get the cols/rows
want to process first. See URL:
http://www.ncl.ucar.edu/Document/Functions/string.shtml

Anyway, check URL:
http://www.ncl.ucar.edu/Document/Functions/Built-in/dim_pqsort.shtml

Which may give you better idea.

Regards,

Wei Huang
huangwei_at_ucar.edu
VETS/CISL
National Center for Atmospheric Research
P.O. Box 3000 (1850 Table Mesa Dr.)
Boulder, CO 80307-3000 USA
(303) 497-8924

On Sep 9, 2009, at 10:19 AM, Correia, James wrote:

> Hi-
> I need to sort a multidimensional array. I need to sort a gridded
> dataset
> which is jumbled up, so I can regrid to an RCM model domain. The
> array is
> 85000 lines by 14 columns ( lat and lon followed by 12 monthly
> values).
>
> My options are tdsort, or dim_pqsort. Will either of these work for
> this
> kind of problem?
>
> jimmyc
>
> _______________________________________________
> ncl-talk mailing list
> List instructions, subscriber options, unsubscribe:
> http://mailman.ucar.edu/mailman/listinfo/ncl-talk

_______________________________________________
ncl-talk mailing list
List instructions, subscriber options, unsubscribe:
http://mailman.ucar.edu/mailman/listinfo/ncl-talk
Received on Wed Sep 09 2009 - 10:28:52 MDT

This archive was generated by hypermail 2.2.0 : Tue Sep 15 2009 - 16:03:21 MDT