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.3.tar.gz (3.6 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.3-py3-none-any.whl (3.4 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: hybmkg_pycast-0.1.3.tar.gz
  • Upload date:
  • Size: 3.6 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.3.tar.gz
Algorithm Hash digest
SHA256 4a3a37931567bcab9294051c94aeab1ef7b60219efb1e4c3d4a4c5b9916e2115
MD5 ff020d8711d8a44db942ac46f0ab4a2b
BLAKE2b-256 99f3f2281608b50b0373d85eb2526b8dd38de987eef04f7e9f28dc3d06b8b7aa

See more details on using hashes here.

File details

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

File metadata

  • Download URL: hybmkg_pycast-0.1.3-py3-none-any.whl
  • Upload date:
  • Size: 3.4 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.3-py3-none-any.whl
Algorithm Hash digest
SHA256 ca660fbf233d3c760c5f61432435973ff50d898e35c342c75f60a9e2ec935b0c
MD5 2b34cae480a1aaa8b3c40c860872df10
BLAKE2b-256 506e8b53a3444ea6fad0c48456c3f738e00b7b2b3ac0076ea424dec2c2013f45

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