Scheduled Downtime
On Friday 21 April 2023 @ 5pm MT, this website will be down for maintenance and expected to return online the morning of 24 April 2023 at the latest

Obtaining the nearest point

This post was from a previous version of the WRF&MPAS-A Support Forum. New replies have been disabled and if you have follow up questions related to this post, then please start a new thread from the forum home page.


New member
I want to know what is the closest point to an established coordinate. To do this, I made a script in which the XY point is calculated from a decimal coordinate and, subsequently, that XY point is recalculated to the corresponding decimal coordinate. I would like to verify that the script is correct and that the coordinate is not miscalculated.

Thank you.


  • latlon.txt
    674 bytes · Views: 80