Few modifications#158
Merged
Merged
Conversation
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.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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.