meteostat.normals
Get climate normals data for a specific station or location.
- Type: Function
- Source Code: GitHub
Parameters
| Parameter | Description | Data Type | Default Value |
|---|---|---|---|
station | Weather station(s) or geographical point(s). | str, Station, Point, List[str], List[Station], List[Point], DataFrame | Required |
start | Start year of the desired period. | int | 1961 |
end | End year of the desired period. | int | 1990 |
parameters | Requested meteorological parameters. | List[Parameter] | Default parameters |
providers | Requested data providers. | List[Provider] | [Provider.MONTHLY] |
max_missing | Maximum number of missing monthly values. | int | 3 |
Returns
Example
# Import Meteostat library
import meteostat as ms
# Get climate normals data
ts = ms.normals(ms.Station(id='10637'), 1961, 1990)
df = ts.fetch()
# Print DataFrame
print(df)