meteostat.stations.inventory
Check data availability for a weather station.
- Type: Method of
meteostat.stations - Source Code: GitHub
Parameters
| Parameter | Description | Data Type | Default Value |
|---|---|---|---|
station | The unique identifier(s) of the weather station | str or List[str] | Required |
providers | Data provider(s) to filter inventory by | List[Provider] or None | None |
Returns
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}")