Skip to content

Generating a D4 routing slope vector #280

@mvhulten

Description

@mvhulten

We are testing out pysheds to use in our ParFlow static-file generator, but the (apparent) limitations of the function object cell_slopes() are:

  • It returns a scalar the slope between each cell and its downstream neighbour, instead of a vector
  • It does d8, dinf and mfd only and not d4, at least it does not recognise routing=d4

Is it possible to return a slope vector and use D4 routing?

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