-
Notifications
You must be signed in to change notification settings - Fork 6
Issue #1158 remaining hfb bottlenecks #1159
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
JoerivanEngelen
merged 35 commits into
imod5_converter_feature_branch
from
issue_#1158_remaining_HFB_bottlenecks
Aug 20, 2024
Merged
Changes from all commits
Commits
Show all changes
35 commits
Select commit
Hold shift + click to select a range
5c4daa7
update to new xugrid version to allow aggregating hfbs
JoerivanEngelen 3fa3ece
Update lockfile
JoerivanEngelen a0b091f
Add test to convert LHM
JoerivanEngelen 66cc255
Add test with multiple linestrings
JoerivanEngelen 2bb61cd
Call proper assert function
JoerivanEngelen 5bc8fb1
Aggregate lines to edges
JoerivanEngelen 386af3a
Move snapping and aggregation logic to separate function.
JoerivanEngelen 8564f0c
format
JoerivanEngelen 16ff403
Add function to enforce ugrid dataarays
JoerivanEngelen 9cfe7f9
Better name
JoerivanEngelen cde947b
Further improve naming
JoerivanEngelen 2573907
Apply enforce_uda function
JoerivanEngelen a301e7e
Make test to write HFBs work
JoerivanEngelen c13a8d2
Add LHM and a pixi task for user acceptance tests.
JoerivanEngelen 5a24e8c
format
JoerivanEngelen 7ce2d33
mark with "user_acceptance" instead "lhm"
JoerivanEngelen be20a24
update changelog
JoerivanEngelen b505b52
Also update mark in pytest ini options
JoerivanEngelen e28b4ee
Update geodataframe type, to avoid restricted pip installation failing.
JoerivanEngelen 756120a
Ensure shortcut taken in and comparison and improve readability
JoerivanEngelen a3b922f
Remove automatic masking
JoerivanEngelen 6f8cd6a
Cache from_structured grid
JoerivanEngelen f9ddb1b
format
JoerivanEngelen 6334b72
Update changelog
JoerivanEngelen 1366f76
Merge branch 'imod5_converter_feature_branch' into issue_#1158_remain…
JoerivanEngelen a80110b
Cache topology instead of dataarray
JoerivanEngelen b8fcf83
Add snap_to_grid test that got accidentily removed in merge again
JoerivanEngelen ceb49fa
In model cleanup in tests, add mask_all_models
JoerivanEngelen d7fd9fa
Separate slow unittests to separate task with jitting enabled
JoerivanEngelen 2d0d5c7
Extend docstrings again that were accidentily removed during merging
JoerivanEngelen 86a05f4
Make sure cache size is not exceeded and add method to clear cache
JoerivanEngelen 4bef88d
format
JoerivanEngelen 61e4752
Add unittests for as_ugrid_dataarray and grid cache
JoerivanEngelen 999c90c
Fix code smells
JoerivanEngelen be685f1
Fix mypy error
JoerivanEngelen File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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
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
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
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
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
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
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
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
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
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
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
there are a few examples on regridding. Even if they don't need this masking, it may be helpful to modify them to do it anyway to make the reader aware how to mask all the regridded packages
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The hondsrug example is the example where we regrid a simulation. In this example data is already made consistent, and regridding doesn't introduce any problems. I defer from adding unnecessary calls to the example, as it might lead users to blindly call computationally intensive functions. However, I want to create an example how to import a (problematic) iMOD5 model, where some cleanup needs to be done (for which cleanup utilities have to be made). We could introduce that here. I'll create a separate issue for that.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
See issue here #1164