Skip to content

Commit 9d70a71

Browse files
author
Steve Goldhaber
committed
CESM CLUBB version for CESM 2.2 development
1 parent 0a4e79e commit 9d70a71

File tree

79 files changed

+26959
-12305
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

79 files changed

+26959
-12305
lines changed

ChangeLog

Lines changed: 186 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -1,38 +1,204 @@
11
======================================================================
2-
Tag: vendor_clubb_r8099_n03
2+
Tag: clubb_ncar_backwards_compat_20181205_c20191001
33
Tag creator: cacraig, nusbaume
44
Date created: Oct 1, 2019
55

6-
Copied the files directly from a svn checkout of vendor_clubb_r8099_n02. No change other than committing to github.
6+
Commands issued:
7+
git clone https://github.com/larson-group/clubb_release
8+
cd clubb_release
9+
git checkout ncar_backwards_compat_20181205
10+
cd ~/clubb_release/src/CLUBB_core
11+
12+
commit everything in this directory, adding in the ChangeLog from CAM's vendor tags repo
13+
14+
CAM's mods applied to checked out code:
15+
---------------------------------
716

17+
diff -r ./clubb_api_module.F90 /glade/u/home/cacraig/subcol_SILHS_UWM_cleanup-TRUNK/components/cam/src/physics/clubb/clubb_api_module.F90
18+
144c144,153
19+
< l_rcm_supersat_adj
20+
---
21+
> l_rcm_supersat_adj, &
22+
> l_damp_wp3_Skw_squared, &
23+
> l_predict_upwp_vpwp, &
24+
> l_min_wp2_from_corr_wx, &
25+
> l_min_xp2_from_corr_wx, &
26+
> l_upwind_xpyp_ta, &
27+
> l_vert_avg_closure, &
28+
> l_trapezoidal_rule_zt, &
29+
> l_trapezoidal_rule_zm, &
30+
> l_call_pdf_closure_twice
31+
282c291,295
32+
< iup2_vp2_factor, iSkw_max_mag
33+
---
34+
> iup2_vp2_factor, iSkw_max_mag, l_damp_wp3_Skw_squared, &
35+
> l_predict_upwp_vpwp, l_min_wp2_from_corr_wx, l_min_xp2_from_corr_wx, &
36+
> l_upwind_xpyp_ta, l_vert_avg_closure, l_trapezoidal_rule_zt, &
37+
> l_trapezoidal_rule_zm, l_call_pdf_closure_twice
38+
>
39+
diff -r ./model_flags.F90 /glade/u/home/cacraig/subcol_SILHS_UWM_cleanup-TRUNK/components/cam/src/physics/clubb/model_flags.F90
40+
172c172
41+
< logical, private :: &
42+
---
43+
> logical, public :: &
44+
45+
46+
**** error_code.F90
47+
79c79
48+
< write(err_header,'(A7,I7,A20)') "Process ", getpid(), " -- CLUBB -- ERROR: "
49+
---
50+
> write(err_header,'(A20)') " -- CLUBB -- ERROR: "
851

952
======================================================================
10-
Tag: vendor_clubb_r8099_n02
11-
Tag creator: cacraig, vlarson
12-
Date created: Oct 4, 2017
53+
Tag: clubb_ncar_backwards_compat_20181205_c20190528
54+
Tag creator: cacraig
55+
Date created: May 28, 2019
56+
57+
Summary of Change:
58+
Removed getpid() from error_code.F90 as not all systems have this available
1359

14-
Comment:
15-
This tag was created to bring in the changes to saturation.F90 (rev 8471) from Vince Larson. Vince's comment follows:
60+
Reason for Change:
61+
hobart testing had a link error tryiing to getpid(). Removed this from the diagnostice write
1662

17-
"I clipped temperature within the Goff-Gratch functions for saturation over liquid and ice.
18-
The goal was to avoid the creation of NaNs that caused CAM to crash over the Himalayas.
19-
The result of applying a minimal threshold on temperature is to set saturation to the same small
20-
value in all cold areas.
63+
Mods applied to checked out code:
64+
---------------------------------
65+
**** error_code.F90
66+
79c79
67+
< write(err_header,'(A7,I7,A20)') "Process ", getpid(), " -- CLUBB -- ERROR: "
68+
---
69+
> write(err_header,'(A20)') " -- CLUBB -- ERROR: "
2170

22-
To test the code change, I ran the priority single-column cases and determined that the new code
23-
produces bin-diff identical results for these cases. That just means that these cases are not cold.
24-
However, the code change might increase
25-
saturation in cold areas in CAM, thereby diminishing condensation in the upper atmosphere.
26-
It would be prudent to check a WACCM simulation for degradation. If there is degradation,
27-
the minimum temperatures could be set to smaller values."
2871

72+
Status:
73+
M error_code.F90
74+
75+
======================================================================
76+
======================================================================
77+
Tag: clubb_ncar_backwards_compat_20181205
78+
Tag creator: cacraig
79+
Date created: April 29, 2019
2980
Command(s) issued:
30-
svn co http://carson.math.uwm.edu/repos/clubb_repos/trunk/src/CLUBB_core (revision # at UWM was 8471)
31-
replace saturation.F90
81+
git clone https://github.com/larson-group/clubb_release
82+
cd clubb_release
83+
git checkout ncar_backwards_compat_20181205
84+
85+
svn co https://svn-ccsm-models.cgd.ucar.edu/clubb_core/vendor_trunk vendor_trunk-CLUBB
86+
cd vendor_trunk
87+
cp ~/clubb_release/src/CLUBB_core/* .
88+
89+
90+
Mods applied to checked out code:
91+
---------------------------------
92+
93+
diff -r ./clubb_api_module.F90 /glade/u/home/cacraig/subcol_SILHS_UWM_cleanup-TRUNK/components/cam/src/physics/clubb/clubb_api_module.F90
94+
144c144,153
95+
< l_rcm_supersat_adj
96+
---
97+
> l_rcm_supersat_adj, &
98+
> l_damp_wp3_Skw_squared, &
99+
> l_predict_upwp_vpwp, &
100+
> l_min_wp2_from_corr_wx, &
101+
> l_min_xp2_from_corr_wx, &
102+
> l_upwind_xpyp_ta, &
103+
> l_vert_avg_closure, &
104+
> l_trapezoidal_rule_zt, &
105+
> l_trapezoidal_rule_zm, &
106+
> l_call_pdf_closure_twice
107+
282c291,295
108+
< iup2_vp2_factor, iSkw_max_mag
109+
---
110+
> iup2_vp2_factor, iSkw_max_mag, l_damp_wp3_Skw_squared, &
111+
> l_predict_upwp_vpwp, l_min_wp2_from_corr_wx, l_min_xp2_from_corr_wx, &
112+
> l_upwind_xpyp_ta, l_vert_avg_closure, l_trapezoidal_rule_zt, &
113+
> l_trapezoidal_rule_zm, l_call_pdf_closure_twice
114+
>
115+
diff -r ./model_flags.F90 /glade/u/home/cacraig/subcol_SILHS_UWM_cleanup-TRUNK/components/cam/src/physics/clubb/model_flags.F90
116+
172c172
117+
< logical, private :: &
118+
---
119+
> logical, public :: &
120+
32121

33122
Status:
123+
A LY93_pdf.F90
124+
M Nc_Ncn_eqns.F90
125+
M Skx_module.F90
126+
M T_in_K_module.F90
127+
A adg1_adg2_3d_luhar_pdf.F90
128+
M advance_clubb_core_module.F90
129+
M advance_helper_module.F90
130+
M advance_windm_edsclrm_module.F90
131+
M advance_wp2_wp3_module.F90
132+
M advance_xm_wpxp_module.F90
133+
M advance_xp2_xpyp_module.F90
134+
A advance_xp3_module.F90
135+
D anl_erf.F90
136+
M array_index.F90
137+
M calc_roots.F90
138+
M calendar.F90
139+
M clip_explicit.F90
140+
M clip_semi_implicit.F90
141+
M clubb_api_module.F90
142+
M clubb_precision.F90
143+
M constants_clubb.F90
144+
M corr_varnce_module.F90
145+
M csr_matrix_module.F90
146+
M diagnose_correlations_module.F90
147+
M diffusion.F90
148+
M endian.F90
149+
M error_code.F90
150+
M file_functions.F90
151+
M fill_holes.F90
152+
M gmres_cache.F90
153+
M gmres_wrap.F90
154+
M grid_class.F90
155+
M hydromet_pdf_parameter_module.F90
156+
M index_mapping.F90
157+
M input_names.F90
158+
M input_reader.F90
159+
M interpolation.F90
160+
M lapack_wrap.F90
161+
M matrix_operations.F90
162+
M mean_adv.F90
163+
M mixing_length.F90
164+
M model_flags.F90
165+
M mono_flux_limiter.F90
166+
A new_pdf.F90
167+
A new_pdf_main.F90
168+
A new_tsdadg_pdf.F90
169+
M numerical_check.F90
170+
M output_grads.F90
171+
M output_netcdf.F90
172+
M parameter_indices.F90
173+
M parameters_model.F90
174+
M parameters_tunable.F90
175+
M pdf_closure_module.F90
176+
M pdf_parameter_module.F90
177+
M pdf_utilities.F90
178+
M pos_definite_module.F90
179+
M precipitation_fraction.F90
180+
M recl.inc
34181
M saturation.F90
35-
M ChangeLog
182+
M setup_clubb_pdf_params.F90
183+
M sigma_sqd_w_module.F90
184+
M sponge_layer_damping.F90
185+
M stat_file_module.F90
186+
M stats_clubb_utilities.F90
187+
M stats_lh_sfc_module.F90
188+
M stats_lh_zt_module.F90
189+
M stats_rad_zm_module.F90
190+
M stats_rad_zt_module.F90
191+
M stats_sfc_module.F90
192+
M stats_type.F90
193+
M stats_type_utilities.F90
194+
M stats_variables.F90
195+
M stats_zm_module.F90
196+
M stats_zt_module.F90
197+
M surface_varnce_module.F90
198+
A turbulent_adv_pdf.F90
199+
M variables_diagnostic_module.F90
200+
M variables_prognostic_module.F90
201+
36202

37203
======================================================================
38204
Tag: clubb_r8099

0 commit comments

Comments
 (0)