-
Notifications
You must be signed in to change notification settings - Fork 9
Issue #1316 msw model from imod5 data #1328
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 53 commits into
issue_#1260_from_imod5_data_metaswap
from
issue_#1316_msw_model_from_imod5_data
Dec 12, 2024
Merged
Changes from all commits
Commits
Show all changes
53 commits
Select commit
Hold shift + click to select a range
ddd87e1
Add parser function for parasim.inp
JoerivanEngelen 8734a5d
Start adding a MetaSwapModel.from_imod5_data method
JoerivanEngelen 2e4d8ba
Merge branch 'issue_#1260_from_imod5_data_metaswap' into issue_#1316_…
JoerivanEngelen 435641c
Enable importing Sprinkling from_imod5_data
JoerivanEngelen c0ad931
Fix input for IdfMapping
JoerivanEngelen bf228c2
Merge branch 'issue_#1260_from_imod5_data_metaswap' into issue_#1316_…
JoerivanEngelen 213bfc4
Fix some mypy issues
JoerivanEngelen 82b593f
Add docstring, add timeoutputcontrol (so that startime can be set), a…
JoerivanEngelen 7dfb56c
format
JoerivanEngelen 0a86baa
Merge branch 'issue_#1260_from_imod5_data_metaswap' into issue_#1316_…
JoerivanEngelen 6f15441
Fix keyerror
JoerivanEngelen 19e48f3
Take boundary dataarray, as this is more likely to be the grid.
JoerivanEngelen 78f9c61
Drop layer coord and broadcast scalars to grid
JoerivanEngelen e5acfb3
Add masking utilities
JoerivanEngelen a6878f0
Call masking utilities
JoerivanEngelen 486fa84
Use MetaSwapActive
JoerivanEngelen f98111e
Add validate option for write method and add TimeOutputControl,
JoerivanEngelen d5db271
Type annotate return type
JoerivanEngelen 299d461
mask package data and force soil physical unit to int
JoerivanEngelen 5a347c6
Deactivate bottom resistance
JoerivanEngelen 11a6707
Mask cap data with new function
JoerivanEngelen 5f6d449
force landuse to int dtype
JoerivanEngelen e5df224
Rename to mask_package_data and implement simplified mask_and_broadca…
JoerivanEngelen 22b12a0
format
JoerivanEngelen e792095
Move setup_meteo_grids to separate fixture in module
JoerivanEngelen bb984b6
Add iMOD5 cap fixture
JoerivanEngelen 422faff
Import added fixtures
JoerivanEngelen 6adc1ea
Use tmp_path
JoerivanEngelen 4ec6781
Format
JoerivanEngelen 5c41cc7
Fixes to cap data fixture
JoerivanEngelen aa6d67f
Type annotate
JoerivanEngelen a09adfb
Move meteogrids setup outside tests
JoerivanEngelen d296a1d
Add tests for MetaSwapModel.from_imod5_data
JoerivanEngelen 35d4e6f
Correctly get all active from MetaSwapActive object
JoerivanEngelen 82a3cd6
Fix type annotation
JoerivanEngelen 2b27939
Fix some mypy issues
JoerivanEngelen de09d3f
Fix mypy errors
JoerivanEngelen 42bb964
Convert Imod5DataDict to TypedDict and remove casting redundancy
JoerivanEngelen 173e98e
Move drop layer coord logic to separate utility
JoerivanEngelen 11ad02d
Better function names
JoerivanEngelen 50078c0
Add tests for mask
JoerivanEngelen 764c064
Add scaling factor if active.
JoerivanEngelen c8f9ec7
Add from_imod5_data method to public API
JoerivanEngelen ef7bbf0
Update API docs
JoerivanEngelen 4ef85f0
Fix failing unittests
JoerivanEngelen 628fab4
Add docstring
JoerivanEngelen 4c673cc
Format
JoerivanEngelen 3ae0c8d
Add MaskValues dataclass to store sentinel values
JoerivanEngelen ea86e4d
Avoid nested try except
JoerivanEngelen d85c112
Better varname
JoerivanEngelen 78d1e7a
Add newlines in docstrings for indented lists
JoerivanEngelen 439aba6
Import Simulation option dataclasses for public API
JoerivanEngelen 298ad70
Format
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
Oops, something went wrong.
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.
Uh oh!
There was an error while loading. Please reload this page.