meteostat.stations.nearby

On this page

Find weather stations near a geographical point.

Parameters#

Parameter Description Data Type Default Value
point Geographical point specifying latitude and longitude Point Required
radius Search radius in meters int 50000 (50 km)
limit Maximum number of stations to return int 100

Returns#

DataFrame

A DataFrame containing nearby stations sorted by distance.

Example#

Python
import meteostat as ms

# Create a geographical point
POINT = ms.Point(50.1155, 8.6842, 113)  # Frankfurt, Germany

# Get nearby weather stations
stations = ms.stations.nearby(POINT, limit=4)

print(stations)