You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+5-2Lines changed: 5 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -25,10 +25,11 @@ Working example can be found in [example.py](example.py).
25
25
$ pip install fmi-weather-client
26
26
```
27
27
28
-
### Get weatherand forecasts
28
+
### Get weather, forecasts, and observations
29
29
You can get the weather using the following functions:
30
30
-`weather_by_place_name(place_name)`
31
31
-`weather_by_coordinates(latitude, longitude)`
32
+
-`observation_by_station_id(fmi_station_id)`
32
33
33
34
Example:
34
35
```python
@@ -65,9 +66,11 @@ except ServerError as err:
65
66
66
67
```
67
68
68
-
You can get the observation data from a station ID [shown here](https://www.ilmatieteenlaitos.fi/havaintoasemat)using the following functions:
69
+
You can get the observation data from a station using the following functions:
69
70
-`observation_by_station_id(fmi_sid)`
70
71
72
+
To get a weather observation from a station, you must provide a station ID. IDs can be found on [FMI's station list](https://www.ilmatieteenlaitos.fi/havaintoasemat). Note that weather observations are available only from **weather stations**. These are the ones with `sää` in the `Ryhmä` column.
0 commit comments