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.4.tar.gz (3.7 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.4-py3-none-any.whl (3.5 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: hybmkg_pycast-0.1.4.tar.gz
  • Upload date:
  • Size: 3.7 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.4.tar.gz
Algorithm Hash digest
SHA256 9054e6f2ce0588f7db8286205912b4079c97c388650d71b9d45cc4ee42c7c7c5
MD5 2e75e9558dec2ad933d0b2966b16f6d6
BLAKE2b-256 82e6f806fb5410bc317dda8bbd31550511386240f80ee760fadcbe2b5ee41774

See more details on using hashes here.

File details

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

File metadata

  • Download URL: hybmkg_pycast-0.1.4-py3-none-any.whl
  • Upload date:
  • Size: 3.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.4-py3-none-any.whl
Algorithm Hash digest
SHA256 bf005df650ed361eb8b7cdd8763636155d8a90218f169a802fdf1ccb0700e4fb
MD5 8759dde2a7594d5c9b036b109ec344fc
BLAKE2b-256 a9fe5a5fb2d4b24ce2e8ccff05c24818186ceeee5ccb1ac281560b7e46ebea0f

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