GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - BadibossPy/Wflow-ML-Flood-Forecasting: Catalog-independent Wflow SBM hydrological model for the Upper Niger Basin. Complete ETL pipeline from raw ERA5/SRTM to runnable Julia simulation. Includes documented error resolutions and reusable patterns for building Wflow-sbm model.

BranchesTags
Open more actions menu

Latest commit

 

History

6 Commits
6 Commits

Folders and files

NameName
Last commit message
Last commit date
data
data
 
 
models
models
 
 
notebooks
notebooks
 
 
scripts
scripts
 
 
src
src
 
 
.gitignore
.gitignore
 
 
README.md
README.md
 
 
requirements.txt
requirements.txt
 
 

Repository files navigation

Wflow-ML-Flood-Forecasting

Overview

A physics-informed hydrological forecasting system for the Upper Niger Basin, integrating Wflow SBM with Machine Learning for flood prediction.

Project Structure

Wflow-ML-Flood-Forecasting/
├── data/
│   ├── static/              # DEM, flow direction, slope (from SRTM)
│   └── processed/           # ERA5 daily forcing
├── notebooks/
│   ├── 00_static_data_acquisition.ipynb  # Download SRTM, derive LDD
│   ├── 01_data_acquisition.ipynb         # ERA5-Land forcing
│   └── 02_wflow_model_build.ipynb        # Model inspection
├── models/wflow_sbm/wflow_niger/
│   ├── staticmaps.nc        # Static model parameters
│   ├── inmaps.nc            # ERA5 forcing (precip, temp, PET)
│   ├── cyclic_lai.nc        # Monthly LAI climatology
│   └── wflow_sbm.toml       # Wflow configuration
├── scripts/
│   ├── create_model_files.py
│   └── verify_model.py
└── requirements.txt

Model Domain

  • Region: Upper Niger Basin (Guinea/Mali)
  • Bbox: [-10.5°, 9.5°, -6.5°, 13.0°]
  • Resolution: 0.1° (~10 km)
  • Period: 2019-01-01 to 2020-02-29

Data Sources

Dataset Source Resolution
DEM CGIAR SRTM 90m 90m
Flow Direction Derived (pyflwdir) 0.1°
Forcing ERA5-Land 0.1° daily
LAI Synthetic climatology Monthly

Quick Start

1. Install Dependencies

pip install -r requirements.txt

2. Download Static Data

Run notebooks/00_static_data_acquisition.ipynb or:

python scripts/create_model_files.py

3. Run Wflow Simulation

Requires Julia + Wflow.jl:

cd models/wflow_sbm/wflow_niger
julia -e "using Wflow; Wflow.run(\"wflow_sbm.toml\")"

Notebooks

# Notebook Description
00 00_static_data_acquisition Download SRTM, derive flow direction
01 01_data_acquisition ERA5-Land forcing download
02 02_wflow_model_build Model inspection and visualization

Model Configuration

  • Type: Wflow SBM (Soil-Bucket Model)
  • Routing: Kinematic wave
  • Timestep: Daily (86400 s)
  • Snow: Disabled (tropical region)

Output Variables

  • q_river: River discharge (m³/s)
  • satwaterdepth: Saturated zone depth
  • ustorelayerdepth: Unsaturated storage

About

Catalog-independent Wflow SBM hydrological model for the Upper Niger Basin. Complete ETL pipeline from raw ERA5/SRTM to runnable Julia simulation. Includes documented error resolutions and reusable patterns for building Wflow-sbm model.

Topics

climate-datadeltaresera5-landflood-forecastinggeospatial-analysisgeospatial-processinghydrology-modelinghydrology-simulationjulianetcdf4open-datapythonsbmsrtm-datawater-resourceswflow

Resources

Readme
Activity

Stars

1 star

Watchers

0 watching

Forks

0 forks
Report repository

Releases

Packages

Contributors

Languages

You are visitor 01402792 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.