Skip to main content

meteostat.stations.inventory

Check data availability for a weather station.

Parameters

ParameterDescriptionData TypeDefault Value
stationThe unique identifier(s) of the weather stationstr or List[str]Required
providersData provider(s) to filter inventory byList[Provider] or NoneNone

Returns

Inventory

Example

import meteostat as ms

# Check data availability for a station
STATION = '71624' # Toronto Pearson International Airport

inventory = ms.stations.inventory(STATION)

print(f"Data available from {inventory.start} to {inventory.end}.")
print(f"Available parameters: {inventory.parameters}")