-
Notifications
You must be signed in to change notification settings - Fork 118
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
Fix uninitialized values in cs_profile
when iv == -3
#302
Fix uninitialized values in cs_profile
when iv == -3
#302
Conversation
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.
This should be correct. Thank you for submitting a fix so quickly.
@laurenchilutti can we bring this back into GitLab? Thanks.
This follows the suggestion of Lucas Harris in NOAA-GFDL#301 for the fix.
71eee1f
to
8f9bece
Compare
@lharris4 thanks for quickly providing the suggestion for the fix! FYI my force push was only to update the commit message to indicate all values of |
Apologies for potentially interfering with the CI with this rapid re-push. |
@spencerkclark No problem, thank you for taking care of this. |
This PR updates the dycore, physics, and driver NOAA-GFDL submodules in this repo to their latest `main` branches. Now that - NOAA-GFDL/SHiELD_physics#31 - NOAA-GFDL/atmos_drivers#31 - NOAA-GFDL/atmos_drivers#30 - NOAA-GFDL/GFDL_atmos_cubed_sphere#302 have been merged, all the required features in SHiELD are in place to bring SHiELD-wrapper up-to-par with fv3gfs-wrapper. Note that NOAA-GFDL/SHiELD_physics#31 made changes to the long names of some of the diagnostics output in our regression test, which required a checksum update. I have also taken the liberty to remove the disclaimer from the README that states that changes to SHiELD are required to bring SHiELD-wrapper up-to-par with FV3GFS. That is no longer a limiting factor, and those remaining features are implemented in open PRs in this repo.
Description
Following the suggestion from @lharris4 in #301 (comment), this assigns values to
gam(i,km)
consistent with the interior of the column wheniv == -3
incs_profile
. It should be expected to change answers for non-hydrostatic simulations wherefv_core_nml.kord_wz < -7
.Fixes #301
How Has This Been Tested?
This has not been tested for scientific correctness, though I have tested that the change proposed here addresses the non-reproducibility issue identified in #301. I now get bitwise-identical results every time I run the model in this configuration.
Checklist:
Please check all whether they apply or not