Loading repository data…
Loading repository data…
fema-ffrd / repository
A high-performance Python library for hydrological terrain analysis that specializes in processing massive Digital Elevation Models (DEMs) through parallel, tiled algorithms.
A transparent discovery signal based on current public GitHub metadata.
This score does not audit code, security, maintainers, documentation quality, or suitability. Verify the repository and its current documentation before adoption.
Warning: This software is currently in alpha status. While functional, it may contain bugs and undergo breaking changes. See the documentation for more details.
Overflow is a high-performance Python library for hydrological terrain analysis that specializes in processing massive Digital Elevation Models (DEMs) through parallel, tiled algorithms.
Overflow provides a complete toolchain for extracting hydrographic features from raw elevation data:
Unlike traditional GIS tools that rely on virtual memory, Overflow uses sophisticated tiled algorithms with parallel processing to handle datasets of any size efficiently.
# Create conda environment with system dependencies
conda create -n overflow python gdal -c conda-forge
conda activate overflow
# Install overflow from PyPI
pip install overflow-hydro
import overflow
# Process a DEM through the complete pipeline
overflow.breach("input.tif", "breached.tif")
overflow.fill("breached.tif", "filled.tif")
overflow.flow_direction("filled.tif", "flowdir.tif")
overflow.accumulation("flowdir.tif", "flowacc.tif")
overflow.streams("flowacc.tif", "flowdir.tif", "streams/")
overflow.basins("flowdir.tif", "basins.tif")
# Run the complete pipeline
overflow pipeline \
--dem_file input.tif \
--output_dir ./results
# Or run individual steps
overflow breach input.tif breached.tif
overflow fill breached.tif filled.tif
overflow flow-direction filled.tif flowdir.tif
overflow accumulation flowdir.tif flowacc.tif
docker pull ghcr.io/fema-ffrd/overflow:latest
docker run -v $(pwd):/data ghcr.io/fema-ffrd/overflow:latest \
pipeline --dem_file /data/input.tif --output_dir /data/results
For detailed documentation, algorithm descriptions, and API reference, visit:
https://fema-ffrd.github.io/overflow/
We welcome contributions! Please see CONTRIBUTING.md for guidelines.
This project is licensed under the MIT License - see the LICENSE file for details.