Skip to content

Few modifications#158

Merged
wschwanghart merged 5 commits into
TopoToolbox:mainfrom
wschwanghart:main
Apr 28, 2026
Merged

Few modifications#158
wschwanghart merged 5 commits into
TopoToolbox:mainfrom
wschwanghart:main

Conversation

@wschwanghart
Copy link
Copy Markdown
Contributor

This PR includes modifications to getcoordinates, getoutline and an enhancement of the GRIDobj/pad function. Also, a new function FLOWobj/reweight enables recalculating the fractions in a multiple flow direction network. GRIDobj/inpaintnans now leverages fillmissing2 if the type is "neighbors". This tremendously increases the speed. Finally, mfwdtrans in PPS has been replaced with projfwd.

schwangh added 5 commits April 20, 2026 11:44
STREAMobj/crs returned an error when options.mingradient is nan. This bug is resolved.
GRIDobj/pad now enables more flexible array growing/shrinking by letting users define different padding amounts on each side of the GRIDobj.
GRIDobj/getoutline, when called with one output argument, returns a geotable. This table had non-scalar entries that contain the coordnates. These were removed because otherwise, the geotable cannot be exported to a shapefile.
This function takes a multiple directions FLOWobj and recalculates the fractions based on inter-node slopes derived from a DEM. The function maintains the same flow network topology.
Inpaintnans with the option 'neighbors' now uses the function fillmissing2 using a moving average 3x3 window.
This commit replaces mfwdtran with projfwd in PPS.
@wschwanghart wschwanghart merged commit 4d91918 into TopoToolbox:main Apr 28, 2026
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant