-
Notifications
You must be signed in to change notification settings - Fork 5
UNST-9493: excess temperature bugfix 2 #435
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
base: main
Are you sure you want to change the base?
Conversation
|
Please have a look at Wilbert's comment (12 Dec) in the issue; he prefers an error instead of a warning. |
|
Erik just replied to Wilbert's comment that he will make a separate issue to turn the warning into an error; so it's outside the scope of this issue. Do you agree? |
|
Please add a subfolder "doc", both to testcase This is needed because a script collects all docs from all testcases and it fails (on purpose) if a doc folder is missing. You can start by copying a "doc" folder from another testcase, most probably it will not contain relevant information. Please spent an hour to put all relevant information that you have at hand in the doc latex file. |
I had a chat with Erik: he will add a comment to the issue: can you please change the warning into an error as part of this issue? Can you ask me to review again when you changed this and when you added doc folders to the testcases? |
… composite heat flux model is used
adrimourits
left a comment
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.
I'm surprised that besides solving the review-comments, you also did a global search/replace on jatim-> temperature_model (which is a big improvement). Did you communicate this upfront with somebody? Instead of 2 files changed, your PR now involves 42 files changed.
If the pipeline is green, you can merge it.
adrimourits
left a comment
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.
Sorry, another comment
| end subroutine set_external_forcings | ||
|
|
||
| !> set_temperature_models | ||
| subroutine set_temperature_models(time_in_seconds) |
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.
I'm sorry :-(, I have another comment:
Please rename subroutine update_meteo_forcing into set_temperature_model (without the s at the end).
update_meteo_forcing is wrong because:
updatesuggests data is being updated (but it's just flags/ec-module preparation stuff)meteosuggest also wind and precipitation (but it's just the temperature exchange model)
What was done
Use
backgroundwatertemperatureinstead ofair_temperature_in_cellto compute heat flux out of the water in the excess modelAdded a testcase to test this behaviour
Renamed
jatemtotemperature_modeland parameterised its options (TEMPERATURE_MODEL_NONE=0, TEMPERATURE_MODEL_TRANSPORT=1, TEMPERATURE_MODEL_EXCESS=3, TEMPERATURE_MODEL_COMPOSITE=5)Renamed
set_temperature_modelsfunction toupdate_meteo_forcingEvidence of the work done
Tests
Documentation
backgroundwatertemperaturekeyword description in User Manual to reflect its use in the heat flux computations in the excess modelIssue link