Skip to content
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

cam6_3_155: Update CLUBB and SILHS externals #960

Merged
merged 20 commits into from
Apr 12, 2024

Conversation

Katetc
Copy link
Collaborator

@Katetc Katetc commented Jan 12, 2024

New code with some adjustments for the TAUs tuning options.

Could be a place to address or discuss #953

Possibly another UWM CLUBB branch tag coming in the next week or so, but no changes to CAM code will be required for that, so we should be able to start the code reviews now. This does change answers for all CAM6 and cam_dev compsets. I made a 1 year comparison run against cam6_3_145 to see the impact of the new external and it seems low:
Diagnostics Here

@bstephens82 would be good to keep abreast here.

Closes #956
Closes #971
Closes #953

@Katetc Katetc self-assigned this Jan 12, 2024
@cacraigucar cacraigucar requested review from PeterHjortLauritzen and bstephens82 and removed request for JulioTBacmeister January 16, 2024 16:17
@bstephens82
Copy link
Collaborator

Based on the diagnostics, which are very similar before and after, I would guess the differences are due only to order-of-operations changes. I am checking with @vlarson to make sure that's right. There are physics changes in the taus code with this new external, but those should not appear in the tests if clubb_l_diag_Lscale_from_tau=F, as it is on the trunk.

@vlarson
Copy link

vlarson commented Jan 16, 2024

Based on the diagnostics, which are very similar before and after, I would guess the differences are due only to order-of-operations changes. I am checking with @vlarson to make sure that's right. There are physics changes in the taus code with this new external, but those should not appear in the tests if clubb_l_diag_Lscale_from_tau=F, as it is on the trunk.

Which two CLUBB tags are showing differences?

@bstephens82
Copy link
Collaborator

Based on the diagnostics, which are very similar before and after, I would guess the differences are due only to order-of-operations changes. I am checking with @vlarson to make sure that's right. There are physics changes in the taus code with this new external, but those should not appear in the tests if clubb_l_diag_Lscale_from_tau=F, as it is on the trunk.

Which two CLUBB tags are showing differences?

I believe it's just the previous tag,

clubb_4ncar_20221129_59cb19f_20230330_branchtag

versus the newer tag from 11-15-23:

clubb_4ncar_20231115_5406350

@vlarson
Copy link

vlarson commented Jan 16, 2024

Based on the diagnostics, which are very similar before and after, I would guess the differences are due only to order-of-operations changes. I am checking with @vlarson to make sure that's right. There are physics changes in the taus code with this new external, but those should not appear in the tests if clubb_l_diag_Lscale_from_tau=F, as it is on the trunk.

Which two CLUBB tags are showing differences?

I believe it's just the previous tag,

clubb_4ncar_20221129_59cb19f_20230330_branchtag

versus the newer tag from 11-15-23:

clubb_4ncar_20231115_5406350

If the comparison is between the newer tag and a tag as old as 2022-11-29, then yes, there are round-off level code changes, such as

larson-group/clubb_release@711714c

It sounds like Kate's comparison runs are demonstrating that there are no bigger changes than round off.

Copy link
Collaborator

@nusbaume nusbaume left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good, but I do have some questions and (hopefully minor) change requests.

@cacraigucar cacraigucar removed the request for review from peverwhee January 31, 2024 17:59
Copy link
Collaborator

@cacraigucar cacraigucar left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Mainly documentation clarifications for the namelists. Since these go into the CAM namelist web page, they need to be informative for users.

@cacraigucar cacraigucar changed the title Update CLUBB and SILHS externals cam6_3_153: Update CLUBB and SILHS externals Mar 5, 2024
Copy link

@adamrher adamrher left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hi Kate. My only comments are on the new CAM namelists. I have a specific question about the clubb_l_diffuse_rtm_and_thlm namelist below. But for the others, I want to confirm whether any of these are turning on new features that weren't on in the old external, or changing the value of parameters w.r.t the old external).

These are new logical namelists:

<clubb_l_calc_thlp2_rad > .true. </clubb_l_calc_thlp2_rad>
<clubb_l_fix_w_chi_eta_correlations > .true. </clubb_l_fix_w_chi_eta_correlations>
<clubb_l_tke_aniso > .true. </clubb_l_tke_aniso>
<clubb_l_upwind_xm_ma > .true. </clubb_l_upwind_xm_ma>
<clubb_l_use_precip_frac > .true. </clubb_l_use_precip_frac>

(These are only the new ones that were added and set to .true.. Ignoring the .false. ones).

Here are the other non-logicals:

<clubb_bv_efold > 5.0 </clubb_bv_efold>
<clubb_wpxp_Ri_exp                                > 0.5     </clubb_wpxp_Ri_exp>
<clubb_z_displace                                 > 25.0    </clubb_z_displace>

Copy link
Collaborator

@nusbaume nusbaume left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

All of my concerns have been resolved now. Thanks!

Copy link
Collaborator

@cacraigucar cacraigucar left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Still have my question about threading

@cacraigucar cacraigucar requested a review from adamrher March 18, 2024 22:16
@cacraigucar cacraigucar changed the title cam6_3_153: Update CLUBB and SILHS externals cam6_3_154: Update CLUBB and SILHS externals Mar 21, 2024
@cacraigucar cacraigucar changed the title cam6_3_154: Update CLUBB and SILHS externals Update CLUBB and SILHS externals Mar 27, 2024
@Katetc
Copy link
Collaborator Author

Katetc commented Mar 28, 2024

Hi Kate. My only comments are on the new CAM namelists. I have a specific question about the clubb_l_diffuse_rtm_and_thlm namelist below. But for the others, I want to confirm whether any of these are turning on new features that weren't on in the old external, or changing the value of parameters w.r.t the old external).

These are new logical namelists:

<clubb_l_calc_thlp2_rad > .true. </clubb_l_calc_thlp2_rad>
<clubb_l_fix_w_chi_eta_correlations > .true. </clubb_l_fix_w_chi_eta_correlations>
<clubb_l_tke_aniso > .true. </clubb_l_tke_aniso>
<clubb_l_upwind_xm_ma > .true. </clubb_l_upwind_xm_ma>
<clubb_l_use_precip_frac > .true. </clubb_l_use_precip_frac>

(These are only the new ones that were added and set to .true.. Ignoring the .false. ones).

Here are the other non-logicals:

<clubb_bv_efold > 5.0 </clubb_bv_efold>
<clubb_wpxp_Ri_exp                                > 0.5     </clubb_wpxp_Ri_exp>
<clubb_z_displace                                 > 25.0    </clubb_z_displace>

I checked that the logicals were all set to the same values in the previous external. The new non-logicals didn't exist in the previous tag, so there's nothing to compare them too. To see the impacts from this new external, there's comparison diagnostics here: https://webext.cgd.ucar.edu/F2000climo/newCLUBBtesting/larson_tag_20231115.katemerge.011124-1252.F2000dev.f09_f09_mg17_1_2_vs_larson_tag_control.cam6_3_145.011124-1252.F2000dev.f09_f09_mg17_1_2/

Copy link

@adamrher adamrher left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I checked that the logicals were all set to the same values in the previous external. The new non-logicals didn't exist in the previous tag, so there's nothing to compare them too. To see the impacts from this new external, there's comparison diagnostics here

Thanks Kate! PR looks good to me.

@bstephens82
Copy link
Collaborator

Based on the diagnostics, which are very similar before and after, I would guess the differences are due only to order-of-operations changes. I am checking with @vlarson to make sure that's right. There are physics changes in the taus code with this new external, but those should not appear in the tests if clubb_l_diag_Lscale_from_tau=F, as it is on the trunk.

Resolved.

@cacraigucar cacraigucar changed the title Update CLUBB and SILHS externals cam6_3_155: Update CLUBB and SILHS externals Apr 12, 2024
@cacraigucar cacraigucar removed the request for review from bstephens82 April 12, 2024 20:32
@cacraigucar cacraigucar dismissed bstephens82’s stale review April 12, 2024 20:35

All comments made by @bstephens82 have been resolved

@Katetc Katetc merged commit f942c96 into ESCOMP:cam_development Apr 12, 2024
@Katetc Katetc deleted the Kate/new_clubb_112923 branch April 12, 2024 22:30
gold2718 pushed a commit to gold2718/CAM that referenced this pull request May 2, 2024
Merge pull request ESCOMP#960 from Katetc/Kate/new_clubb_112923

cam6_3_155:  Update CLUBB and SILHS externals
New code with some adjustments for the TAUs tuning options.

Could be a place to address or discuss ESCOMP#953

Possibly another UWM CLUBB branch tag coming in the next week or so, but no changes to CAM code will be required for that, so we should be able to start the code reviews now. This does change answers for all CAM6 and cam_dev compsets. I made a 1 year comparison run against cam6_3_145 to see the impact of the new external and it seems low:
Diagnostics Here

@bstephens82 would be good to keep abreast here.

Closes ESCOMP#956
Closes ESCOMP#971
Closes ESCOMP#953

ESCOMP commit: f942c96
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: Tag
Development

Successfully merging this pull request may close these issues.

6 participants