# anan5093/satellite-radar-flood-pipeline architecture

> Architecture diagram of the GitHub repository anan5093/satellite-radar-flood-pipeline, generated by GitDiagram from its file tree, README and a sample of source files (last updated 2026-11-11). It is an AI-made overview: check details against the source.

- Interactive diagram: https://gitdiagram.com/anan5093/satellite-radar-flood-pipeline
- Repository: https://github.com/anan5093/satellite-radar-flood-pipeline

## Overview

This is a notebook-driven flood-impact analysis for India: it uses Google Earth Engine (GEE) to process Sentinel-1 SAR, detect new inundation, mask permanent water, estimate population exposure, and report area and population totals. The repository also includes an exported HTML map. The README documents the workflow and capabilities, but no source excerpts were provided, so implementation-level call relationships cannot be verified.

Main entry points: [`Radar_Flood_Mapping_Project.ipynb`](https://github.com/anan5093/satellite-radar-flood-pipeline/blob/main/Radar_Flood_Mapping_Project.ipynb) (Permanent-water masking), [`index.html`](https://github.com/anan5093/satellite-radar-flood-pipeline/blob/main/index.html) (Interactive map export)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_inputs["Data inputs"]
  node_gee{{"Earth Engine"}}
  node_sentinel[("Sentinel-1 GRD")]
  node_worldpop[("WorldPop")]
  node_ingestion["SAR ingestion"]
end

subgraph group_radar["Radar analysis"]
  node_notebook["Analysis notebook"]
  node_preprocessing["SAR preprocessing"]
  node_change["Change detection"]
  node_watermask["Permanent-water masking"]
end

subgraph group_impact["Impact analytics"]
  node_exposure["Population exposure"]
end

subgraph group_outputs["Reporting"]
  node_report["Regional statistics"]
  node_map["Interactive map export<br/>[index.html]"]
end

node_analyst(("Analyst"))

node_analyst -->|"runs analysis"| node_notebook
node_notebook -->|"executes on"| node_gee
node_ingestion -->|"reads imagery"| node_sentinel
node_ingestion -->|"provides collections"| node_preprocessing
node_preprocessing -->|"provides composites"| node_change
node_change -->|"provides candidates"| node_watermask
node_watermask -->|"provides flood mask"| node_exposure
node_exposure -->|"overlays population"| node_worldpop
node_exposure -->|"provides zonal sums"| node_report
node_watermask -->|"provides flood area"| node_report
node_report -->|"exports map"| node_map

click node_notebook "https://github.com/anan5093/satellite-radar-flood-pipeline/blob/main/Radar_Flood_Mapping_Project.ipynb"
click node_ingestion "https://github.com/anan5093/satellite-radar-flood-pipeline/blob/main/Radar_Flood_Mapping_Project.ipynb"
click node_preprocessing "https://github.com/anan5093/satellite-radar-flood-pipeline/blob/main/Radar_Flood_Mapping_Project.ipynb"
click node_change "https://github.com/anan5093/satellite-radar-flood-pipeline/blob/main/Radar_Flood_Mapping_Project.ipynb"
click node_watermask "https://github.com/anan5093/satellite-radar-flood-pipeline/blob/main/Radar_Flood_Mapping_Project.ipynb"
click node_exposure "https://github.com/anan5093/satellite-radar-flood-pipeline/blob/main/Radar_Flood_Mapping_Project.ipynb"
click node_report "https://github.com/anan5093/satellite-radar-flood-pipeline/blob/main/Radar_Flood_Mapping_Project.ipynb"
click node_map "https://github.com/anan5093/satellite-radar-flood-pipeline/blob/main/index.html"

classDef toneNeutral fill:#f8fafc,stroke:#334155,stroke-width:1.5px,color:#0f172a
classDef toneBlue fill:#dbeafe,stroke:#2563eb,stroke-width:1.5px,color:#172554
classDef toneAmber fill:#fef3c7,stroke:#d97706,stroke-width:1.5px,color:#78350f
classDef toneMint fill:#dcfce7,stroke:#16a34a,stroke-width:1.5px,color:#14532d
classDef toneRose fill:#ffe4e6,stroke:#e11d48,stroke-width:1.5px,color:#881337
classDef toneIndigo fill:#e0e7ff,stroke:#4f46e5,stroke-width:1.5px,color:#312e81
classDef toneTeal fill:#ccfbf1,stroke:#0f766e,stroke-width:1.5px,color:#134e4a
class node_gee,node_sentinel,node_worldpop,node_ingestion toneBlue
class node_notebook,node_preprocessing,node_change,node_watermask toneAmber
class node_exposure toneMint
class node_report,node_map toneRose
class node_analyst toneIndigo
```

## Components

### Data inputs

- **Earth Engine**
- **Sentinel-1 GRD**
- **WorldPop**
- [SAR ingestion](https://github.com/anan5093/satellite-radar-flood-pipeline/blob/main/Radar_Flood_Mapping_Project.ipynb): `Radar_Flood_Mapping_Project.ipynb`

### Radar analysis

- [Analysis notebook](https://github.com/anan5093/satellite-radar-flood-pipeline/blob/main/Radar_Flood_Mapping_Project.ipynb): `Radar_Flood_Mapping_Project.ipynb`
- [SAR preprocessing](https://github.com/anan5093/satellite-radar-flood-pipeline/blob/main/Radar_Flood_Mapping_Project.ipynb): `Radar_Flood_Mapping_Project.ipynb`
- [Change detection](https://github.com/anan5093/satellite-radar-flood-pipeline/blob/main/Radar_Flood_Mapping_Project.ipynb): `Radar_Flood_Mapping_Project.ipynb`
- [Permanent-water masking](https://github.com/anan5093/satellite-radar-flood-pipeline/blob/main/Radar_Flood_Mapping_Project.ipynb): `Radar_Flood_Mapping_Project.ipynb`

### Impact analytics

- [Population exposure](https://github.com/anan5093/satellite-radar-flood-pipeline/blob/main/Radar_Flood_Mapping_Project.ipynb): `Radar_Flood_Mapping_Project.ipynb`

### Reporting

- [Regional statistics](https://github.com/anan5093/satellite-radar-flood-pipeline/blob/main/Radar_Flood_Mapping_Project.ipynb): `Radar_Flood_Mapping_Project.ipynb`
- [Interactive map export](https://github.com/anan5093/satellite-radar-flood-pipeline/blob/main/index.html): `index.html`

### Other components

- **Analyst**

## Connections

- Analyst → Analysis notebook: runs analysis (evidence: `README.md`)
- Analysis notebook → Earth Engine: executes on (evidence: `README.md`)
- SAR ingestion → Sentinel-1 GRD: reads imagery (evidence: `README.md`)
- SAR ingestion → SAR preprocessing: provides collections (evidence: `README.md`)
- SAR preprocessing → Change detection: provides composites (evidence: `README.md`)
- Change detection → Permanent-water masking: provides candidates (evidence: `README.md`)
- Permanent-water masking → Population exposure: provides flood mask (evidence: `README.md`)
- Population exposure → WorldPop: overlays population (evidence: `README.md`)
- Population exposure → Regional statistics: provides zonal sums (evidence: `README.md`)
- Permanent-water masking → Regional statistics: provides flood area (evidence: `README.md`)
- Regional statistics → Interactive map export: exports map (evidence: `README.md`)
