Skip to main content

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:

  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'])

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

openkmi-0.0.1.tar.gz (4.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

openkmi-0.0.1-py3-none-any.whl (4.5 kB view details)

Uploaded Python 3

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

Hashes for openkmi-0.0.1.tar.gz
Algorithm Hash digest
SHA256 494d8c40d5ed53a911c4275783368719cc05955f03f01c07c3987dcd4338d608
MD5 5027be0f3d264a9fbe7da714891456df
BLAKE2b-256 ef4c1e98ad1a71cbb3a49e0735f51d3532ba03cb336625763f3f505cb0302412

See more details on using hashes here.

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

Hashes for openkmi-0.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 7e5da64388ff661859310c30c6d8c4cb874b1dcebff73f5968e788db796f376d
MD5 9de92d55e37b60e6b1bc6dd3dd33b104
BLAKE2b-256 b79b6ed49cb655de8b11200b707d31e68ca3b0ee7cd1c3c75bac0be26751bcd0

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page