OpenKMI
Python package to download synoptic measurements from KMI
Description
OpenKMI serves as a wrapper around the open data that the Royal Meteorological Institute of Belgium (RMI) offers. At present only the Synoptic observations are implemented. The package serves as a wrapper around the existing WFS service to download the SYNOP data.
The SYNOP data of RMI contain the observations of the synoptic network (22 stations) for the following parameters:
- Precipitation: PRECIP_QUANTITY + PRECIP_RANGE
- Temperature: TEMP + TEMP_MIN + TEMP_MAX + TEMP_GRASS_MIN
- Wind: WIND_SPEED + WIND_SPEED_UNIT + WIND_DIRECTION + WIND_PEAK_SPEED
- relative humidity: HUMIDITY_RELATIVE
- weather type: current weather
- air pressure: PRESSURE of PRESSURE_STATION_LEVEL
- sunshine duration: SUN_DURATION_24H
- Global radiation: SHORT_WAVE_FROM_SKY_24HOUR
- Total cloudiness: CLOUDINESS
We refer to the metadata and documentation of the synoptic measurements for more info.
This is not an official package from the RMI.
Installation
pip install openkmi
Examples
See the notebook under examples to get you started.
Quick start:
from openkmi.synoptic import Synop
# initialise
kmi = Synop()
# get the available stations
df_stations = kmi.get_stations()
# get the available parameters
params = kmi.get_parameters()
# example to get the windspeed for a station starting from 2021 - present
df = kmi.get_data('6438', start_date='2021-01-01T00:00:00', parameter_list=['wind_speed'])
Release files for openkmi 0.0.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| openkmi-0.0.1.tar.gz | 4.2 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| openkmi-0.0.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 8.7 kB
Release files / openkmi-0.0.1.tar.gz
| Download URL | openkmi-0.0.1.tar.gz |
|---|---|
| Size | 4.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
494d8c40d5ed53a911c4275783368719cc05955f03f01c07c3987dcd4338d608
|
|
BLAKE2b-256 checksum How to use checksums |
ef4c1e98ad1a71cbb3a49e0735f51d3532ba03cb336625763f3f505cb0302412
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.8.0 pkginfo/1.8.2 readme-renderer/32.0 requests/2.22.0 requests-toolbelt/0.9.1 urllib3/1.25.7 tqdm/4.47.0 importlib-metadata/None keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.3 CPython/3.7.3
|
Release files / openkmi-0.0.1-py3-none-any.whl
| Download URL | openkmi-0.0.1-py3-none-any.whl |
|---|---|
| Size | 4.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
7e5da64388ff661859310c30c6d8c4cb874b1dcebff73f5968e788db796f376d
|
|
BLAKE2b-256 checksum How to use checksums |
b79b6ed49cb655de8b11200b707d31e68ca3b0ee7cd1c3c75bac0be26751bcd0
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.8.0 pkginfo/1.8.2 readme-renderer/32.0 requests/2.22.0 requests-toolbelt/0.9.1 urllib3/1.25.7 tqdm/4.47.0 importlib-metadata/None keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.3 CPython/3.7.3
|