Skip to main content

meteostat.stations.nearby

Find weather stations near a geographical point.

Parameters

ParameterDescriptionData TypeDefault Value
pointGeographical point specifying latitude and longitudePointRequired
radiusSearch radius in metersint50000 (50 km)
limitMaximum number of stations to returnint100

Returns

DataFrame

A DataFrame containing nearby stations sorted by distance.

Example

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)