- On the MeteoForge project
- A bit more information on MeteoForge: Libraries
- How to install
- View License
The MeteoForge project evolved from the original Weather Provider API project. It aims to provide a unified interface for accessing and processing meteorological data from various sources. It is modular and extensible, allowing users to easily add new sources and models.
The project consists of three main components:
-
The MeteoForge API A RESTful API built with FastAPI. It provides a unified interface for accessing data from sources built with the MeteoForge Libraries. It is OpenAPI-compliant and easy to deploy via Docker or custom solutions.
-
The MeteoForge Core System Core functionality for accessing and processing meteorological data, including support for file formats, data transformation, and extensibility. Includes base classes for sources and models.
-
The MeteoForge Sources A collection of source packages based on Alliander models. Sources are installable independently and provide access to meteorological models usable standalone or with the API.
The Core System provides base and interface classes as well as utilities for accessing and processing meteorological data. They are designed for use with the API and source packages and not meant for standalone use.
They offer tools for easily integrating new datasets and standardizing data processing workflows.
Each model belongs to a source. This allows similar models from different sources to coexist and be validated consistently.
Models use a shared interface but must implement their own data retrieval and formatting logic. They’re standardized in usage but uniquely implemented.
The Core System uses ECCODES to decode GRIB/BUFR data and standardize parameters. Unit conversion is handled with Pint.
An example
A model defines a "200 meter wind speed" in Beaufort. The ECCODES parameter 228241 corresponds to "200 metre wind speed" in m/s. The Core System can convert Beaufort to m/s using its registry of standard parameters and Pint-based conversions.
You can install the MeteoForge Core System via pip or poetry.
With pip:
pip install meteoforge
With poetry:
poetry add meteoforge