Skip to main content

Hybrid climate forecasting framework for BMKG using Python

Project description

🌦️ hybmkg-pycast

hybmkg-pycast is a hybrid machine learning and deep learning framework for climate and weather forecasting. It is designed to integrate multiple forecasting approaches — from classical statistical models to modern deep learning architectures — and support research and operational applications at BMKG (Meteorological, Climatological, and Geophysical Agency of Indonesia).

🚀 Key Features

Comprehensive Forecasting Models

Statistical: ARIMA, SARIMA, ANFIS, Wavelet-ARIMA, Wavelet-ANFIS, etc.

Machine Learning: Random Forest, XGBoost, LightGBM, SVR, KNN, MLP using multi-stacked approach.

Deep Learning: RNN, LSTM, GRU, CNN, Transformer, and hybrid approaches using multi-stacked approach.

Flexible Data Input

Supports both NetCDF and CSV formats for climate and environmental datasets.

Hybrid Framework

Combine traditional time series models with machine learning and deep learning methods for improved forecast accuracy.

Visualization and Evaluation

Built-in utilities for plotting time series, model diagnostics, and forecast verification (correlation, RMSE, R²).

Project-Oriented Directory Structure

hybmkg_pycast/

├── config/ # JSON configuration files

├── data/ # Input data (CSV, NetCDF)

├── model/ # Model scripts (statistical, ML, DL)

├── plots/ # Generated plots (PNG)

├── results/ # Output results (CSV, trained models)

├── run_all.ipynb

├── hybmkg_pycast.yaml # Conda environment specification

🧩 Installation

You can install the package using pip:

pip install hybmkg-pycast

Or from source:

git clone https://github.com/yourusername/hybmkg_pycast.git

cd hybmkg_pycast

pip install .

If you prefer Conda, use the provided environment file:

conda env create -f hybmkg_pycast.yaml

conda activate hybmkg_pycast

📊 Applications

Seasonal and sub-seasonal climate forecasting

ENSO (El Niño–Southern Oscillation) prediction

Rainfall variability and extreme events analysis

Climate change impact studies

👥 Authors and Acknowledgment

Developed by researchers at BMKG to support data-driven climate prediction and research collaboration.

📄 License

This project is licensed under the MIT License.

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

hybmkg_pycast-0.1.5.tar.gz (236.8 kB view details)

Uploaded Source

Built Distribution

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

hybmkg_pycast-0.1.5-py3-none-any.whl (240.5 kB view details)

Uploaded Python 3

File details

Details for the file hybmkg_pycast-0.1.5.tar.gz.

File metadata

  • Download URL: hybmkg_pycast-0.1.5.tar.gz
  • Upload date:
  • Size: 236.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.10.19

File hashes

Hashes for hybmkg_pycast-0.1.5.tar.gz
Algorithm Hash digest
SHA256 8d0ee684e79baede53f317225cd1632a3bb1c01bdfa411fb5a2610129e415efa
MD5 78c587778727439a9e7bfbf240741c1d
BLAKE2b-256 baf8f5c4d81609ec79f3dfc0b2e302a20da4e1dda11b8b6d44f146105f076444

See more details on using hashes here.

File details

Details for the file hybmkg_pycast-0.1.5-py3-none-any.whl.

File metadata

  • Download URL: hybmkg_pycast-0.1.5-py3-none-any.whl
  • Upload date:
  • Size: 240.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.10.19

File hashes

Hashes for hybmkg_pycast-0.1.5-py3-none-any.whl
Algorithm Hash digest
SHA256 9a660b86747999740ea8ea14900aaa3d8e7e8d636d7c4128325080076053a93e
MD5 dc1a5021611652a60e25096c89243326
BLAKE2b-256 9dcccb43e6c65e22088170a27f73bdd68f170c598c5ed3648e1f493db16c0624

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