Metadata-Version: 2.4
Name: pyflwdir
Version: 0.5.11
Summary: Fast methods to work with hydro- and topography data in pure Python.
Author-email: Dirk Eilander <dirk.eilander@deltares.nl>
Requires-Python: >=3.9
Description-Content-Type: text/x-rst
Classifier: License :: OSI Approved :: MIT License
License-File: LICENSE
Requires-Dist: affine
Requires-Dist: numba>=0.54,<1.0
Requires-Dist: numpy
Requires-Dist: scipy
Requires-Dist: nbsphinx ; extra == "doc"
Requires-Dist: pydata-sphinx-theme ; extra == "doc"
Requires-Dist: sphinx ; extra == "doc"
Requires-Dist: sphinx_design ; extra == "doc"
Requires-Dist: cartopy>=0.20 ; extra == "examples"
Requires-Dist: descartes ; extra == "examples"
Requires-Dist: geopandas>0.8 ; extra == "examples"
Requires-Dist: jupyter ; extra == "examples"
Requires-Dist: matplotlib ; extra == "examples"
Requires-Dist: rasterio ; extra == "examples"
Requires-Dist: pandoc ; extra == "examples"
Requires-Dist: pyflwdir[test, doc, examples] ; extra == "full"
Requires-Dist: black[jupyter] ; extra == "test"
Requires-Dist: pre-commit ; extra == "test"
Requires-Dist: pytest>=2.7.3 ; extra == "test"
Requires-Dist: pytest-cov ; extra == "test"
Project-URL: Documentation, https://deltares.github.io/pyflwdir
Project-URL: Home, https://github.com/Deltares/pyflwdir
Provides-Extra: doc
Provides-Extra: examples
Provides-Extra: full
Provides-Extra: test

#############################################################################
PyFlwDir: Fast methods to work with hydro- and topography data in pure Python
#############################################################################

.. image:: https://codecov.io/gh/Deltares/PyFlwDir/branch/main/graph/badge.svg?token=N4VMHJJAV3
    :target: https://codecov.io/gh/Deltares/PyFlwDir

.. image:: https://img.shields.io/badge/docs-latest-brightgreen.svg
    :target: https://deltares.github.io/pyflwdir/latest
    :alt: Latest docs

.. image:: https://mybinder.org/badge_logo.svg
    :alt: Binder
    :target: https://mybinder.org/v2/gh/Deltares/pyflwdir/main?urlpath=lab/tree/examples

.. image:: https://badge.fury.io/py/PyFlwDir.svg
    :target: https://pypi.org/project/PyFlwDir/
    :alt: Latest PyPI version

.. image:: https://anaconda.org/conda-forge/PyFlwDir/badges/version.svg
    :target: https://anaconda.org/conda-forge/PyFlwDir

.. image:: https://zenodo.org/badge/409871473.svg
   :target: https://zenodo.org/badge/latestdoi/409871473

.. image:: https://img.shields.io/github/license/Deltares/pyflwdir?style=flat
    :alt: License
    :target: https://github.com/Deltares/pyflwdir/blob/main/LICENSE



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 <https://numba.pydata.org/>`_ 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!

.. image:: https://raw.githubusercontent.com/Deltares/pyflwdir/main/docs/_static/pyflwdir.png
  :width: 100%


Installation
------------

See `installation guide <https://deltares.github.io/pyflwdir/latest/installation.html>`_

Quickstart
----------

See `user guide <https://deltares.github.io/pyflwdir/latest/quickstart.html>`_


Reference API
-------------

See `reference API <https://deltares.github.io/pyflwdir/latest/reference.html>`_


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 <https://deltares.github.io/pyflwdir/latest/contributing.html>`__ for how we work.

