[ncl-talk] data_arrange

Kunal Bali kunal.bali9 at gmail.com
Wed Feb 8 22:37:02 MST 2017


Dear NCL users

I have sorted DATA1 in ascending order. Doing this, the lat lon also sorted
in ascending order. now I want to arrange the DATA2 values in the same
order with respect to lat lon.

is there any function to do it?


lat      lon        DATA1                   lat    lon       DATA2
21.5    80.5    0.1927848193        21.5    80.5    0.1427516818
22.5    80.5    0.2107088708        21.5    81.5    0.1526213445
23.5    84.5    0.2248266773 <022%204826%206773>        21.5    82.5    0.
1837707819 <0183%20770%207819>
22.5    81.5    0.230950011          21.5    83.5    0.2076204493
23.5    81.5    0.2398354544        21.5    84.5    0.2222786461
23.5    84.5    0.2431923192        21.5    85.5    0.2473306756
23.5    83.5    0.2475542286 <02475%20542%20286>        21.5    86.5
0.3032659014
23.5    82.5    0.2486582397 <02486%20582%20397>        21.5    87.5    0.
4029584168 <040%202958%204168>
22.5    80.5    0.2496962144        21.5    88.5    0.4880898753
21.5    80.5    0.249698807          21.5    89.5    0.5418224582
21.5    81.5    0.2514767561 <0251%20476%207561>        22.5    80.5    0.
1371483111 <01371%20483%20111>
22.5    80.5    0.2517710963 <0251%20771%200963>        22.5    81.5
0.1469887603
22.5    85.5    0.2518815909        22.5    82.5    0.1633707824
23.5    83.5    0.252597573          22.5    83.5    0.1737561754
21.5    80.5    0.2531392525        22.5    84.5    0.2125528036
21.5    80.5    0.2542876833        22.5    85.5    0.258845448
21.5    80.5    0.256160506          22.5    86.5    0.2875988691
23.5    84.5    0.2594303921 <02594%20303%20921>        22.5    87.5
0.3499443093


Kunal Bali
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.ucar.edu/pipermail/ncl-talk/attachments/20170209/fecf4a25/attachment.html 


More information about the ncl-talk mailing list