[general]
name=FloodDepth
qgisMinimumVersion=3.44
qgisMaximumVersion=4.99
description=Flood extent, water depth and their uncertainty from satellite imagery and a DEM, computed entirely inside QGIS: no external executables, no extra Python packages.
version=0.5.0
author=Edmond Akello
email=francenicklaus@gmail.com
about=FloodDepth turns a satellite image of a flood (or a flood-extent layer)
    and a DEM into a flood-depth map with uncertainty bands and a printable
    report. Every computation runs inside QGIS with NumPy and the GDAL
    bindings that QGIS ships: no external executables, no pip install.

    Find it under Raster > FloodDepth, on the Raster toolbar (the tools and the guide) and
    in the Processing Toolbox. The user guide is installed with the plugin
    and opens from the menu and from every tool's Help button.

    Imagery: select the downloaded files as they are - Copernicus / EO
    Browser 'Raw' bands, Sentinel-2 SAFE, Landsat Collection 2, multiband
    stacks, Sentinel-1 VV/VH. Water from NDWI + confident MNDWI (or SAR)
    with an edge-based Otsu threshold; implausible thresholds are refused,
    not used. Permanent water from a pre-event image, ESA WorldCover or JRC
    occurrence. Flood-trace mode maps vegetation lost between two dates for
    floods that drained before the overpass.

    3D: every run writes an interactive 3D scene (one offline HTML file):
    the terrain draped with the image or any basemap layer, the water
    coloured by depth, mud and debris, the flood edge and labelled places.

    DEMs: FABDEM, Copernicus GLO-30, ALOS, TanDEM-X, the Google GEM 15 m DTM
    or LiDAR, as one file or as tiles (only the cells under the area are
    read). A Prepare DEM tool merges, clips and reprojects tiles with
    bilinear resampling and checks them for resampling artefacts.

    Depth: the water surface from the terrain along the flood edge (FwDET
    boundary method), or from a HAND raster. Uncertainty: a Monte Carlo
    ensemble with correlated DEM error and extent perturbation gives depth
    P10 / P50 / P90 and flood probability. Several image dates give the
    maximum observed depth and the dates flooded. Terrain-based estimates,
    not a hydraulic model.

    Licensed under the GNU General Public License version 3 or later.
category=Raster
tags=flood,flood depth,flood mapping,disaster,GEM,DTM,inundation,water,Sentinel-2,Sentinel-1,Landsat,NDWI,MNDWI,Otsu,DEM,HAND,FwDET,uncertainty,erosion,hydrology,processing
icon=icon.svg
experimental=False
deprecated=False
hasProcessingProvider=yes
homepage=https://github.com/EdmondAkello/Flood-Depth
repository=https://github.com/EdmondAkello/Flood-Depth
tracker=https://github.com/EdmondAkello/Flood-Depth/issues
changelog=0.5.0: first store release. Interactive 3D scene (offline HTML: terrain draped with the image or any basemap layer at its own resolution, water by depth, mud and debris, labelled places); refined depth raster (smooth edges on a finer grid); fewer false alarms - SWIR1 rule against bright land, haze and thin cloud, cloud-shadow rule, SCL / cloud-mask files (Sen1Floods11 CSI 0.76, false alarms 9 percent); DEM tiles and the Google GEM 15 m DTM, Prepare DEM (threaded, memory-safe), DEM audit and memory check; inputs checked (an image or web layer in the DEM field, radar mixed with optical, pyramid files, a band given twice); Raster menu, toolbar button and offline user guide; map colours; LandXML-style report with sharper maps; every output loaded in a layer group; QGIS 3.44 to 4. 0.4.1: edge water level halfway up the step to the first dry cell (cap 1 m) - flat-floodplain underestimate down 40-80 percent on the depth benchmark; CI compiles every file. 0.4.0: redesign. One-click Quick flood depth (image or extent + DEM -> depth, uncertainty, report); automatic band recognition from file names and metadata (Browser Raw exports, SAFE, Landsat, multiband, False color, Sentinel-1); NDWI + confident MNDWI with an edge-based Otsu threshold, separability and a plausibility guard (Sen1Floods11 CSI 0.74); permanent water from a pre-event image, WorldCover or JRC; flood-trace mode with inundation vs erosion / deposition evidence; FwDET boundary depth with NoData-edge exclusion, outlier screening, inverse-distance surface and slope-aware smoothing (seconds instead of hours); HAND method; Monte Carlo uncertainty (depth P10/P50/P90, flood probability); extent comparison (CSI); all grids aligned automatically (geographic DEMs on UTM). Fixes the 0.3 stage tool, which failed on every input. See CHANGELOG.md
