<div dir="ltr">Hello<div><br></div><div><a href="https://github.com/yyr/ncl/blob/master/ni/src/lib/nfpfort/dpsort.f">https://github.com/yyr/ncl/blob/master/ni/src/lib/nfpfort/dpsort.f</a><br></div><div>I sort data use the above subroutine.</div><div>Please read its comments.</div><div><br></div><div>Hope this helps.</div><div>Tao</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Feb 9, 2017 at 2:37 PM, Kunal Bali <span dir="ltr"><<a href="mailto:kunal.bali9@gmail.com" target="_blank">kunal.bali9@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"><div>Dear NCL users<br><br><div>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. <br></div><br>is there any function to do it?<br><br><br>lat lon DATA1 lat lon DATA2<br>21.5 80.5 0.1927848193 21.5 80.5 0.1427516818<br>22.5 80.5 0.<a href="tel:(210)%20708-8708" value="+12107088708" target="_blank">2107088708</a> 21.5 81.5 0.1526213445<br>23.5 84.5 0.<a value="+912248266773" href="tel:022%204826%206773" target="_blank">2248266773</a> 21.5 82.5 0.<a value="+911837707819" href="tel:0183%20770%207819" target="_blank">1837707819</a><br>22.5 81.5 0.230950011 21.5 83.5 0.2076204493<br>23.5 81.5 0.<a href="tel:(239)%20835-4544" value="+12398354544" target="_blank">2398354544</a> 21.5 84.5 0.2222786461<br>23.5 84.5 0.2431923192 21.5 85.5 0.2473306756<br>23.5 83.5 0.<a value="+912475542286" href="tel:02475%20542%20286" target="_blank">2475542286</a> 21.5 86.5 0.<a href="tel:(303)%20265-9014" value="+13032659014" target="_blank">3032659014</a><br>23.5 82.5 0.<a value="+912486582397" href="tel:02486%20582%20397" target="_blank">2486582397</a> 21.5 87.5 0.<a value="+914029584168" href="tel:040%202958%204168" target="_blank">4029584168</a><br>22.5 80.5 0.<a href="tel:(249)%20696-2144" value="+12496962144" target="_blank">2496962144</a> 21.5 88.5 0.4880898753<br>21.5 80.5 0.249698807 21.5 89.5 0.5418224582<br>21.5 81.5 0.<a value="+912514767561" href="tel:0251%20476%207561" target="_blank">2514767561</a> 22.5 80.5 0.<a value="+911371483111" href="tel:01371%20483%20111" target="_blank">1371483111</a><br>22.5 80.5 0.<a value="+912517710963" href="tel:0251%20771%200963" target="_blank">2517710963</a> 22.5 81.5 0.1469887603<br></div>22.5 85.5 0.<a href="tel:(251)%20881-5909" value="+12518815909" target="_blank">2518815909</a> 22.5 82.5 0.1633707824<br><div>23.5 83.5 0.252597573 22.5 83.5 0.1737561754<br>21.5 80.5 0.2531392525 22.5 84.5 0.2125528036<br>21.5 80.5 0.<a href="tel:(254)%20287-6833" value="+12542876833" target="_blank">2542876833</a> 22.5 85.5 0.258845448<br>21.5 80.5 0.256160506 22.5 86.5 0.2875988691<br>23.5 84.5 0.<a value="+912594303921" href="tel:02594%20303%20921" target="_blank">2594303921</a> 22.5 87.5 0.3499443093<span class="HOEnZb"><font color="#888888"><br><br><br clear="all"><div><div><div class="m_-5151869352639483898gmail_signature"><div dir="ltr"><div><div dir="ltr"><div>Kunal Bali<br></div><div></div><div><br></div><div><p style="margin:0px;border-collapse:collapse;font-family:tahoma,verdana;font-size:12px"><font color="#1F497D"><br></font></p></div></div></div></div></div></div>
</div></font></span></div></div>
<br>______________________________<wbr>_________________<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/<wbr>mailman/listinfo/ncl-talk</a><br>
<br></blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div style="font-size:12.8000001907349px"><span style="font-size:12.8000001907349px">******************************************************</span><br></div><div style="font-size:12.8000001907349px"><span style="font-size:12.8000001907349px">盧 涛 (ル タオ) </span><span style="font-family:arial,helvetica,sans-serif;font-size:small">修士課程2年</span><br style="font-size:12.8000001907349px"><p style="font-size:12.8000001907349px;margin:0px"><font size="2" face="arial, helvetica, sans-serif">〒<span lang="EN-US">112-8551 </span>東京都文京区春日<span lang="EN-US">1-13-27</span></font></p><p style="font-size:12.8000001907349px;margin:0px"><font size="2" face="arial, helvetica, sans-serif">中央大学理工学研究科都市環境学専攻</font></p><p style="font-size:12.8000001907349px;margin:0px"><font size="2" face="arial, helvetica, sans-serif">河川・水文<span lang="EN-US"><span lang="EN-US"><span lang="EN-US">研究</span></span><span lang="EN-US"><span lang="EN-US">室</span></span></span></font><span style="font-family:arial,helvetica,sans-serif;font-size:small">(山田正教授)</span></p></div><div style="font-size:12.8000001907349px"><p style="font-size:12.8000001907349px;margin:0px"><font size="2" face="arial, helvetica, sans-serif"><span lang="EN-US"><br></span></font></p><p style="font-size:12.8000001907349px;margin:0px"><font size="2" face="arial, helvetica, sans-serif"><span lang="EN-US">TEL: 03-3817-3406; </span></font><span style="font-family:arial,helvetica,sans-serif;font-size:small">Phone: 070-2188-7509</span></p>Email1: <a href="mailto:mail%3Amet.yamos@gmail.com" style="color:rgb(17,85,204);font-size:12.8000001907349px" target="_blank">hakufu.asano@gmail.com</a><br style="font-size:12.8000001907349px">Email2: <a href="mailto:mail%3Ayamoto@civil.chuo-u.ac.jp" style="color:rgb(17,85,204);font-size:12.8000001907349px" target="_blank">lutao@civil.chuo-u.ac.jp</a><br style="font-size:12.8000001907349px"><span style="font-size:12.8000001907349px">*******************************************************</span></div><div style="font-size:12.8000001907349px"><span style="font-size:small;font-family:arial">******************************</span><span style="font-size:small;font-family:arial">************************</span><br></div><div><span style="font-size:small;font-family:arial">Tao Lu (M. Eng)</span></div><div><span style="font-family:arial,helvetica,sans-serif;font-size:12.8px">Laboratory of River Engineering and Hydrology,</span><br style="font-family:arial;font-size:small"><span style="font-size:small;font-family:arial">Dept. of Civil and Environmental Engineering,</span><br style="font-family:arial;font-size:small"><span style="font-family:arial,helvetica,sans-serif;font-size:12.8px">Graduate School of Science and Engineering,</span><br style="font-family:arial;font-size:small"><span style="font-size:small;font-family:arial">Chuo University</span><br style="font-family:arial;font-size:small"><span style="font-size:small;font-family:arial"> </span><br style="font-family:arial;font-size:small">1-13-27<span style="font-size:small;font-family:arial">,Kasuga,Bunkyo-ku,Tokyo</span><br style="font-family:arial;font-size:small"><span style="font-size:small;font-family:arial">112-8551, Japan</span><br style="font-family:arial;font-size:small"><span style="font-size:small;font-family:arial">TEL: </span>03-3817-1805<font size="2" face="arial, helvetica, sans-serif"><span lang="EN-US">; </span></font><span style="font-family:arial,helvetica,sans-serif;font-size:small">Phone: 070-2188-7509</span><br style="font-family:arial;font-size:small"><span style="font-size:12.8px">Email1: </span><a href="mailto:mail%3Amet.yamos@gmail.com" style="font-size:12.8px;color:rgb(17,85,204)" target="_blank">hakufu.asano@gmail.com</a><br style="font-size:12.8px"><span style="font-size:12.8px">Email2: </span><a href="mailto:mail%3Ayamoto@civil.chuo-u.ac.jp" style="font-size:12.8px;color:rgb(17,85,204)" target="_blank">lutao@civil.chuo-u.ac.jp</a><br style="font-family:arial;font-size:small"><span style="font-size:small;font-family:arial">******************************</span><span style="font-size:small;font-family:arial">***********************</span><span style="font-size:12.8px"><br></span></div></div></div></div></div></div></div></div></div></div></div></div></div>
</div>