Skip to main content

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:

  1. Precipitation: PRECIP_QUANTITY + PRECIP_RANGE
  2. Temperature: TEMP + TEMP_MIN + TEMP_MAX + TEMP_GRASS_MIN
  3. Wind: WIND_SPEED + WIND_SPEED_UNIT + WIND_DIRECTION + WIND_PEAK_SPEED
  4. relative humidity: HUMIDITY_RELATIVE
  5. weather type: current weather
  6. air pressure: PRESSURE of PRESSURE_STATION_LEVEL
  7. sunshine duration: SUN_DURATION_24H
  8. Global radiation: SHORT_WAVE_FROM_SKY_24HOUR
  9. 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)

Source distribution for openkmi 0.0.1
File Size Uploaded
openkmi-0.0.1.tar.gz 4.2 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for openkmi 0.0.1
File Interpreter ABI Platform
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

Release history Release notifications | RSS feed

0.7.0

2 release files

0.6.0

2 release files

0.5.0

2 release files

0.4.0

2 release files

0.3.1

2 release files

0.3.0

2 release files

0.2.1

2 release files

0.2.0

2 release files

0.1.0

2 release files

This release

0.0.1 This release

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page