Skip to content

Negative flow path length #300

@ClaRizzo

Description

@ClaRizzo
  • whitebox version: 2.2.0
  • Python version: 3.10.8

Description

Hi, I’m trying to compute the flow length using the DownslopeFlowpathLength function (both in python and in the QGIS inteface). The tool seems to work, but I have negative lengths as results. Am I doing something wrong? Could you explain what the output represents?
Thank you!

What I Did

wbt.downslope_flowpath_length(flow_dir_catch, flowlength_catch, esri_pntr=True)

Python/QGIS result:

image

Expected result:

image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions