-
Notifications
You must be signed in to change notification settings - Fork 249
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
Bugfix for convection (prog closure) and gravity wave drag (for stochastic perturbations) needed for GFS/GEFS prototypes #1677
Conversation
@lisa-bengtsson can you sync up branch to resolve conflicts? RegressionTests_hera.intel.log is empty in the branch. It might be easier to attach in the PR (not push into the branch) if hera.intel test is done on your side. |
The cpld_control_gfsv17 test fails which is unexpected, as the code I'm updating is only exercised at resolutions higher than 30km, and the cpld_control_gfsv17 test is run at C96 resolution. I'm thinking since I am also updating some input/output arguments, the difference with the baseline could be due to some optimization. However, yesterday I ran two tests of cpld_control_gfsv17 with the added -DDEBUG=ON in the compile line. One from the latest "top of develop" ufs-weather-model", and one from this PR, and the output files still differ. Could I expect differences with the baseline due to such updates in arguments passed in/out even with the debug compile flag on? I'm not sure how to proceed. Plotting the differences shows very small diffs, the files are identical after output hour 0. |
@lisa-bengtsson if cpld_control_gfsv17 runs thru those subroutines with in/out update, chances are to get the results changed, right?. I think I can try sticking a few print statement in the middle to make sure. |
Yes, cpld_control_gfsv17 does run through those subroutines, and I think you are right that chances that updated argument in/out could change results, I just don't really know how to conclude that this is the case. I was hoping it would reproduce with the DEBUG flag on, because then it would point to some optimization. If you could add some print statements that would be fantastic, Hera is unfortunately down today. |
When Hera comes back up I will run through the operational regression tests. |
Hera is back up. |
@lisa-bengtsson test shows cpld_control_gfsv17 runs thru the code changes on progsigma_calc.f90, samfdeepcnv.f, etc. so, baseline change makes a sense, I guess. |
The OpnReqTest for cpld_control_gfsv17_hera.intel.log passes: |
Yes, I think you are right, since the ORT's passes I also believe it is OK. I will update the description of this PR to also create new baselines for the cpld_control_gfsv17 test. |
@jkbk2004 I updated to the top of develop and then merged in the gravity wave drag PR in ccpp/physics. Please let me know the next step. |
@mdtoyNOAA #1696 is combined into this pr. Please, go ahead to confirm. @lisa-bengtsson Can you update the PR title to reflect #1696? |
Has both GNU and Intel tests been run on Hera or Cheyenne? |
All test are done. we can start merging process. |
Once the commit to update hash and .gitmodules comes in it will override Dusan's approval. What I do is wait for that final commit and then request final approvals. |
Sorry @BrianCurtis-NOAA it seems that I pushed old logfiles when updating .gitmodules, can I revert that somehow? So sorry. |
a6cdc08
to
68aa17d
Compare
@lisa-bengtsson Actually it looks like you were fine until you force-pushed. Unfortunately the force push reverted log files and the BL_DATE in rt.sh to an old value. |
oh no, there was a conflict with rt.sh and the logfiles with my branch as they were pushed from others and I screwed up. Can I revert to the last successful commit and try to update .gitmodules again? |
@lisa-bengtsson it seems it doesn't recover fully with git revert 68aa. I think I have a backup local files ok for logs. Do you want me to push the logs again and fix with new bl_date? |
@jkbk2004 yes, thank you. So sorry about the trouble. |
@lisa-bengtsson sorry I was in meeting. the fv3 pr was merged. can you update fv3 pointer? correct one is NOAA-EMC/fv3atm@decb0b9 |
@DeniseWorthen @BrianCurtis-NOAA sounds like all set. Please, go head for final reviews and approvals. |
Tag EP4 has been created |
Description
Solves issues: #1693 and ufs-community/ccpp-physics#6 (merged in from @mdtoyNOAA PR)
This PR updates the prognostic closure in samfdeepcnv.f and samfshalcnv.f for HR2:
The impact of these changes on the results are small, two months verification with this update can be seen here (the PR corresponds to the experiment called prog_fix2)
https://www.emc.ncep.noaa.gov/gmb/jhan/vsdbw/progcb/
PR merged in from @mdtoyNOAA:
This PR fixes a bug that occurs when running stochastic physics. As part of ccpp-physics PR#22, the order in which subroutines "gwdps_run" and "drag_suite_run" were called by subroutine "unified_ugwp_run" was reversed. Subroutine "drag_suite_run" is called last, but the variable "RDXZB" (the level of the dividing streamline for blocking) is initialized, which zeros out the value that was calculated in "gwdps_run". RDXZB is needed outside of the unified_ugwp subroutine by stochastic physics. This caused stochastic physics runs to crash. The bug was not caught by regression testing.
The problem has been fixed by changing the declaration of "RDXZB" from "intent(out)" to "intent(inout)" in drag_suite.F90 and drag_suite.meta, and initializing it in drag_suite.F90 only when the GSL drag suite blocking is performed, i.e., when "do_gsl_drag_ls_bl" is equal to .true.
*** This fix needs to be done for running the GEFS.v13 reanalysis and reforecasts.
Top of commit queue on: TBD
Input data additions/changes
Anticipated changes to regression tests:
cpld_control_gfsv17 due to updates aimed for HR2.
Subcomponents involved:
Combined with PR's (If Applicable):
Commit Queue Checklist:
Linked PR's and Issues:
Testing Day Checklist:
Testing Log (for CM's):