<html>
  <head>
    <meta content="text/html; charset=windows-1252"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    Hello Amit,<br>
    <br>
    There is a contributed function <br>
    <pre style="margin: 0px; padding: 0px; font-size: 13.3333330154419px; line-height: 16px; font-family: courier; border-style: solid; border-width: 0px 0px 15px; border-color: transparent; text-indent: 0px; color: rgb(0, 0, 0); font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: left; text-transform: none; widows: 1; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: rgb(255, 255, 255);">
</pre>
    getind_latlon2d <br>
    <br>
    that should work for you.<br>
    (see
<a class="moz-txt-link-freetext" href="https://www.ncl.ucar.edu/Document/Functions/Contributed/getind_latlon2d.shtml">https://www.ncl.ucar.edu/Document/Functions/Contributed/getind_latlon2d.shtml</a>)<br>
    <br>
    <br>
    You could also use rcm2pts to interpolate values on the grid to your
    stations.<br>
    <br>
    Jim<br>
    <br>
    <div class="moz-cite-prefix">On 6/9/2015 3:12 PM, amit timilsina
      wrote:<br>
    </div>
    <blockquote
cite="mid:BY1PR0101MB1045247B9374668341FFAEC4E6BE0@BY1PR0101MB1045.prod.exchangelabs.com"
      type="cite">
      <pre wrap="">Dear all,
I have used ind_nearest_coord to get the grid point or index value nearest to the weather station. But having many weather stations, it looks too clumsy to be done one by one. By using all coordinates of the weather stations, is there any simple way to get the variable (tams,tasmin or precipitation) value for those grids nearest to weather station using NCL? If not, what could be the best way. Many thanks in advance.


Regards,
Amit Prasad Timilsina
</pre>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
      <pre wrap="">_______________________________________________
ncl-talk mailing list
<a class="moz-txt-link-abbreviated" href="mailto:ncl-talk@ucar.edu">ncl-talk@ucar.edu</a>
List instructions, subscriber options, unsubscribe:
<a class="moz-txt-link-freetext" href="http://mailman.ucar.edu/mailman/listinfo/ncl-talk">http://mailman.ucar.edu/mailman/listinfo/ncl-talk</a>
</pre>
    </blockquote>
    <br>
    <div class="moz-signature">-- <br>
      <meta charset="UTF-8">
      <title>Untitled Document</title>
      <a style="text-decoration:none; color:#000000; font-size:11px;
        font-family:Verdana;" target="_blank"
        href="http://www.weatherextreme.com"><img
          src="cid:part1.01080209.07070109@weatherextreme.com"></a><br>
      <br>
      <strong style="text-decoration:none; color:#000000;
        font-size:11px; font-family:Verdana;">
        James D. Means, Ph.D.</strong><br>
      <span style="text-decoration:none; font-size:11px;
        font-family:Verdana;">Atmospheric and Climate Scientist</span><br>
      <span style="text-decoration:none; color:#000000;"><a
          style="color:#000000; font-size:11px; font-family:Verdana;"
          href="mailto:jim@weatherextreme.com">jim@weatherextreme.com</a>|<a
          style="color:#000000; font-size:11px; font-family:Verdana;"
          target"_blank"=""
          href="http://www.weatherextreme.com/vcards/James%20MEANS.vcf">
          vcard</a></span><br>
      <span style="text-decoration:none; font-size:11px;
        font-family:Verdana;">930 Tahoe Blvd., Suite 802-560<span
          style="text-decoration:none;"><br>
          <span style="text-decoration:none; font-size:11px;
            font-family:Verdana;"> Incline Village, Nevada 89451</span><br>
          <span style="text-decoration:none; font-size:11px;
            font-family:Verdana; color:#000000;"> <a target="_blank"
              style="color:#000000;"
              href="http://www.weatherextreme.com">www.weatherextreme.com</a></span><br>
          <br>
          <a target="_blank" href="https://www.facebook.com/wxextreme"><img
              src="cid:part6.01040707.00000307@weatherextreme.com"
              height="20px" width="20px"></a>
          <a target="_blank" href="https://twitter.com/wxextreme"><img
              src="cid:part8.01040904.09080807@weatherextreme.com"
              height="20px" width="20px"></a>
          <a target="_blank"
            href="http://www.linkedin.com/company/weatherextreme"><img
              src="cid:part10.07030604.01010403@weatherextreme.com"
              height="20px" width="20px"></a>
        </span></span></div>
  </body>
</html>