[ncl-talk] Getting variable values of respective weather station

Jim Means jim at weatherextreme.com
Tue Jun 9 16:27:25 MDT 2015


Hello Amit,

There is a contributed function

getind_latlon2d

that should work for you.
(see 
https://www.ncl.ucar.edu/Document/Functions/Contributed/getind_latlon2d.shtml)


You could also use rcm2pts to interpolate values on the grid to your 
stations.

Jim

On 6/9/2015 3:12 PM, amit timilsina wrote:
> 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
>
>
> _______________________________________________
> ncl-talk mailing list
> ncl-talk at ucar.edu
> List instructions, subscriber options, unsubscribe:
> http://mailman.ucar.edu/mailman/listinfo/ncl-talk

-- 
Untitled Document <http://www.weatherextreme.com>

*James D. Means, Ph.D.*
Atmospheric and Climate Scientist
jim at weatherextreme.com <mailto:jim at weatherextreme.com>|vcard 
<http://www.weatherextreme.com/vcards/James%20MEANS.vcf>
930 Tahoe Blvd., Suite 802-560
Incline Village, Nevada 89451
www.weatherextreme.com <http://www.weatherextreme.com>

<https://www.facebook.com/wxextreme> <https://twitter.com/wxextreme> 
<http://www.linkedin.com/company/weatherextreme>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.ucar.edu/pipermail/ncl-talk/attachments/20150609/41f5bbaa/attachment.html 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signaturelogo.png
Type: image/png
Size: 8813 bytes
Desc: not available
Url : http://mailman.ucar.edu/pipermail/ncl-talk/attachments/20150609/41f5bbaa/attachment.png 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: facebookicon.png
Type: image/png
Size: 3261 bytes
Desc: not available
Url : http://mailman.ucar.edu/pipermail/ncl-talk/attachments/20150609/41f5bbaa/attachment-0001.png 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: twittericon.png
Type: image/png
Size: 3524 bytes
Desc: not available
Url : http://mailman.ucar.edu/pipermail/ncl-talk/attachments/20150609/41f5bbaa/attachment-0002.png 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: linkedin.png
Type: image/png
Size: 3508 bytes
Desc: not available
Url : http://mailman.ucar.edu/pipermail/ncl-talk/attachments/20150609/41f5bbaa/attachment-0003.png 


More information about the ncl-talk mailing list