Python package to download synoptic measurements from RMI
Project description
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'])
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file openkmi-0.0.1.tar.gz.
File metadata
- Download URL: openkmi-0.0.1.tar.gz
- Upload date:
- Size: 4.2 kB
- Tags: Source
- Uploaded using 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
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
494d8c40d5ed53a911c4275783368719cc05955f03f01c07c3987dcd4338d608
|
|
| MD5 |
5027be0f3d264a9fbe7da714891456df
|
|
| BLAKE2b-256 |
ef4c1e98ad1a71cbb3a49e0735f51d3532ba03cb336625763f3f505cb0302412
|
File details
Details for the file openkmi-0.0.1-py3-none-any.whl.
File metadata
- Download URL: openkmi-0.0.1-py3-none-any.whl
- Upload date:
- Size: 4.5 kB
- Tags: Python 3
- Uploaded using 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
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
7e5da64388ff661859310c30c6d8c4cb874b1dcebff73f5968e788db796f376d
|
|
| MD5 |
9de92d55e37b60e6b1bc6dd3dd33b104
|
|
| BLAKE2b-256 |
b79b6ed49cb655de8b11200b707d31e68ca3b0ee7cd1c3c75bac0be26751bcd0
|