Fast methods to work with hydro- and topography data in pure Python.
Project description
Intro
PyFlwDir contains a series of methods to work with gridded DEM and flow direction datasets, which are key to many workflows in many earth sciences. PyFlwDir supports several flow direction data conventions and can easily be extended to include more. The package contains some unique methods such as Iterative Hydrography Upscaling (IHU) method to upscale flow directions from high resolution data to coarser model resolution.
PyFlwDir is in pure python and powered by numba to keep it fast.
Featured methods
flow directions from elevation data using a steepest gradient algorithm
strahler stream order
flow direction upscaling
(sub)basin delineation
pfafstetter subbasins delineation
classic stream order
height above nearest drainage (HAND)
geomorphic floodplain delineation
up- and downstream tracing and arithmetics
hydrologically adjusting elevation
upstream accumulation
vectorizing streams
many more!
Installation
Quickstart
See user guide
Reference API
See reference API
Development and Testing
Welcome to the PyFlwDir project. All contributions, bug reports, bug fixes, documentation improvements, enhancements, and ideas are welcome. See Contributing to PyFlwDir for how we work.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file pyflwdir-0.5.8.tar.gz
.
File metadata
- Download URL: pyflwdir-0.5.8.tar.gz
- Upload date:
- Size: 1.1 MB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.9.18
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | be059dcade8bde51102e7e832903e76bec391b8bb460ca571895f511f4c18e4d |
|
MD5 | 352908d0fe21347bbe548332429d2b23 |
|
BLAKE2b-256 | 8e2d69b8bdbaa4bec55a982d8b8e2527ab83268aa9fff999dded5cc9603379cf |
File details
Details for the file pyflwdir-0.5.8-py3-none-any.whl
.
File metadata
- Download URL: pyflwdir-0.5.8-py3-none-any.whl
- Upload date:
- Size: 65.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.9.18
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 07f5499e976e3b45ea5750869dc6c3b85a77aa674ac73c45f7da0a2e9f7e66db |
|
MD5 | 2490b11d8adf8d1d1f5d947a57da6e01 |
|
BLAKE2b-256 | b3f484fd5c45bd807c7f2dd4e6b2c301270c3defbbefe5eeca1434277d561468 |