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.
Unidata Developer's Blog
A weblog about software development by Unidata developers*
Unidata Developer's Blog
A weblog about software development by Unidata developers*

Welcome

FAQs

News@Unidata blog

Take a poll!

What if we had an ongoing user poll in here?

Browse By Topic
Browse by Topic
« March 2025
SunMonTueWedThuFriSat
      
1
2
4
5
6
7
8
9
10
11
12
13
14
15
16
18
19
20
21
22
23
24
25
26
27
28
29
30
     
Today