Skip to content

murad-geoAi/rainfall-timeseries-forecasting

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Rainfall Forecasting App

The project forecasts monthly rainfall for March to October 2026 and estimates which days in a selected month have the highest chance of rainfall based on historical daily behavior.

Highlights

  • compares multiple forecasting models with a time-aware validation setup
  • selects the final model using validation metrics instead of test leakage
  • saves forecasts, evaluation tables, figures, and model metadata
  • serves the results through a clean Streamlit app
  • keeps training dependencies separate from lightweight app deployment

Best Saved Model

Repository Layout

rainfall-timeseries-forecasting/
|-- app.py
|-- streamlit_app.py
|-- train.py
|-- evaluate.py
|-- forecasting_pipeline.py
|-- data_module.py
|-- daily_rainfall_profiles.py
|-- lightning_module.py
|-- models.py
|-- project_paths.py
|-- data/
|   |-- raw/
|   |-- processed/
|   `-- study_area/
|-- outputs/
|   |-- forecasts/
|   |-- evaluation/
|   `-- figures/
|-- artifacts/
|   |-- models/
|   |-- checkpoints/
|   `-- metadata/
|-- docs/
|-- scripts/
|-- .streamlit/
|-- requirements.txt
|-- requirements-training.txt
`-- runtime.txt

Folder Guide

  • data/raw/: original daily rainfall dataset
  • data/processed/: monthly dataset and daily climatology tables used by the app
  • data/study_area/: geospatial boundary files for the study area
  • outputs/forecasts/: saved future rainfall forecasts
  • outputs/evaluation/: model comparison tables and backtest predictions
  • outputs/figures/: charts generated by the forecasting pipeline
  • artifacts/models/: trained model files saved after training
  • artifacts/checkpoints/: sequence-model checkpoints
  • artifacts/metadata/: selected-model metadata for the app and reports
  • docs/: deployment notes and social sharing copy
  • scripts/: supporting scripts, including the Google Earth Engine export script

Main Entry Points

Quick Start

For the Streamlit app only:

pip install -r requirements.txt
python -m streamlit run app.py

If Streamlit is installed in a different Python environment:

C:\ProgramData\Anaconda3\python.exe -m streamlit run app.py

For the full training and evaluation workflow:

pip install -r requirements-training.txt
python train.py
python evaluate.py

Important Outputs

Supporting Files

About

A reproducible pipeline for rainfall time-series dataset generation in Google Earth Engine and forecasting with deep learning and machine learning models.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors