-
Notifications
You must be signed in to change notification settings - Fork 363
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
Further modifications to check_energy.F90 #1498
Conversation
Fixed a bug in check_energy.F90, which will cause runtime error if subcol treatment is used. Also cleaned up the IEFLX code and added more comments [BFB]
Hi @susburrows I assigned this bug fix PR to you, since you helped to integrate the original PR (#1303). Feel free to re-assign if needed. Thanks! |
@singhbalwinder go ahead and start merging this. |
I talked with @kaizhangpnl few days back and he told me to hold on until he resolves some issues regarding this PR. @kaizhangpnl : Is it ready to go now? |
Please hold on for one more day. I am making a couple of further changes to address the need from the coupled team. |
from the coupled team. SHFLXFIX was removed. Instead, we output SHFLXORI (SHFLX before applying the IEFLX fixer). IEFLX is now a constant field (global mean IEFLX). Also removed the pbuf variable for IEFLX, since it is not used at this time. [BFB] for prognostic fields, but IEFLX and SHFLXFIX are changed/removed.
Looks good me. I like the comments regarding different IEFLX options. Good job. |
Thanks for the quick review. |
Does this fix #1479? |
Yes, the related code was removed. |
Ok. Please update the PR description then. |
You should add a github keyword on a single line at the end of the description to close the issue like this: See the merge commit message example in https://acme-climate.atlassian.net/wiki/display/Docs/Commit+message+template |
Thanks, but the guide says that's for integrator to merge commit messages? |
Yes the integrator will make the merge commit message but they just copy and paste what's in the PR description at the top. I realize now that the docs aren't very clear on this. |
I see, thanks. |
@singhbalwinder Since there is no more new comment, I think it's ready to be merged. Thanks. |
@rljacob: I am not sure if there is a rule that reviewers have to officially approve (using github review process) before a branch can be merged. @kaizhangpnl has indicated that this is ready to merge. Should I go ahead and merge it? |
Yeah we haven't spelled that out. @tangq said it was ok in a comment. If @kaizhangpnl doesn't want the other requested review, then its ok to merge. |
If no one has officially requested changes with a review, its up to the integrator and the developer. |
Hi, I just made a change. I think Qi can represent the coupled team. :) |
Thanks @rljacob and @kaizhangpnl . I will wait for @tangq review before proceeding. |
Hi @singhbalwinder Qi already reviewed the code. See above. |
Ok. Thanks @kaizhangpnl. I will merge this to next when it is open for merging. |
match the new grid alias style that includes the masks, mg16, mg17, mg37, mgusgs. Test suite: scripts_regression_test Test baseline: Test namelist changes: Test status: bit for bit Fixes #1498 User interface changes?: Code review:
@kaizhangpnl : Does this PR change/remove/add any variable in the history files or any variables which are sent to the coupler? If yes, we should probably list this PR as Non-BFB? |
@singhbalwinder As written in the commit message, the solution is BFB, but IEFLX is added as default and SHFLXFIX removed. No modifications to the coupler. If the testing simulations will output and compare h0 files with those output from the previous model, it would be different. |
When fields are added/removed in a history file, I don't think the cprnc test will FAIL. It only fails if the content of a specific field with the same name is different. |
This "Fixes" in c36bf99 is in reference to an issue with that number in ESMCI. This is an unfortunate side effect of using subtree for CIME and not referencing issues with the complete repo path. |
Thanks for the information. @singhbalwinder please let me know if you see any strange failed test. thanks! |
Thanks @kaizhangpnl and @rljacob . I didn't know that CPRNC only fails when the fields are different. I will merge it to next soon. |
Further modifications to check_energy.F90 to address the need from the coupled team. Cleaned up the IEFLX code and added more comments. Please note that the namelist variable l_ieflx_fix was removed and the fixer can be switched on if ieflx_opt is 1 or 2 (recommended value is 2). The problem associated with #1479 went away with those changes. SHFLXFIX was removed. Instead, we output SHFLXORI (SHFLX before applying the IEFLX fixer). IEFLX is now a constant field (global mean IEFLX) and default output. Also removed the pbuf variable for IEFLX, since it is not used at this time. [BFB] for prognostic fields, but IEFLX and SHFLXFIX are changed/removed. Fixes #1479 * kaizhangpnl/atm/ieflx_cleanup: Further modifications to check_energy.F90 to address the need from the coupled team. minor comment Bugfix for the IEFLX fixer Conflicts: components/cam/src/physics/cam/phys_control.F90
pushed to next. |
Thanks! Fingers crossed. :) |
Everything went well with the nightly testing so I am merging it to master. |
Further modifications to check_energy.F90 Further modifications to check_energy.F90 to address the need from the coupled team. Cleaned up the IEFLX code and added more comments. Please note that the namelist variable l_ieflx_fix was removed and the fixer can be switched on if ieflx_opt is 1 or 2 (recommended value is 2). The problem associated with #1479 went away with those changes. SHFLXFIX was removed. Instead, we output SHFLXORI (SHFLX before applying the IEFLX fixer). IEFLX is now a constant field (global mean IEFLX) and default output. Also removed the pbuf variable for IEFLX, since it is not used at this time. [BFB] for prognostic fields, but IEFLX and SHFLXFIX are changed/removed. Fixes #1479 * kaizhangpnl/atm/ieflx_cleanup: Further modifications to check_energy.F90 to address the need from the coupled team. minor comment Bugfix for the IEFLX fixer Conflicts: components/cam/src/physics/cam/phys_control.F90
Great. Thanks! |
Further modifications to check_energy.F90 Further modifications to check_energy.F90 to address the need from the coupled team. Cleaned up the IEFLX code and added more comments. Please note that the namelist variable l_ieflx_fix was removed and the fixer can be switched on if ieflx_opt is 1 or 2 (recommended value is 2). The problem associated with #1479 went away with those changes. SHFLXFIX was removed. Instead, we output SHFLXORI (SHFLX before applying the IEFLX fixer). IEFLX is now a constant field (global mean IEFLX) and default output. Also removed the pbuf variable for IEFLX, since it is not used at this time. [BFB] for prognostic fields, but IEFLX and SHFLXFIX are changed/removed. Fixes #1479 * kaizhangpnl/atm/ieflx_cleanup: Further modifications to check_energy.F90 to address the need from the coupled team. minor comment Bugfix for the IEFLX fixer Conflicts: components/cam/src/physics/cam/phys_control.F90
Further modifications to check_energy.F90 Further modifications to check_energy.F90 to address the need from the coupled team. Cleaned up the IEFLX code and added more comments. Please note that the namelist variable l_ieflx_fix was removed and the fixer can be switched on if ieflx_opt is 1 or 2 (recommended value is 2). The problem associated with #1479 went away with those changes. SHFLXFIX was removed. Instead, we output SHFLXORI (SHFLX before applying the IEFLX fixer). IEFLX is now a constant field (global mean IEFLX) and default output. Also removed the pbuf variable for IEFLX, since it is not used at this time. [BFB] for prognostic fields, but IEFLX and SHFLXFIX are changed/removed. Fixes #1479 * kaizhangpnl/atm/ieflx_cleanup: Further modifications to check_energy.F90 to address the need from the coupled team. minor comment Bugfix for the IEFLX fixer Conflicts: components/cam/src/physics/cam/phys_control.F90
Further modifications to check_energy.F90 to address the need from the coupled team. Cleaned up the IEFLX code and added more comments. Please note that the namelist variable l_ieflx_fix was removed and the fixer can be switched on if ieflx_opt is 1 or 2 (recommended value is 2).
The problem associated with #1479 went away with those changes.
SHFLXFIX was removed. Instead, we output SHFLXORI (SHFLX before applying the IEFLX fixer).
IEFLX is now a constant field (global mean IEFLX) and default output.
Also removed the pbuf variable for IEFLX, since it is not used at this time.
[BFB] for prognostic fields, but IEFLX and SHFLXFIX are changed/removed.
Fixes #1479