Skip to content

FlwdirRaster.basins(xy=(X, Y)): with output Basin + Ldd #75

@AquaPore

Description

@AquaPore

Kind of request

Adding new functionality

Enhancement Description

Hi,

basins is an amazing tool as I am using it to deliminate basins for the Wflow model. I also require to provide Wflow model with flw.

Therefore It will be usefull when using xy option that it also returns flw.

As my understanding when utilizing the xy option you are also modifying `flw

Ldd_FlwdirRaster.add_pits(xy=(X, Y))

PROPOSED OUTPUT

XY=[146661.436,42179.926]
 X, Y = np.array([XY[0]]), np.array([XY[1]])
subcatchment, flw = flw .basins!(xy=(X, Y))

With Kindness,
Joseph

Use case

No response

Additional Context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions