-
Notifications
You must be signed in to change notification settings - Fork 150
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
add safeguard to thompson_reff #779
add safeguard to thompson_reff #779
Conversation
@azadeh-gh and @emilyhcliu : I understand that you are testing the proposed changes to ensure minimal impact on the analysis. If you find that the changes in this PR are insufficient or need revision we can either abandon this PR or I can add your changes to this PR. |
WCOSS2 ctests
The
The change to |
@RussTreadon-NOAA The safeguard you added are totally reasonable. It only checked qx > 0 before the calculation, but for Thompson, check nr and ni should be added. With the safeguard added, the global_4denvar failed due to non-reproducible is expected. The overall impact of the safeguard should be small. |
Thank you @emilyhcliu for the review and approval. |
WCOSS2 debug ctests
The failure is due to the contrl (
Line 2773 of
In contrast the updat debug
The |
@RussTreadon-NOAA @azadeh-gh would like to add some comments here. |
Thank, you @emilyhcliu for the heads up. @azadeh-gh please feel free to add comments here. I do not plan on merging this PR into |
@RussTreadon-NOAA Thank you Russ. |
@azadeh-gh , your suggestion has been committed to |
@RussTreadon-NOAA Thank you! |
Thank you @azadeh-gh for the quick action. As a final check I will rerun the global_4denvar ctest using the optimized and debug |
WCOSS2 tests The optimized build yields following ctest results
The global_4denvar failure is due to non-reproducible results.
Different analysis results are expected. This PR adds safeguards to the effective radius calculation in Rebuild
The
The cloud ice number concentration can be 0.0. This results in |
* origin/develop: Move to contrib spack-stack on Jet (NOAA-EMC#787) a quick workaround for increasing the mpi task numbers on orion for ctest :: rrfs_3denvar_rdasens (NOAA-EMC#788) Recover the capability of handling model fields from operation gfs.v16.3 (NOAA-EMC#785) fix a bug in deter_sfc_gmi (NOAA-EMC#781) add safeguard to thompson_reff (NOAA-EMC#779) Fix incorrect usage of real(i_kind) in mg_input.f90 (NOAA-EMC#760) Transition to Thompson Microphysics for Microwave All-sky Assimilation (NOAA-EMC#743) Format changes for EUMETSAT metop-sg and CADS debug fix (NOAA-EMC#773) Update global_4denvar and global_enkf ctests to reflect GFS v17 (NOAA-EMC#774) fix for cris-fsr memory corruption (NOAA-EMC#767) Gnssrwnd1.0 (NOAA-EMC#747)
Description
This PR adds safeguards to subroutine
thompson_reff
to ensure the ice and rain number concentrations,ni
andnr
, respectively are greater than zero. With this additional check the global_4denvar ctest runs to completion using the debuggsi.x
.An additional change is to remove an extraneous debug print identified by @wx20jjung.
Resolves #777
Type of change
How Has This Been Tested?
Build debug
gsi.x
and run global_4denvar ctest. Test runs to completion.Checklist