-
Notifications
You must be signed in to change notification settings - Fork 700
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
SFCLAY=1, add shallow water roughness calculation #1543
Merged
davegill
merged 30 commits into
wrf-model:develop
from
hawbecker:feature/shallow_water_roughness
Jan 19, 2022
Merged
Changes from all commits
Commits
Show all changes
30 commits
Select commit
Hold shift + click to select a range
a31407e
Adding necessary variables to the registry
hawbecker 83837a9
Passing variables through to sfclayrev
hawbecker ce1f541
Get water depth data
hawbecker 40dd9b2
Add function for shallow water roughness.
hawbecker 7813ca5
Bug fix: water_depth not being assigned.
hawbecker 37f6396
Changing default shalwater_depth to -1
hawbecker 4bbe43a
Rearrange shalwater_depth assignment to inside WRF
hawbecker 9885070
Clean up comments and print statements.
hawbecker 0446669
Clean up additional comments
hawbecker 5f9c088
Restructure code + add lake depth + clean
hawbecker 8e93d12
Making fatal error more helpful
hawbecker b57d8df
Adding description in README.namelist
hawbecker fe803cb
Deleting additional initial identifiers.
hawbecker ce6dc90
Adding examples for shallow water roughness
hawbecker 40eaa79
Adding units and fixing Registry fields
hawbecker 08ad7da
bathy 23:25
davegill 8fdfcf7
bathy2 08:32
davegill df63d7f
bathy3 09:30
davegill 3e71bbb
bathy4 11:34
davegill 8220723
bathy5 12:24
davegill 02b4865
bathy6 13:03
davegill eb3dc40
bathy7 13:38
davegill 1ea0306
Updating README.namelist for shalwater_depth
hawbecker 0f1ff0c
Merge branch 'feature/shallow_water_roughness' of https://github.com/…
hawbecker 17fbd2d
Add consistency check: requires use of revised MO sfclay
davegill 592ab0e
Removing "optional" declarations.
hawbecker 433f983
Merge branch 'feature/shallow_water_roughness' of https://github.com/…
hawbecker 37c24a4
Removing message about GEBCO dataset
hawbecker 1c4fb70
Adding bathymetry_flag to restarts and history
hawbecker 83c9dc7
Updating shalwater_rough to shalwater_z0
hawbecker 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 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 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 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 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 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 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.
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.
@phawbeck The default value set in the registry is -1. What does this signify?
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.
Hi @weiwangncar - This would come into play in the following case:
This would cause the value for shalwater_depth to default to -1, and a negative value would cause the model to produce an error. This prevents it from being activated accidentally / erroneously as setting the default value to something like 40 m might be problematic in some situations (e.g., simulations over deep water areas).
That said, I am open to changing it if this is an issue!
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.
@phawbeck This is probably ok. Usually the default value put in the registry file is a valid option/value, representing expected default behavior. In this case, it may be ok to force a user to define the depth so that the user knows what is used.