Skip to content

Optimize local sinkhole - #7

Open
qijuechenwsp wants to merge 3 commits into
mainfrom
optimize_local_sinkhole
Open

Optimize local sinkhole#7
qijuechenwsp wants to merge 3 commits into
mainfrom
optimize_local_sinkhole

Conversation

@qijuechenwsp

Copy link
Copy Markdown
Contributor

Local test using stage_Step = 5 and tool run on small input raster successfully. Output looks reasonable, but in need of further review.

@qijuechenwsp
qijuechenwsp requested a review from thwllms July 31, 2026 14:45

@thwllms thwllms left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@qijuechenwsp working well, I think! Agree that output does look reasonable. Comments:

  • raster/__init__.py is large and a little hard to follow. Can we organize these functions into multiple submodules?
  • I'm not certain that the final watershed clip is working. Can you look into that?
  • I think we might want to avoid working with Pandas/GeoPandas here, since we're dealing with really large scale. See if we can avoid Pandas/GeoPandas by working with gdal/ogr only.

@qijuechenwsp

Copy link
Copy Markdown
Contributor Author

@thwllms I rid of any shapely or geopandas usage, separated functions into submodules, and then fixed the watershed clipping so it doesn't generate/copy over watershed boundary when there's no overflow etc. PR ready for review!

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.

2 participants