MetPy Mondays #326 - Use KDTree and MetPy to Find the Nearest METAR
In this week's MetPy Monday, we show you how to find the closest weather observation station to any location using a combination of: MetPy's built-in station metadata, scipy.spatial.KDTree for fast spatial search, and GeoPandas for accurate geodesic distance calculation.
Posted by: jleeman
Mar 31, 2025
Article Category
Article type
Developer Blog
Add new comment