{"id":22169344,"url":"https://github.com/deltares/pyflwdir","last_synced_at":"2025-04-12T23:29:28.939Z","repository":{"id":37480735,"uuid":"409871473","full_name":"Deltares/pyflwdir","owner":"Deltares","description":"Fast methods to work with hydro- and topography data in pure Python.","archived":false,"fork":false,"pushed_at":"2025-02-18T21:11:55.000Z","size":44074,"stargazers_count":84,"open_issues_count":10,"forks_count":29,"subscribers_count":8,"default_branch":"main","last_synced_at":"2025-04-11T06:35:22.415Z","etag":null,"topics":["basins","d8","hydrography","hydrology","ldd","topography","watershed"],"latest_commit_sha":null,"homepage":"https://deltares.github.io/pyflwdir/latest","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Deltares.png","metadata":{"files":{"readme":"README.rst","changelog":"CHANGELOG.rst","contributing":"CONTRIBUTING.rst","funding":null,"license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.txt","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":"AUTHORS.txt","dei":null,"publiccode":null,"codemeta":null}},"created_at":"2021-09-24T07:22:34.000Z","updated_at":"2025-03-18T19:36:55.000Z","dependencies_parsed_at":"2023-01-23T08:31:10.623Z","dependency_job_id":"c004d77d-e651-4c6f-9886-0bde981bd987","html_url":"https://github.com/Deltares/pyflwdir","commit_stats":{"total_commits":420,"total_committers":4,"mean_commits":105.0,"dds":0.01904761904761909,"last_synced_commit":"3e6f0c88ac7d656c1d00e809b381b25a7238a840"},"previous_names":[],"tags_count":24,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Deltares%2Fpyflwdir","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Deltares%2Fpyflwdir/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Deltares%2Fpyflwdir/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Deltares%2Fpyflwdir/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Deltares","download_url":"https://codeload.github.com/Deltares/pyflwdir/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248530569,"owners_count":21119597,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["basins","d8","hydrography","hydrology","ldd","topography","watershed"],"created_at":"2024-12-02T06:31:01.326Z","updated_at":"2025-04-12T23:29:28.908Z","avatar_url":"https://github.com/Deltares.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"#############################################################################\nPyFlwDir: Fast methods to work with hydro- and topography data in pure Python\n#############################################################################\n\n.. image:: https://codecov.io/gh/Deltares/PyFlwDir/branch/main/graph/badge.svg?token=N4VMHJJAV3\n    :target: https://codecov.io/gh/Deltares/PyFlwDir\n\n.. image:: https://img.shields.io/badge/docs-latest-brightgreen.svg\n    :target: https://deltares.github.io/pyflwdir/latest\n    :alt: Latest docs\n\n.. image:: https://mybinder.org/badge_logo.svg\n    :alt: Binder\n    :target: https://mybinder.org/v2/gh/Deltares/pyflwdir/main?urlpath=lab/tree/examples\n\n.. image:: https://badge.fury.io/py/PyFlwDir.svg\n    :target: https://pypi.org/project/PyFlwDir/\n    :alt: Latest PyPI version\n\n.. image:: https://anaconda.org/conda-forge/PyFlwDir/badges/version.svg\n    :target: https://anaconda.org/conda-forge/PyFlwDir\n\n.. image:: https://zenodo.org/badge/409871473.svg\n   :target: https://zenodo.org/badge/latestdoi/409871473\n\n.. image:: https://img.shields.io/github/license/Deltares/pyflwdir?style=flat\n    :alt: License\n    :target: https://github.com/Deltares/pyflwdir/blob/main/LICENSE\n\n\n\nIntro\n-----\n\nPyFlwDir contains a series of methods to work with gridded DEM and flow direction\ndatasets, which are key to many workflows in many earth sciences.\nPyFlwDir supports several flow direction data conventions and can easily be extended to include more.\nThe package contains some unique methods such as Iterative Hydrography Upscaling (IHU)\nmethod to upscale flow directions from high resolution data to coarser model resolution.\n\nPyFlwDir is in pure python and powered by `numba \u003chttps://numba.pydata.org/\u003e`_ to keep it fast.\n\n\nFeatured methods\n----------------\n\n- flow directions from elevation data using a steepest gradient algorithm\n- strahler stream order\n- flow direction upscaling\n- (sub)basin delineation\n- pfafstetter subbasins delineation\n- classic stream order\n- height above nearest drainage (HAND)\n- geomorphic floodplain delineation\n- up- and downstream tracing and arithmetics\n- hydrologically adjusting elevation\n- upstream accumulation\n- vectorizing streams\n- many more!\n\n.. image:: https://raw.githubusercontent.com/Deltares/pyflwdir/main/docs/_static/pyflwdir.png\n  :width: 100%\n\n\nInstallation\n------------\n\nSee `installation guide \u003chttps://deltares.github.io/pyflwdir/latest/installation.html\u003e`_\n\nQuickstart\n----------\n\nSee `user guide \u003chttps://deltares.github.io/pyflwdir/latest/quickstart.html\u003e`_\n\n\nReference API\n-------------\n\nSee `reference API \u003chttps://deltares.github.io/pyflwdir/latest/reference.html\u003e`_\n\n\nDevelopment and Testing\n-----------------------\n\nWelcome to the PyFlwDir project. All contributions, bug reports, bug fixes, documentation improvements, enhancements, and ideas are welcome.\nSee `Contributing to PyFlwDir \u003chttps://deltares.github.io/pyflwdir/latest/contributing.html\u003e`__ for how we work.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdeltares%2Fpyflwdir","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdeltares%2Fpyflwdir","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdeltares%2Fpyflwdir/lists"}