Skip to content
Failed

Changes

Summary

  1. I have passed clubb_params down into advance_xm_wpxp_module.F90. (details)
  2. See ticket (details)
  3. I have passed down CLUBB's tunable parameters into advance_wp2_wp3_module.F90. (details)
  4. added some documentation in pdf_close_module.f90 and started writing of w_up_in_cloud to disk (details)
  5. I passed down CLUBB's tunable parameters into advance_xp2_xpyp_module.F90 (details)
  6. Passing down more of CLUBB's tunable parameters. (details)
  7. I accidentally removed an important comment in the previous commit. (details)
  8. Passing down more CLUBB tunable parameters. (details)
  9. More passing down CLUBB parameters ... whoop-de-doo (details)
  10. Passing down more tunable parameters and removing references to (details)
  11. Removing line to trigger the nightly tests for all repos. (details)
  12. See respective messages on the issue 958 on date 10/12/2021 (details)
  13. See respective messages on the issue 958 on date 10/12/2021 (details)
  14. Handling the abomination that is lmin. (details)
  15. Commented out the k=1 boundary conditions in diffusion_zm_lhs and diffusion_zt_lhs, since these are not currently fed into the final LHS matrix.  I included comments to describe why this was done.  Results are b4b. (details)
  16. Passing tunable parameters into the new tau code. (details)
  17. Passed down more parameters. Results are bit-for-bit. (details)
  18. Passing through more clubb parameters. Bit-for-bit (details)
  19. Passing down CLUBB's tunable parameters into the setup_pdf_parameters and (details)
  20. These updates incorporate some of Shixuan Zhang's changes, including: (details)
  21. Passing down CLUBB's tunable parameters into the remainder of the (details)
  22. I passed down the forgotten thlp2_rad_coef tunable parameter. (details)
  23. Uncommenting diffusion.F90 k=1 lines again to fix Oracle uninit var test.  I've updated the accompanying note to state clearly that the lines have no effect on model output, but I guess we need to keep the lines to avoid uninitialized variables. (details)
  24. I am passing down the forgotten parameter, altitude threshold, in (details)
  25. Updating for changes to CLUBB.  See https://github.com/larson-group/clubb/pull/968. (details)
  26. Adding code wrapped in a flag (l_use_tke_in_K_dfsn) to use u_i'u_i' in the wp2 and wp3 eddy diffusion terms, instead of just wp2 or wp3.  Relevant to CLUBB issue #920. (details)
  27. Adding code wrapped in a flag (l_use_tke_in_K_dfsn) to use u_i'u_i' in the wp2 and wp3 eddy diffusion terms, instead of just wp2 or wp3.  Relevant to CLUBB issue #920. (details)
  28. Updates as requested to the l_use_tke_in_K_dfsn code: (details)
  29. Updates as requested to the l_use_tke_in_K_dfsn code: (details)
  30. I am committing the final stage of the "pass-down params" project. (details)
  31. I am committing the final stage of the "pass-down params" project. (details)
  32. Adding an option to use invrs_tau_N2_iso for C4 terms.  The same invrs_tau had been used for C4 and C14 terms, so some adjustments had to be made to separate them out (this was started with an earlier commit: https://github.com/larson-group/clubb/commit/ef3be1b1378bcd1a447f3866c9f88f8cc4764233).  The flag is currently set to false so results will be b4b. (details)
  33. Renaming invrs_tau_zt and invrs_tauw3t to "invrs_tau_wp3_zt" in advance_wp2_wp3 to avoid confusion.  This variable is only used for the wp3 C8 term, so one consistent name is simpler, and the name "invrs_tau_zt" is already used by another variable in advance_clubb_core. (details)
  34. Adding comments for clarity. (details)
  35. I forgot to add this necessary subroutine call to the clubb API. (details)
  36. Fixing a minor accounting bug related to the changes in https://github.com/larson-group/clubb/commit/987d63de489d2baa09ad6e1538b2c6dbb7551690.  There was some overcounting of the relevant terms. (details)
  37. This commit fixes SAM to work with the new version of CLUBB. (details)
  38. I have turned the nu_vert_res_dep family of variables into a derived (details)
  39. Updating for changes to CLUBB code. (details)
  40. Added sam file name to DYCOMS_RF02_DO case, fixed the clipping in calc_w_up_in_cloud in pdf_closure_module.f90, and changed long name of w_up_in_cloud in stats_zt_module.f90 (details)
  41. Resolved any issues in the pull request. See https://github.com/larson-group/clubb/pull/970 for details (details)
  42. Resolved any issues in the pull request. See https://github.com/larson-group/clubb/pull/970 for details (details)
  43. Included a check in pdf_closure_module.f90 to check if flag for iw_up_in_cloud is set. Removed iw_up_in_cloud from standard_stats.in to prevent binary diffs in CLUBB output files after merge (details)
  44. fixed a typo in pdf_closure_module.f90, line 1284 (details)
  45. See ticket (details)
  46. added some documentation in pdf_close_module.f90 and started writing of w_up_in_cloud to disk (details)
  47. See respective messages on the issue 958 on date 10/12/2021 (details)
  48. Added sam file name to DYCOMS_RF02_DO case, fixed the clipping in calc_w_up_in_cloud in pdf_closure_module.f90, and changed long name of w_up_in_cloud in stats_zt_module.f90 (details)
  49. Resolved any issues in the pull request. See https://github.com/larson-group/clubb/pull/970 for details (details)
  50. Included a check in pdf_closure_module.f90 to check if flag for iw_up_in_cloud is set. Removed iw_up_in_cloud from standard_stats.in to prevent binary diffs in CLUBB output files after merge (details)
  51. See respective messages on the issue 958 on date 10/12/2021 (details)
  52. fixed a typo in pdf_closure_module.f90, line 1284 (details)
  53. Resolved any issues in the pull request. See https://github.com/larson-group/clubb/pull/970 for details (details)
  54. Passing w_up_in_cloud out of advance_clubb_core (details)
  55. Updating SAM-CLUBB for the most recent version of CLUBB. (details)
  56. Adding some additional statistics output relevant to Stephens Larson Mironov 2022 paper. (details)
  57. fixed compiler warning regarding w_up_in_cloud (details)
  58. Remove clipping from a3_coef. (details)
  59. Updating RUNDATA/lst so that the new stats I added in https://github.com/larson-group/sam_clubb/commit/72a614957aa439ae75dbf8be6b4870a7a4c48c4b will be output. (details)
  60. Updates relevant to reproducing results for Stephens, Larson, and Mironov 2022. (details)
  61. Adding comments to described SAM's pressure variable. (details)
  62. These changes allow you to call the 4 clubb "advance" subroutines in any (details)
  63. Placing the order variables in a nice, convenient place for testing use. (details)
  64. I reordered advance_clubb_core so that the "Advance xp3" (which is a (details)
  65. I am committing the idiot-proofing code that forces l_min_xp2_from_corr_wx (details)
  66. I am indenting the portion of the code where the advance subroutines (details)
  67. Temporarily commenting out the idiot proofing in order to run some tests ... (details)
  68. Now official reinstating the idiot-proofing and turning off the (details)
  69. I am committing some idiot proofing in regards to the advance (details)
  70. Updated for the latest version of CLUBB. (details)
  71. Adding new file to describe in detail SAM's wp2 and wp3 budgets. (details)
  72. Fixing an array definition issue that created a problem with the PGI (details)
  73. Updating CLUBB to pass uprcp and vprcp into and out of advance_clubb_core. (details)
  74. Now that uprcp and vprcp have been passed through advance_clubb_core, (details)
  75. I am adding more arguments to the argument list for advance_clubb_core (details)
  76. Updating SAM-CLUBB for the latest additions to the call to advance_clubb_core_api (details)
  77. Fixing the sam_clubb_silhs_gfortran build by locally making wp3 the (details)
  78. Insert print about overwriting default flags with namelist values (details)
  79. Insert print about overwriting default parameters with namelist values (details)
  80. Making api version of setup_grid. larson-group/clubb#972 (details)
  81. Making some paramters_silhs variables available from the silhs api (details)
  82. Comment out setting of fatal error (details)
  83. This should be BIT_CHANGING, but only because the value of Cx_min should change in the netcdf file. This will not be answer changing. (details)
  84. Changing the value of C_invrs_tau_shear from 0.02 to 0.15. (details)
  85. Changing the value of C_invrs_tau_shear from 0.02 to 0.15. (details)
  86. Avoiding stats call for variables that are not set when l_diag_Lscale_from_tau is not true. (details)
  87. Adjusting the value of C_invrs_tau_shear from 0.15 to 0.16 so that (details)
  88. Adjusting the value of C_invrs_tau_shear from 0.15 to 0.16 so that (details)
  89. Add l_smooth_Heaviside_tau_wpxp to smooth discontinuity in invrs_tau_wpxp_zm (details)
  90. Add l_smooth_Heaviside_tau_wpxp to smooth discontinuity in invrs_tau_wpxp_zm (details)
  91. adapted SAM because CLUBB API changed (details)
  92. Pushing column loop into advance_clubb_core, and adding interface for it so that we will not need to update any host models. Everything is bit-for-bit, testing all standalone cases and our cam_coarse res run. larson-group/clubb#972 (details)
  93. Adding l_stats check around stats stuff. This fixes the crashing when stats is disabled. larson-group/clubb#972 (details)
  94. Making single and multi column versions of advance clubb core available through clubb_api. larson-group/clubb#972 (details)
  95. Breaking up column loop in advance_clubb_core. larson-group/clubb#972 (details)
  96. Pushing loop into pdf_closure and breaking it up. larson-group/clubb#972 (details)
  97. I changed C_invrs_tau_N2_wp2 from 0.1 to 0.2 to help stop turbulence (details)
  98. I changed C_invrs_tau_N2_wp2 from 0.1 to 0.2 to help stop turbulence (details)
  99. Pushing loop into pdf_closure_module and breaking it up. larson-group/clubb#972 (details)
  100. Making the good version of pdf_params used most places. The bad version is the single column version. larson-group/clubb#972 (details)
  101. Making a commit that officially places the call to the PDF in the "post" (details)
  102. Making a commit that officially places the call to the PDF in the "post" (details)
  103. Pushing loops into all relevent lowest level routines in pdf_closure. larson-group/clubb#972 (details)
  104. Forgot an & symbol. (details)
  105. We need to initialize our local pdf_implicit_coefs_terms_zm in certain pdf types. We also don't need to zero out pdf_implicit_coefs_terms arrays, since that's done in the initialization. This should fix segfaults when l_call_pdf_closure_twice=.True. larson-group/clubb#972 (details)
  106. I am updating ice_supersat_frac to be an intent(inout) variable for (details)
  107. Updated for recent changes to CLUBB (details)
  108. Intializing sigma_sqd_w_zt when not using ADG1. larson-group/clubb#972 (details)
  109. Fixing bug, we were not initializng pdf_params for all columns. larson-group/clubb#972 (details)
  110. Pushing column index into zm2zt and zt2zm. larson-group/clubb#972 (details)
  111. Pushing column index into Skx_func and making it a subroutine. larson-group/clubb#972 (details)
  112. A variety of small loop pushing. larson-group/clubb#972 (details)
  113. Fixed small bug that slipped through because the G_unit tests use nz=1. (details)
  114. Pushing column index into mixing length routines, not all the way down for the non-tau based calculation. larson-group/clubb#972 (details)
  115. I added a subroutine that prints that values of all PDF parameters in (details)
  116. Small changes and a loop push. larson-group/clubb#972 (details)
  117. Pushing loop into advance_xm_wpxp. larson-group/clubb#972 (details)
  118. Making the G_unit test use a dummy column index. This makes it so we don't need an interface for compute_sigma_sqd_w since now we only use it with 2 dimensions. This is just nicer. larson-group/clubb#972 (details)
  119. Breaking up column loop in advance_xm_wpxp_module. larson-group/clubb#972 (details)
  120. Pushing column loop into local functions. larson-group/clubb#972 (details)
  121. Moving stats call for uprcp and vprcp to after they are calculated. This fixes the silhs restart test. But does not seem to fix the E3SM or CAM tests that are still failing. (details)
  122. Adding in Post Step log reporting to ensure we recieve log output even on failed runs. (details)
  123. Fixing syntax errror in the jenkins file. (details)
  124. Fixing test deleting log file before it can be read. (details)
  125. Adding 2D version of zt2zm and zm2zt to clubb_api (details)
  126. Pushing loop into solve_xm_wpxp_with_single_lhs (#986) (details)
  127. Refactoring to remove need for global stats scratch variables. (#988) (details)
  128. Gunthers branch (#989) (details)
  129. Fixing small bug that breaks runs with scalars. (details)
  130. Implementations of smooth min, max and heaviside function. Added G-Unit tests (details)
  131. Making setup_pdf_parameters accept ngrdcols size arrays of stats and grid types. (details)
  132. Forgot two small changes. larson-group/cam#129 (details)
  133. Removing need for data copies. larson-group/cam#129 (details)
  134. Changing column loop index from j to i. larson-group/cam#129 (details)
  135. Changing microphysics file to UWM from 1MOM for the carson nightly tests. (details)
  136. Removing data copies that we don't need anymore. This still runs correctly on GPUs. (details)
  137. Making clip_transform_silhs_output use an array of gr. This is how it should have been once the column loop was pushed down into it, but at the time clubb was using gr through a use statement making that not possible. (details)
  138. No more need for these data copies anymore now that pdf_params is allocated with ngrdcol rather than pcols. (details)
  139. Increasing HBUF_MAX_LENGTH to 2000 to account for increase in vaiables. (details)
  140. Adds a blank line to trigger git merge with E3SM (details)
  141. Removes a blank line in order to trigger merge with E3SM (details)
  142. Pushing column loop into xm_wpxp_clipping_and_stats and monotonic_turbulent_flux_limit. This essentially completes advance_xm_wpxp for now. larson-group/clubb#972 (details)
  143. Replacing the i loop iterator for scalars with sclr. (details)
  144. Pushing loop into advance_xp2_wpxp. (details)
  145. Moving the lhs_dp1 calculation to outside of xp2_xpyp_lhs. This gives us more flexibility, since we want to pass lhs_dp1 into xp2_xpyp_implicit_stats. (details)
  146. Moving the lmm_stepping and stats calls to immediately after calls to xp2_xpyp_solve. This is because xp2_xpyp_implicit_stats saves things that are saved by scratch variables, and these scratch variables are set by the lhs and rhs setup calls. So for the multiple lhs routine, we need to save the scratch variables immediately after these calls before overwriting them by calling lhs and rhs again for a different variable. Since the stats also saves the variable were solving for, we also have to move the lmm_stepping to before this call. (details)
  147. Removing need for stats scratch variables by passing lhs terms to save through agument lists. This makes everything better in every way. (details)
  148. Adding slicing for some lhs arrays being saved in stats. This was causing bit changing in a few lhs terms when run in multicolumn. (details)
  149. Changing names of dp1 variables for up2 and vp2. Surrounding where they're set to be within a l_stats_samp. (details)
  150. Changed the UTIL Makefile to use ifort rather than sunf95 to allow nightly tests to run. (details)
  151. Adding files and updates necessary to run new neutral, shear_driven case in SAM.  The case (details)
  152. I added l_relax_clipping to CLUBB's config flags. (details)
  153. I added l_relax_clipping to CLUBB's config flags. (details)
  154. I am updating clubb_sgs.F90 for the addition of the l_enable_relaxed_clipping (details)
  155. Forgot to add l_enable_relaxed_clipping to the namelist readible flags. (details)
  156. Added a3_coef_min to the list of CLUBB's tunable parameter and then (details)
  157. Added a3_coef_min to the list of CLUBB's tunable parameter and then (details)
  158. Updated SAM-CLUBB for CLUBB's new tunable parameter a3_coef_min (details)
  159. Adding samClubbCodeCopy.bash to the jenkins directory for testing Clubb changes. larson-group/sys_admin#768 (details)
  160. Added idiot-proofing to print a warning message when l_diag_Lscale_from_tau (details)
  161. Updating the call to setup_clubb_core_api based on changes found (details)
  162. I added the code for the l_linearize_pbl_winds flag that was originally (details)
  163. I added the code for the l_linearize_pbl_winds flag that was originally (details)
  164. Interfacing SAM-CLUBB with the latest version of CLUBB. (details)
  165. Updated code so that it actually compiles and runs. (details)
  166. Renaming folder and script as well as adding test Jenkinsfile. (details)
  167. Fixing cutt off lines and spelling mistakes. (details)
  168. Gunthers branch (#996) (details)
  169. Various simple changes to improve performance. All bit-for-bit. (details)
  170. Pushing loop into calc_stability_correction. (details)
  171. Small bug fix. (details)
  172. Another similar small bug fix. (details)
  173. Adding in comments to the Jenkinsfiles to clarify advanced syntax usage and commands with unclear purpose. (details)
  174. Gunthers branch (#999) (details)
  175. Renamed smth_range to heaviside_smth_range (details)
  176. Added tot_vartn_normlzd statistics. Renamed sclr in advance_helper_module to scalar to be more consistent with clubb naming schemes. (details)
  177. Implemented three further normalized variation stats. Included a (most likely temporary) check because in a few cases, denominator for normalization would be 0. (details)
  178. Changed priorities of total normalized variation stats, included error handling in total normalized variation stats. (details)
  179. Renamed pdf_output_filename. Added grid_level constant to avoid magic numbers in stats_update_var_pt calls. (details)
  180. Gunthers branch 2 (#1002) (details)
  181. Bugfix for merge #1000. stderr was not imported in stat_clubb_utilities.F90, causing compilation to fail. (details)
  182. Renaming the new case from SHEAR_DRIVEN to NEUTRAL, and associated mentions in files. (details)
  183. Added ability to apply smooth min max functions in mixing_length.F90 (details)
  184. Updated deprecated documentation of smooth min and max functions in advance_helper_module.F90. https://github.com/larson-group/clubb/issues/965 (details)
  185. Checked whether results really are identical even with round-off when we have l_smooth_min_max=T and smooth_min_max_mag=zero. Next commit rolls some of these changes back for merge into master. https://github.com/larson-group/clubb/issues/965 (details)
  186. Added test cases to smooth_min_max_tests.F90 and updated documentation. (details)
  187. removed SAM_CLUBB_standards.tex, SAM_CLUBB.tex, SAM_code_notes.tex, and SAM6.10_guide.doc larson-group/sys_admin#622 (details)
  188. COrrecting a couple of omissions from when I was renaming the shear_driven case to "neutral". (details)
  189. Constructing rcm within SILHS (as rcm_pdf) (#1011) (details)
  190. Constructing rcm within SILHS (as rcm_pdf) (#1011) (details)
  191. Updating for changes to CLUBB.  See https://github.com/larson-group/clubb/commit/e4f125ba067ba8083f917e0e06b6b2398483d3e4. (details)
  192. Almost final loop pushes (#1012) (details)
  193. Making compatible with latest clubb change. (details)
  194. Making pdf_implicit_coefs_terms a type containing 2D arrays. (#1014) (details)
  195. The G_unit tests never allocated pdf_implicit_coefs_terms. It's unclear to me how these were working before, but it seems that something about making these 2D allocatable arrays exposed the bug. (details)
  196. Making zt2zm calls with pdf_implicit_coefs_terms use the 2D version. (details)
  197. Removing setup_grid and setup_parameters functionality from setup_clubb_core. This is beacuse in host models the required grid information may not be known during the setup process, resulting in dummy arguments for setup_clubb_core and the grid and paramters being setup during runtime anyway. Now, in the host models we can call these subroutines immediately after setup_clubb_core to maintain identical functionality (sam, wrf), and in others we can wait to call these until the main timestepping procedure (cam,e3sm). (details)
  198. Making compatible with latest clubb change. (details)
  199. Making 2D versions of setup_grid and setup_parameters. (details)
  200. Making lmin a scalar again, twas a mistake to make it an array, it can only take on one value. (details)
  201. Making nu_vert_res_dep a type containing arrays, as opposed to being an array of types. (details)
Commit ecf50b7dd71b99418e7b378199bec3f540f9ab8f by bmg2
I have passed clubb_params down into advance_xm_wpxp_module.F90.

The results from this revision are an exact match to the results from
the previous revision for all cases.
The file was modified clubb_api_module.F90 (diff)
The file was modified advance_xm_wpxp_module.F90 (diff)
The file was modified advance_clubb_core_module.F90 (diff)
The file was modified pdf_closure_module.F90 (diff)
Commit b33af07b27883cd48fed63d9fa1557d3b2d4464d by bmg2
I have passed down CLUBB's tunable parameters into advance_wp2_wp3_module.F90.

The results in NetCDF output files from this revision are an exact match to the
results in NetCDF output files from the previous revision for all cases.
The file was modified advance_wp2_wp3_module.F90 (diff)
The file was modified advance_clubb_core_module.F90 (diff)
Commit f743922fbd8e78ed86270101cb28dbcbb5f5c0f7 by jan.gruenenwald
added some documentation in pdf_close_module.f90 and started writing of w_up_in_cloud to disk
The file was modified stats_clubb_utilities.F90 (diff)
The file was modified pdf_closure_module.F90 (diff)
The file was modified advance_clubb_core_module.F90 (diff)
Commit 724a970d8e0b0977d63512e25c4462d260039290 by bmg2
I passed down CLUBB's tunable parameters into advance_xp2_xpyp_module.F90
for most parameters, excluding C4 and C14. Results are unchanged.
The file was modified advance_xp2_xpyp_module.F90 (diff)
The file was modified advance_clubb_core_module.F90 (diff)
Commit 9ac836f8b76e39e820b5fecaae969f70a7b39c21 by bmg2
Passing down more of CLUBB's tunable parameters.
The file was modified advance_xp2_xpyp_module.F90 (diff)
The file was modified pdf_closure_module.F90 (diff)
The file was modified advance_clubb_core_module.F90 (diff)
Commit 7b950575ac2c00c63de42c11f33c459e649af028 by bmg2
I accidentally removed an important comment in the previous commit.
The file was modified advance_clubb_core_module.F90 (diff)
Commit 835d3d3155f98b2a9b6ba60cb9fa02a94fb7800b by bmg2
Passing down more CLUBB tunable parameters.

Everything is bit-for-bit.
The file was modified advance_helper_module.F90 (diff)
The file was modified advance_clubb_core_module.F90 (diff)
The file was modified advance_xm_wpxp_module.F90 (diff)
Commit b65e4cfa8ab2923db015ef2723e3e69071d2c83c by bmg2
More passing down CLUBB parameters ... whoop-de-doo
The file was modified pdf_closure_module.F90 (diff)
The file was modified adg1_adg2_3d_luhar_pdf.F90 (diff)
Commit 351cc9aa27aa212ef6cefb48b6c85ec601a993b0 by bmg2
Passing down more tunable parameters and removing references to
parameters_tunable. Results are bit-for-bit.
The file was modified advance_clubb_core_module.F90 (diff)
The file was modified diagnose_correlations_module.F90 (diff)
The file was modified sfc_varnce_module.F90 (diff)
The file was modified Skx_module.F90 (diff)
Commit 3c883d2e41e77b89ea758961d5e11ac577a1fa82 by noreply
Removing line to trigger the nightly tests for all repos.
The file was modified advance_clubb_core_module.F90 (diff)
Commit 24ab4b2089583ab183efc1963c23fb3153fd2048 by jan.gruenenwald
See respective messages on the issue 958 on date 10/12/2021
The file was modified stats_variables.F90 (diff)
The file was modified stats_clubb_utilities.F90 (diff)
The file was modified stats_zt_module.F90 (diff)
The file was modified model_flags.F90 (diff)
The file was modified advance_clubb_core_module.F90 (diff)
The file was modified pdf_closure_module.F90 (diff)
Commit d7b6d7e387a518684ee4f025ee3f1a32fbfda5a6 by jan.gruenenwald
See respective messages on the issue 958 on date 10/12/2021
The file was modified configurable_model_flags.in (diff)
Commit 40e87490f501202d6d95e7fd2c9c2ccab164ab73 by bmg2
Handling the abomination that is lmin.
The file was modified mixing_length.F90 (diff)
The file was modified clubb_api_module.F90 (diff)
The file was modified parameters_tunable.F90 (diff)
The file was modified advance_clubb_core_module.F90 (diff)
Commit db7584133b87452bedc0538fed00f339dca49ae3 by benjamin.andrew.stephens
Commented out the k=1 boundary conditions in diffusion_zm_lhs and diffusion_zt_lhs, since these are not currently fed into the final LHS matrix.  I included comments to describe why this was done.  Results are b4b.

See https://github.com/larson-group/clubb/issues/920#issuecomment-942735433.
The file was modified diffusion.F90 (diff)
Commit c8cadb5e9708e898ac688db79e1da0ec0ff2ad29 by bmg2
Passing tunable parameters into the new tau code.
The file was modified advance_clubb_core_module.F90 (diff)
The file was modified mixing_length.F90 (diff)
Commit e6aa931ab2aa8134704c137db183ec06ee9dfcee by bmg2
Passed down more parameters. Results are bit-for-bit.
The file was modified advance_wp2_wp3_module.F90 (diff)
The file was modified mixing_length.F90 (diff)
The file was modified clip_explicit.F90 (diff)
The file was modified advance_clubb_core_module.F90 (diff)
Commit d07f2f6c2df3af24ddc90862bc2a656bdd9015d5 by bmg2
Passing through more clubb parameters. Bit-for-bit
The file was modified parameters_model.F90 (diff)
The file was modified advance_clubb_core_module.F90 (diff)
Commit 704eedf20b71e552fe32df3633005d50af58c27f by bmg2
Passing down CLUBB's tunable parameters into the setup_pdf_parameters and
precipitation fraction portions of the code. Everything is bit-for-bit.
The file was modified setup_clubb_pdf_params.F90 (diff)
The file was modified clubb_api_module.F90 (diff)
The file was modified precipitation_fraction.F90 (diff)
Commit 2ee6d2a1e31e43bca3e03a406917c4454cb71e67 by benjamin.andrew.stephens
These updates incorporate some of Shixuan Zhang's changes, including:

(1) upwind scheme for the eddy diffusion code, which Shixuan says does not make a huge difference; and
(2) l_smooth_heaviside_tau_wpxp flag in the mixing_length.F90 code, which is intended to give
smoother results.

Both of the flags for these changes are turned off, but these updates are BIT_CHANGING because
of some minor changes to the way that factors of rho_ds_* and invrs_rho_ds_* are handled going
into the diffusion.F90 subroutines.  Most cases look identical in pyplotgen, but sensitive cases
like arm_97 and rico look slightly different.

These changes were originally in pull request #962, but because of conflicts with the master
branch code base that developed, they could not be rebased and merged, so I incorporated them
into this new commit.
The file was modified diffusion.F90 (diff)
The file was modified advance_wp2_wp3_module.F90 (diff)
The file was modified mixing_length.F90 (diff)
The file was modified model_flags.F90 (diff)
The file was modified advance_xm_wpxp_module.F90 (diff)
The file was modified advance_xp2_xpyp_module.F90 (diff)
The file was modified advance_windm_edsclrm_module.F90 (diff)
Commit 62d364561a81e2b878f95a327df36a4ca4bc3149 by bmg2
Passing down CLUBB's tunable parameters into the remainder of the
PDF subroutines. Everything is bit-for-bit.
The file was modified new_hybrid_pdf_main.F90 (diff)
The file was modified pdf_closure_module.F90 (diff)
The file was modified new_pdf_main.F90 (diff)
The file was modified advance_clubb_core_module.F90 (diff)
Commit 40315247ab8dc38382642bf30f1d96b329c1304d by bmg2
I passed down the forgotten thlp2_rad_coef tunable parameter.
All bit-for-bit.
The file was modified advance_clubb_core_module.F90 (diff)
The file was modified clubb_api_module.F90 (diff)
Commit 59c90454cd1a93522940f998c123795db4f23b17 by benjamin.andrew.stephens
Uncommenting diffusion.F90 k=1 lines again to fix Oracle uninit var test.  I've updated the accompanying note to state clearly that the lines have no effect on model output, but I guess we need to keep the lines to avoid uninitialized variables.
The file was modified diffusion.F90 (diff)
Commit 24592ec9879d2c704c4d7301c8d18c794f2ff744 by bmg2
I am passing down the forgotten parameter, altitude threshold, in
advance_xm_wpxp_module.F90.
The file was modified advance_xm_wpxp_module.F90 (diff)
Commit 0fac7162e55c6478ec570b1b4186d0eb51be5983 by benjamin.andrew.stephens
Updating for changes to CLUBB.  See https://github.com/larson-group/clubb/pull/968.
The file was modified SRC/SGS_CLUBB/clubb_sgs.F90 (diff)
Commit bda6b42375dfc09907e7f9b37719b0d149f45671 by 59519056+bstephens82
Adding code wrapped in a flag (l_use_tke_in_K_dfsn) to use u_i'u_i' in the wp2 and wp3 eddy diffusion terms, instead of just wp2 or wp3.  Relevant to CLUBB issue #920.

Results are b4b when the flag is turned off, which it currently is.
The file was modified advance_clubb_core_module.F90 (diff)
The file was modified advance_wp2_wp3_module.F90 (diff)
The file was modified model_flags.F90 (diff)
The file was modified clubb_api_module.F90 (diff)
Commit 12ac897f71f006b5a4d58ec4184ff58548edafd7 by 59519056+bstephens82
Adding code wrapped in a flag (l_use_tke_in_K_dfsn) to use u_i'u_i' in the wp2 and wp3 eddy diffusion terms, instead of just wp2 or wp3.  Relevant to CLUBB issue #920.

Results are b4b when the flag is turned off, which it currently is.
The file was modified configurable_model_flags.in (diff)
Commit fecf90bda798d6330f0c3982e5f24ef5dce274a3 by 59519056+bstephens82
Updates as requested to the l_use_tke_in_K_dfsn code:

- The name of the flag is changed to l_use_tke_in_wp2_wp3_K_dfsn
- Comments are added to the main pieces of code in advance_wp2_wp3
- The flag is added to the "compatible_r8029" configurable flags file.

See this comment https://github.com/larson-group/clubb/issues/920#issuecomment-931446401 and following for more information.
The file was modified clubb_api_module.F90 (diff)
The file was modified advance_wp2_wp3_module.F90 (diff)
The file was modified advance_clubb_core_module.F90 (diff)
The file was modified model_flags.F90 (diff)
Commit 6cc56f4656c364acfd417735166741345141a049 by 59519056+bstephens82
Updates as requested to the l_use_tke_in_K_dfsn code:

- The name of the flag is changed to l_use_tke_in_wp2_wp3_K_dfsn
- Comments are added to the main pieces of code in advance_wp2_wp3
- The flag is added to the "compatible_r8029" configurable flags file.

See this comment https://github.com/larson-group/clubb/issues/920#issuecomment-931446401 and following for more information.
The file was modified configurable_model_flags.in (diff)
Commit 48d34a44dac4e6c069b8edf7484da102a7b3e03c by bmg2
I am committing the final stage of the "pass-down params" project.
The results are bit-for-bit identical.
The file was modified parameters_tunable.F90 (diff)
The file was modified output_netcdf.F90 (diff)
The file was modified stats_clubb_utilities.F90 (diff)
The file was modified clubb_api_module.F90 (diff)
Commit a59d8a9d971fa58d96ca0c7c0e3a899990339401 by bmg2
I am committing the final stage of the "pass-down params" project.
The results are bit-for-bit identical.
The file was modified silhs_api_module.F90 (diff)
The file was modified latin_hypercube_driver_module.F90 (diff)
The file was modified output_2D_samples_module.F90 (diff)
Commit e21f33631a9962fc7af096d0f7c4a7a3f6ff021b by 59519056+bstephens82
Adding an option to use invrs_tau_N2_iso for C4 terms.  The same invrs_tau had been used for C4 and C14 terms, so some adjustments had to be made to separate them out (this was started with an earlier commit: https://github.com/larson-group/clubb/commit/ef3be1b1378bcd1a447f3866c9f88f8cc4764233).  The flag is currently set to false so results will be b4b.

See also the discussion here: https://github.com/larson-group/clubb/issues/920#issuecomment-920338746 and following comments.
The file was modified advance_wp2_wp3_module.F90 (diff)
The file was modified mixing_length.F90 (diff)
The file was modified advance_xp2_xpyp_module.F90 (diff)
The file was modified advance_clubb_core_module.F90 (diff)
Commit 575d6fe14ed80295cce4f30a51ff3d6aac83b5ee by 59519056+bstephens82
Renaming invrs_tau_zt and invrs_tauw3t to "invrs_tau_wp3_zt" in advance_wp2_wp3 to avoid confusion.  This variable is only used for the wp3 C8 term, so one consistent name is simpler, and the name "invrs_tau_zt" is already used by another variable in advance_clubb_core.
The file was modified advance_wp2_wp3_module.F90 (diff)
Commit b1a5dc605454ba0bd6ce90b50c1b1c4e5238daa2 by 59519056+bstephens82
Adding comments for clarity.
The file was modified mixing_length.F90 (diff)
Commit 3cc2a48057cff47763a8de0fc7a9c2d6bd171782 by bmg2
I forgot to add this necessary subroutine call to the clubb API.
The file was modified clubb_api_module.F90 (diff)
Commit 43b0e9b176c2c5f8d2537b61e1f1781a14787896 by benjamin.andrew.stephens
Fixing a minor accounting bug related to the changes in https://github.com/larson-group/clubb/commit/987d63de489d2baa09ad6e1538b2c6dbb7551690.  There was some overcounting of the relevant terms.

Results are b4b since the l_use_tke_in_wp2_wp3_K_dfsn flag is false.
The file was modified advance_wp2_wp3_module.F90 (diff)
Commit a5d105911dbaf99c23f15c84813faefa228e124b by bmg2
This commit fixes SAM to work with the new version of CLUBB.
The file was modified SRC/SGS_CLUBB/clubb_sgs.F90 (diff)
Commit 0c99971894e34f471bb13a0608799da3e26fd75b by bmg2
I have turned the nu_vert_res_dep family of variables into a derived
type and that variable is now being passed throughout the CLUBB code,
rather than accessing variables through a USE statement.

Everything is 100% bit-for-bit!
The file was modified advance_clubb_core_module.F90 (diff)
The file was modified advance_wp2_wp3_module.F90 (diff)
The file was modified clubb_api_module.F90 (diff)
The file was modified diffusion.F90 (diff)
The file was modified advance_xp2_xpyp_module.F90 (diff)
The file was modified parameters_tunable.F90 (diff)
The file was modified advance_windm_edsclrm_module.F90 (diff)
The file was modified advance_xm_wpxp_module.F90 (diff)
Commit 25d34344a660518cb6b16d03fa92fa257c246178 by bmg2
Updating for changes to CLUBB code.
The file was modified SRC/SGS_CLUBB/clubb_sgs.F90 (diff)
Commit 5aad62fb6b44998c8eeea4e274d53e9f5b6fda2a by jan.gruenenwald
Added sam file name to DYCOMS_RF02_DO case, fixed the clipping in calc_w_up_in_cloud in pdf_closure_module.f90, and changed long name of w_up_in_cloud in stats_zt_module.f90
The file was modified stats_zt_module.F90 (diff)
The file was modified pdf_closure_module.F90 (diff)
Commit 0918704e4ca667f2dd901df9481fcab6d04ad559 by jan.gruenenwald
Resolved any issues in the pull request. See https://github.com/larson-group/clubb/pull/970 for details
The file was modified advance_clubb_core_module.F90 (diff)
The file was modified pdf_closure_module.F90 (diff)
The file was modified model_flags.F90 (diff)
Commit a197aba39c147a59b766de0ffa740bb4924a4b67 by jan.gruenenwald
Resolved any issues in the pull request. See https://github.com/larson-group/clubb/pull/970 for details
The file was modified configurable_model_flags.in (diff)
Commit 81d326f9c04198f2635a6b56b25bc395da741435 by jan.gruenenwald
Included a check in pdf_closure_module.f90 to check if flag for iw_up_in_cloud is set. Removed iw_up_in_cloud from standard_stats.in to prevent binary diffs in CLUBB output files after merge
The file was modified pdf_closure_module.F90 (diff)
Commit dc3c4b8f58acb3383731109218706676f789be07 by jan.gruenenwald
fixed a typo in pdf_closure_module.f90, line 1284
The file was modified pdf_closure_module.F90 (diff)
The file was modified pdf_closure_module.F90 (diff)
Commit a75256d61b53e5e09ec2e386790c89d4e51f0472 by 68997723+JanGrn
added some documentation in pdf_close_module.f90 and started writing of w_up_in_cloud to disk
The file was modified pdf_closure_module.F90 (diff)
The file was modified stats_clubb_utilities.F90 (diff)
Commit a83e91f008656f68d7535574cd90be52d82dd50f by 68997723+JanGrn
See respective messages on the issue 958 on date 10/12/2021
The file was modified pdf_closure_module.F90 (diff)
The file was modified stats_clubb_utilities.F90 (diff)
The file was modified stats_zt_module.F90 (diff)
The file was modified stats_variables.F90 (diff)
The file was modified advance_clubb_core_module.F90 (diff)
The file was modified model_flags.F90 (diff)
Commit 0ba99cd44f06718d995fadd8eacb1b6b191c8cf5 by 68997723+JanGrn
Added sam file name to DYCOMS_RF02_DO case, fixed the clipping in calc_w_up_in_cloud in pdf_closure_module.f90, and changed long name of w_up_in_cloud in stats_zt_module.f90
The file was modified pdf_closure_module.F90 (diff)
The file was modified stats_zt_module.F90 (diff)
Commit f4f26820fd4d03cd818e862b342716e11ea0c673 by 68997723+JanGrn
Resolved any issues in the pull request. See https://github.com/larson-group/clubb/pull/970 for details
The file was modified advance_clubb_core_module.F90 (diff)
The file was modified pdf_closure_module.F90 (diff)
The file was modified model_flags.F90 (diff)
Commit 2b90c415701478f497ef1b01769bff21fd75e46a by 68997723+JanGrn
Included a check in pdf_closure_module.f90 to check if flag for iw_up_in_cloud is set. Removed iw_up_in_cloud from standard_stats.in to prevent binary diffs in CLUBB output files after merge
The file was modified pdf_closure_module.F90 (diff)
Commit 3c42c31e79e3ab259ae03881eb59b2b6caece01e by 68997723+JanGrn
See respective messages on the issue 958 on date 10/12/2021
The file was modified configurable_model_flags.in (diff)
Commit e235fe78eae6527a511973ecdc46aaa4cb2b2379 by 68997723+JanGrn
fixed a typo in pdf_closure_module.f90, line 1284
The file was modified pdf_closure_module.F90 (diff)
Commit b18ed8a537bcfb9a32b5235afe63f128da5c9337 by 68997723+JanGrn
Resolved any issues in the pull request. See https://github.com/larson-group/clubb/pull/970 for details
The file was modified configurable_model_flags.in (diff)
Commit a3f3633376a9a95a1ddbab690425c6b71a4efbff by bmg2
Passing w_up_in_cloud out of advance_clubb_core
The file was modified clubb_api_module.F90 (diff)
The file was modified advance_clubb_core_module.F90 (diff)
Commit 692c17a0f1638467f2b4310665cd61560ba44958 by bmg2
Updating SAM-CLUBB for the most recent version of CLUBB.
The file was modified SRC/SGS_CLUBB/clubb_sgs.F90 (diff)
Commit 72a614957aa439ae75dbf8be6b4870a7a4c48c4b by benjamin.andrew.stephens
Adding some additional statistics output relevant to Stephens Larson Mironov 2022 paper.
The file was modified SRC/statistics.F90 (diff)
Commit e1572555370199b4fe0abf791462f1a0830a22f7 by jan.gruenenwald
fixed compiler warning regarding w_up_in_cloud
The file was modified stats_variables.F90 (diff)
Commit fcf74be3a201e5043cabaad104cc37cdbb8c0e9d by noreply
Remove clipping from a3_coef.

In principle, removing the clipping should reduce noise.
In practice, it makes rico noiser but mpace_b less noisy.
It also allows twp_ice to run to completion with the gfortran compiler.

This commit is BIT_CHANGING.

For #965.
The file was modified advance_clubb_core_module.F90 (diff)
Commit ce4f8f435853b2fcf1f50006e5bf3d4a91508835 by benjamin.andrew.stephens
Updating RUNDATA/lst so that the new stats I added in https://github.com/larson-group/sam_clubb/commit/72a614957aa439ae75dbf8be6b4870a7a4c48c4b will be output.
The file was modified RUNDATA/lst (diff)
Commit db3e00a09cb5c0503e1bf3a728603fe690cb9a3e by 59519056+bstephens82
Updates relevant to reproducing results for Stephens, Larson, and Mironov 2022.
The file was modified SRC/statistics.F90 (diff)
The file was modified RUNDATA/lst (diff)
Commit c1a85d4d5fddee4909d0568c4ae0df3c51b07f91 by 59519056+bstephens82
Adding comments to described SAM's pressure variable.
The file was modified SRC/press_grad.F90 (diff)
The file was modified SRC/statistics.F90 (diff)
Commit fe10a3988ec9c5ae38f9a6521364e5114303dc97 by Brian Griffin
These changes allow you to call the 4 clubb "advance" subroutines in any
order that you want to try. In the default order (where the order is the
same as found in the current version of the CLUBB master), results are
bit-for-bit when compared to CLUBB master.
The file was modified advance_xm_wpxp_module.F90 (diff)
The file was modified advance_windm_edsclrm_module.F90 (diff)
The file was modified advance_clubb_core_module.F90 (diff)
Commit da7e393336c65553c3897fdb66f276cc70ba5a58 by Brian Griffin
Placing the order variables in a nice, convenient place for testing use.
The file was modified advance_clubb_core_module.F90 (diff)
Commit 8aae767c4fcc474647d6b76867a06416de8057bd by Brian Griffin
I reordered advance_clubb_core so that the "Advance xp3" (which is a
basic calculation of xp3 by the ansatz by default) section is moved out
of the way of the "advance loop" to a point that is after
advance_windm_edsclrm (or whatever will be called last in the advance
loop.

This change does not alter the default results. Everything is still
bit-for-bit.
The file was modified advance_clubb_core_module.F90 (diff)
Commit 89ceef8b3be53379b14beba84d90cef1f9ec9a39 by Brian Griffin
I am committing the idiot-proofing code that forces l_min_xp2_from_corr_wx
and l_enable_relaxed_clipping to have opposite values (one must be true
and the other must be false). In this commit, both are set to true, so
the code will produce an exception.
The file was modified advance_clubb_core_module.F90 (diff)
The file was modified advance_xm_wpxp_module.F90 (diff)
The file was modified clubb_api_module.F90 (diff)
Commit 51776de85578ab39a37d41b3a28771e66d58657f by Brian Griffin
I am indenting the portion of the code where the advance subroutines
are located within the new ordering loop.
The file was modified advance_clubb_core_module.F90 (diff)
Commit 9ffac7f447029ffd2f8bac3d59fb93019127171e by Brian Griffin
Temporarily commenting out the idiot proofing in order to run some tests ...
The results from this branch are still bit-for-bit with the master branch.
The file was modified advance_clubb_core_module.F90 (diff)
Commit c587754da66182880513b7c16ccc23c289952ab5 by bmg2
Now official reinstating the idiot-proofing and turning off the
l_enable_relaxed_clipping flag. This commit is BIT_CHANGING
The file was modified advance_xm_wpxp_module.F90 (diff)
The file was modified advance_clubb_core_module.F90 (diff)
Commit b778226f990c7e852735312d0123c76452338a21 by bmg2
I am committing some idiot proofing in regards to the advance
subroutines ordering. No index can have a value of less than 1,
greater than 4, and no index can have the same value as any other
index. Each adv routine order index must have a unique value.
The file was modified advance_clubb_core_module.F90 (diff)
Commit a39e2f8ef110b0a6f71e3c538e1dcae0beceb21a by bmg2
Updated for the latest version of CLUBB.
The file was modified SRC/SGS_CLUBB/clubb_sgs.F90 (diff)
Commit cb4f848bbbd8e37282dca8c7635ee17689b4ee10 by benjamin.andrew.stephens
Adding new file to describe in detail SAM's wp2 and wp3 budgets.
The file was addedDOC/SAM_WP2_WP3_BUDGETS.pdf
Commit c2520449444aa3a09557635880b93d43207f3b04 by benjamin.andrew.stephens
Fixing an array definition issue that created a problem with the PGI
compiler.
The file was modified SRC/statistics.F90 (diff)
Commit 1e234f56b4722f109ec9d657776244a94dadfc18 by bmg2
Updating CLUBB to pass uprcp and vprcp into and out of advance_clubb_core.
The file was modified clubb_api_module.F90 (diff)
The file was modified advance_clubb_core_module.F90 (diff)
Commit aa0da18281105ee85a148af1640952342bc058ec by bmg2
Now that uprcp and vprcp have been passed through advance_clubb_core,
I can get rid of this idiot-proofing code that stops the run when
l_predict_upwp_vpwp is enabled and the PDF is in the "post" position.
The file was modified advance_clubb_core_module.F90 (diff)
Commit af8d23225e3393b52c07fbe123f01444d14124f0 by bmg2
I am adding more arguments to the argument list for advance_clubb_core
so that the model now runs with the PDF in the post position.

Result from this change are still bit-for-bit.
The file was modified advance_wp2_wp3_module.F90 (diff)
The file was modified clubb_api_module.F90 (diff)
The file was modified advance_clubb_core_module.F90 (diff)
Commit 7cd8548fbce344a5f4ce9feca89d5282962e4c01 by bmg2
Updating SAM-CLUBB for the latest additions to the call to advance_clubb_core_api
The file was modified SRC/SGS_CLUBB/clubb_sgs.F90 (diff)
The file was modified SRC/SGS_CLUBB/clubbvars.F90 (diff)
Commit 867b23c54ae21cd8d0adcf5a44925ef3c80a5ca4 by bmg2
Fixing the sam_clubb_silhs_gfortran build by locally making wp3 the
same type (real r4) as the other variables (wp2_zt, etc.) in CLUBB's
calls to MPI-ish stuff.

Also adding the -fallow-argument-mismatch flag to handle SAM's issues
with type mismatches in MPI calls within the bowels of SAM.
The file was modified Makefile (diff)
The file was modified SRC/SGS_CLUBB/clubb_sgs.F90 (diff)
Commit af2e320388670ca0a57e2f176c1bc5d627b9098d by noreply
Insert print about overwriting default flags with namelist values
The file was modified model_flags.F90 (diff)
Commit 8f225830ad630ade0b0f818521e3420cf71da15d by noreply
Insert print about overwriting default parameters with namelist values
The file was modified parameters_tunable.F90 (diff)
Commit f3942b808f629c080b43dfaca5c50c6ce080ef9a by Gunther Huebler
Making api version of setup_grid. larson-group/clubb#972
The file was modified clubb_api_module.F90 (diff)
Commit 3db947c8588aef8f34322cfdf19bc0b3e0e7be79 by Gunther Huebler
Making some paramters_silhs variables available from the silhs api
The file was modified silhs_api_module.F90 (diff)
Commit 65acb9b0c8906c6bd4001aa5eb2cb31b11760835 by noreply
Comment out setting of fatal error

when l_min_xp2_from_corr_wx = F and l_enable_relaxed_clipping = F. 
The goal is to allow the clubb_backwards_compatibility_gfortran_test
Jenkins test to pass again.

For #846.
The file was modified advance_clubb_core_module.F90 (diff)
Commit 7ec140fc6d8e5e40e4dd195f225d62cdaa8fbabe by Gunther Huebler
This should be BIT_CHANGING, but only because the value of Cx_min should change in the netcdf file. This will not be answer changing.
The file was modified parameters_tunable.F90 (diff)
Commit 5bf9927ebb2fdd8006f9aee4380dd467515d2c06 by bmg2
Changing the value of C_invrs_tau_shear from 0.02 to 0.15.
This commit is BIT_CHANGING
The file was modified parameters_tunable.F90 (diff)
Commit fd648cb14bd2f6434aed39fc86dca28198985a3d by bmg2
Changing the value of C_invrs_tau_shear from 0.02 to 0.15.
This commit is BIT_CHANGING
The file was modified tunable_parameters.in (diff)
Commit 04279f676a57a9710d4b60f0dafcd0c331a4f18e by Gunther Huebler
Avoiding stats call for variables that are not set when l_diag_Lscale_from_tau is not true.
The file was modified advance_clubb_core_module.F90 (diff)
Commit 03f14dd627f8df25c1e8c40b407a2c60b943f972 by bmg2
Adjusting the value of C_invrs_tau_shear from 0.15 to 0.16 so that
CLUBB (particularly the MC3E case) completes successfully for all
compiler tests.

You might say that this is BIT_CHANGING.
The file was modified parameters_tunable.F90 (diff)
Commit 766f9e3b4618c10af83cad18dae103b39f8841ae by bmg2
Adjusting the value of C_invrs_tau_shear from 0.15 to 0.16 so that
CLUBB (particularly the MC3E case) completes successfully for all
compiler tests.

You might say that this is BIT_CHANGING.
The file was modified tunable_parameters.in (diff)
Commit d8836de198f0c3f3457f195fb08642497dead21b by noreply
Add l_smooth_Heaviside_tau_wpxp to smooth discontinuity in invrs_tau_wpxp_zm

This option calls subroutine smooth_heaviside_peskin, which implements the smooth Peskin Heaviside function.
The option is turned off for now, and so the results should remain bit for bit.

For #965.
The file was modified clubb_api_module.F90 (diff)
The file was modified advance_helper_module.F90 (diff)
The file was modified model_flags.F90 (diff)
The file was modified constants_clubb.F90 (diff)
The file was modified mixing_length.F90 (diff)
The file was modified advance_clubb_core_module.F90 (diff)
Commit 099d2418f85672d98526ce96b365310ce40a99ae by noreply
Add l_smooth_Heaviside_tau_wpxp to smooth discontinuity in invrs_tau_wpxp_zm

This option calls subroutine smooth_heaviside_peskin, which implements the smooth Peskin Heaviside function.
The option is turned off for now, and so the results should remain bit for bit.

For #965.
The file was modified configurable_model_flags.in (diff)
Commit 8782d789ecc106b1da2f147557c07d6358ad0fb5 by jan.gruenenwald
adapted SAM because CLUBB API changed
The file was modified SRC/SGS_CLUBB/clubb_sgs.F90 (diff)
Commit 4d506fc219eb83b1977f318f6b46c3a1f75f09c5 by Gunther Huebler
Pushing column loop into advance_clubb_core, and adding interface for it so that we will not need to update any host models. Everything is bit-for-bit, testing all standalone cases and our cam_coarse res run. larson-group/clubb#972
The file was modified advance_clubb_core_module.F90 (diff)
The file was modified clubb_api_module.F90 (diff)
The file was modified pdf_parameter_module.F90 (diff)
Commit 946ca541e9acab72c5dbd52b2df8651bfc0bfb76 by Gunther Huebler
Adding l_stats check around stats stuff. This fixes the crashing when stats is disabled. larson-group/clubb#972
The file was modified clubb_api_module.F90 (diff)
Commit 7e6744fa4864a0219f8e4a32d0d72fb2664598d9 by Gunther Huebler
Making single and multi column versions of advance clubb core available through clubb_api. larson-group/clubb#972
The file was modified clubb_api_module.F90 (diff)
Commit 0bae8e4aaa7651515c8d5df797909bd9de345c2f by Gunther Huebler
Breaking up column loop in advance_clubb_core. larson-group/clubb#972
The file was modified advance_clubb_core_module.F90 (diff)
Commit d55d2cbc2faec828838317f478b04fa8ea410f7a by Gunther Huebler
Pushing loop into pdf_closure and breaking it up. larson-group/clubb#972
The file was modified advance_clubb_core_module.F90 (diff)
Commit fabb386b09890bd8a64d59b5ae24bae937af9f93 by bmg2
I changed C_invrs_tau_N2_wp2 from 0.1 to 0.2 to help stop turbulence
from going to the model top, which ultimately caused MC3E to crash
by becoming too cold.  Additionally, I set C_invrs_tau_shear back
to 0.15 from 0.16. This commit is BIT_CHANGING.
The file was modified parameters_tunable.F90 (diff)
Commit e3d21eff02c10658231240f81937309674ff5683 by bmg2
I changed C_invrs_tau_N2_wp2 from 0.1 to 0.2 to help stop turbulence
from going to the model top, which ultimately caused MC3E to crash
by becoming too cold.  Additionally, I set C_invrs_tau_shear back
to 0.15 from 0.16. This commit is BIT_CHANGING.
The file was modified tunable_parameters.in (diff)
Commit 2c6b628542302815ac566410bfa583f64b252464 by Gunther Huebler
Pushing loop into pdf_closure_module and breaking it up. larson-group/clubb#972
The file was modified pdf_closure_module.F90 (diff)
The file was modified advance_clubb_core_module.F90 (diff)
Commit af9c183212dde92967cca80d87ef80f1aabd76b1 by Gunther Huebler
Making the good version of pdf_params used most places. The bad version is the single column version. larson-group/clubb#972
The file was modified advance_clubb_core_module.F90 (diff)
The file was modified pdf_closure_module.F90 (diff)
Commit c0b2297dad094c1121026e8520de001748c1d0a7 by bmg2
Making a commit that officially places the call to the PDF in the "post"
position (meaning after CLUBB's predictive fields have been advanced).
This commit is BIT_CHANGING
The file was modified model_flags.F90 (diff)
Commit 48bc009f8f95e2158d037396050d5ae424e71a79 by bmg2
Making a commit that officially places the call to the PDF in the "post"
position (meaning after CLUBB's predictive fields have been advanced).
This commit is BIT_CHANGING
The file was modified configurable_model_flags.in (diff)
Commit f1c545226c133b42ec11c523daee00e938910cf3 by Gunther Huebler
Pushing loops into all relevent lowest level routines in pdf_closure. larson-group/clubb#972
The file was modified pdf_closure_module.F90 (diff)
The file was modified advance_clubb_core_module.F90 (diff)
The file was modified adg1_adg2_3d_luhar_pdf.F90 (diff)
The file was modified pdf_closure_module.F90 (diff)
Commit 376d0e4907dc788fce6a52b6d0dc5ad4d7481f34 by Gunther Huebler
We need to initialize our local pdf_implicit_coefs_terms_zm in certain pdf types. We also don't need to zero out pdf_implicit_coefs_terms arrays, since that's done in the initialization. This should fix segfaults when l_call_pdf_closure_twice=.True. larson-group/clubb#972
The file was modified pdf_closure_module.F90 (diff)
The file was modified advance_clubb_core_module.F90 (diff)
Commit 0201571e2624e4580ec5e4f44582e187d7908ebb by bmg2
I am updating ice_supersat_frac to be an intent(inout) variable for
advance_clubb_core. When the PDF is in the "post" position, there is
a chance that it can be used before it is set unless it is preserved
from timestep to timestep.
The file was modified advance_clubb_core_module.F90 (diff)
The file was modified clubb_api_module.F90 (diff)
Commit 8f115022ecd190ada3c206747b7fd64508db8cbd by bmg2
Updated for recent changes to CLUBB
The file was modified SRC/SGS_CLUBB/clubbvars.F90 (diff)
The file was modified SRC/SGS_CLUBB/clubb_sgs.F90 (diff)
Commit aa44cb502926842665f158cbfab7c8cf1df5c3c5 by Gunther Huebler
Intializing sigma_sqd_w_zt when not using ADG1. larson-group/clubb#972
The file was modified advance_clubb_core_module.F90 (diff)
Commit 5088c109e589f0398450ea86996147836b8b75d8 by Gunther Huebler
Fixing bug, we were not initializng pdf_params for all columns. larson-group/clubb#972
The file was modified pdf_parameter_module.F90 (diff)
Commit f1154aed2f15410ec35a99adb03d2d517f9fad2d by Gunther Huebler
Pushing column index into zm2zt and zt2zm. larson-group/clubb#972
The file was modified grid_class.F90 (diff)
The file was modified advance_clubb_core_module.F90 (diff)
Commit 932c80e272c18da1ccf51719eed39b370ca45912 by Gunther Huebler
Pushing column index into Skx_func and making it a subroutine. larson-group/clubb#972
The file was modified Skx_module.F90 (diff)
The file was modified advance_clubb_core_module.F90 (diff)
Commit a3665dbc5e18abd7e8281d753abed2bbb03d8f1c by Gunther Huebler
A variety of small loop pushing. larson-group/clubb#972
The file was modified advance_helper_module.F90 (diff)
The file was modified grid_class.F90 (diff)
The file was modified advance_clubb_core_module.F90 (diff)
The file was modified sigma_sqd_w_module.F90 (diff)
Commit 7f7db11cab062c725e5fe2787d45f0225e4ba60f by Gunther Huebler
Fixed small bug that slipped through because the G_unit tests use nz=1.
The file was modified sigma_sqd_w_module.F90 (diff)
Commit 3c97bd65f2133f211f2d8502473f2cf32a025be1 by Gunther Huebler
Pushing column index into mixing length routines, not all the way down for the non-tau based calculation. larson-group/clubb#972
The file was modified mixing_length.F90 (diff)
The file was modified advance_helper_module.F90 (diff)
The file was modified advance_clubb_core_module.F90 (diff)
Commit df7da80153115bfa7df377decb342e4aee4481cf by bmg2
I added a subroutine that prints that values of all PDF parameters in
type pdf_parameter, which is a useful debugging tool.
The file was modified pdf_parameter_module.F90 (diff)
Commit 445f590cf1d278eee326fe3a3355fdc0deab0d21 by Gunther Huebler
Small changes and a loop push. larson-group/clubb#972
The file was modified advance_clubb_core_module.F90 (diff)
The file was modified Skx_module.F90 (diff)
Commit c9f575df03cc82bf9e0783bd2608ef27d0b4b637 by Gunther Huebler
Pushing loop into advance_xm_wpxp. larson-group/clubb#972
The file was modified advance_xm_wpxp_module.F90 (diff)
The file was modified advance_clubb_core_module.F90 (diff)
Commit eb106afc75f2daab341edd31b7508557525f6fb2 by Gunther Huebler
Making the G_unit test use a dummy column index. This makes it so we don't need an interface for compute_sigma_sqd_w since now we only use it with 2 dimensions. This is just nicer. larson-group/clubb#972
The file was modified sigma_sqd_w_module.F90 (diff)
Commit bcda3f8c752053316304a5ce21d56977f49c53b4 by Gunther Huebler
Breaking up column loop in advance_xm_wpxp_module. larson-group/clubb#972
The file was modified advance_xm_wpxp_module.F90 (diff)
Commit 0a7b2cda84e35cf4f34a3a582daf8b67a6a62194 by Gunther Huebler
Pushing column loop into local functions. larson-group/clubb#972
The file was modified mono_flux_limiter.F90 (diff)
The file was modified advance_xm_wpxp_module.F90 (diff)
Commit 775ab377c5ff0ed340e9dbfa0bcb7af76d1687d0 by Gunther Huebler
Moving stats call for uprcp and vprcp to after they are calculated. This fixes the silhs restart test. But does not seem to fix the E3SM or CAM tests that are still failing.
The file was modified advance_xm_wpxp_module.F90 (diff)
The file was modified advance_clubb_core_module.F90 (diff)
Commit 23290414d497232c0ca102e3e56665f39b8766a7 by pbroels
Adding in Post Step log reporting to ensure we recieve log output even on failed runs.
The file was modified jenkins_tests/sam_clubb_pgi_build/Jenkinsfile (diff)
The file was modified jenkins_tests/sam_clubb_silhs_gfortran_build/Jenkinsfile (diff)
The file was modified jenkins_tests/sam_micro_drizzle_intel_test/Jenkinsfile (diff)
Commit a1df97eda01e448a5acf42372bf7c34cb5518e78 by pbroels
Fixing syntax errror in the jenkins file.
The file was modified jenkins_tests/sam_micro_drizzle_intel_test/Jenkinsfile (diff)
The file was modified jenkins_tests/sam_clubb_pgi_build/Jenkinsfile (diff)
The file was modified jenkins_tests/sam_clubb_silhs_gfortran_build/Jenkinsfile (diff)
Commit c8294bf11b3cfebb37577aba4da6ccbad86d42b7 by pbroels
Fixing test deleting log file before it can be read.
The file was modified jenkins_tests/sam_micro_drizzle_intel_test/Jenkinsfile (diff)
The file was modified jenkins_tests/sam_clubb_pgi_build/Jenkinsfile (diff)
The file was modified jenkins_tests/sam_clubb_silhs_gfortran_build/Jenkinsfile (diff)
Commit 402036c07820f647c23fbe11eae422423adacad7 by Gunther Huebler
Adding 2D version of zt2zm and zm2zt to clubb_api
The file was modified clubb_api_module.F90 (diff)
Commit 76ade90ca6c58592fb9ad1ed4232a03249257f02 by noreply
Pushing loop into solve_xm_wpxp_with_single_lhs (#986)

Co-authored-by: Peter Roels <56004443+pbroels@users.noreply.github.com>
The file was modified advance_xm_wpxp_module.F90 (diff)
Commit 5c71aa30cb7d3a8d1d12c9fcfee59669157b0896 by noreply
Refactoring to remove need for global stats scratch variables. (#988)

* Refactoring to remove need for global stats scratch variables. larson-group/clubb#972

* Changing name of new stats_scratch variables to be more descriptive.
The file was modified advance_xm_wpxp_module.F90 (diff)
Commit ed18e641c3b7fa3567c638f8fd52f6f4fe01f43d by noreply
Gunthers branch (#989)

* Refactoring to remove need for global stats scratch variables. larson-group/clubb#972

* Changing name of new stats_scratch variables to be more descriptive.

* Breaking up column loop in solve_xm_wpxp_with_single_lhs. larson-group/clubb#972

* Pushing loop into solve_xm_wpxp_with_multiple_lhs and breaking it up. larson-group/clubb#972

* Pusing loop into xm_wpxp_rhs and xm_wpxp_lhs. larson-group/clubb#972

* Pushing loop into xm_wpxp_solve and xm_wpxp_clipping_and_stats. larson-group/clubb#972
The file was modified advance_xm_wpxp_module.F90 (diff)
Commit 0984f81b081d6be7b58a3282fdc3759f6e2f78d4 by Gunther Huebler
Fixing small bug that breaks runs with scalars.
The file was modified advance_xm_wpxp_module.F90 (diff)
Commit fd4c092e458fd1143008dd04add873fdeedc836a by 68997723+JanGrn
Implementations of smooth min, max and heaviside function. Added G-Unit tests
The file was modified advance_helper_module.F90 (diff)
Commit bc3082fb4215cf63236c125d1ead5be3a0898c05 by Gunther Huebler
Making setup_pdf_parameters accept ngrdcols size arrays of stats and grid types.
The file was modified clubb_api_module.F90 (diff)
The file was modified setup_clubb_pdf_params.F90 (diff)
Commit 8decd62fd4618a4cfc05359ec59aef618950cee5 by Gunther Huebler
Forgot two small changes. larson-group/cam#129
The file was modified setup_clubb_pdf_params.F90 (diff)
The file was modified clubb_api_module.F90 (diff)
Commit 6a574df7e37c1b18df4b266fd75de92528120b03 by Gunther Huebler
Removing need for data copies. larson-group/cam#129
The file was modified precipitation_fraction.F90 (diff)
The file was modified setup_clubb_pdf_params.F90 (diff)
Commit a21672f556ca63ae1e7cc4b7851d24cec405ae87 by Gunther Huebler
Changing column loop index from j to i. larson-group/cam#129
The file was modified setup_clubb_pdf_params.F90 (diff)
Commit f3c3443a7314c2ecb7cd1e27d3ff7722faf9bce0 by pbroels
Changing microphysics file to UWM from 1MOM for the carson nightly tests.
The file was modified UTIL_CLUBB/sam_plots/cases/LBA_16x1x128_4km_CLUBB.bash (diff)
The file was modified UTIL_CLUBB/sam_plots/cases/LBA_4x1x128_16km_CLUBB.bash (diff)
Commit f078452993a62351642178c7d76a340f6406c693 by 37674341+huebleruwm
Removing data copies that we don't need anymore. This still runs correctly on GPUs.
The file was modified latin_hypercube_driver_module.F90 (diff)
Commit 8abf9d87614f2fdc27dfaf72324f917be702d582 by 37674341+huebleruwm
Making clip_transform_silhs_output use an array of gr. This is how it should have been once the column loop was pushed down into it, but at the time clubb was using gr through a use statement making that not possible.
The file was modified silhs_api_module.F90 (diff)
The file was modified latin_hypercube_driver_module.F90 (diff)
Commit 7d2d3a8a4ef4a33a36ce8cc202e27c17e9c9378b by 37674341+huebleruwm
No more need for these data copies anymore now that pdf_params is allocated with ngrdcol rather than pcols.
The file was modified latin_hypercube_driver_module.F90 (diff)
Commit 978ffa30f81c70ae3a9d87acde36a7868efd88a3 by noreply
Increasing HBUF_MAX_LENGTH to 2000 to account for increase in vaiables.
The file was modified SRC/hbuffer.F90 (diff)
Commit 960a16c889d0898e95595a6bb59a2f296c3bffa7 by noreply
Adds a blank line to trigger git merge with E3SM
The file was modified advance_clubb_core_module.F90 (diff)
Commit 6216b8e6e638a0862df4c9ccde780c0de21dc484 by noreply
Removes a blank line in order to trigger merge with E3SM
The file was modified advance_clubb_core_module.F90 (diff)
Commit e71c3c281fdec86134cae0107f02f9eefd7a6edd by 37674341+huebleruwm
Pushing column loop into xm_wpxp_clipping_and_stats and monotonic_turbulent_flux_limit. This essentially completes advance_xm_wpxp for now. larson-group/clubb#972
The file was modified advance_xm_wpxp_module.F90 (diff)
The file was modified mono_flux_limiter.F90 (diff)
Commit 2422347813eaf7ab1402e8abb63072fdb362f0fe by 37674341+huebleruwm
Replacing the i loop iterator for scalars with sclr.
The file was modified advance_xp2_xpyp_module.F90 (diff)
Commit 0e2049891bace38ffa03c49004d4dbbb303817fb by 37674341+huebleruwm
Pushing loop into advance_xp2_wpxp.
The file was modified advance_xp2_xpyp_module.F90 (diff)
The file was modified advance_clubb_core_module.F90 (diff)
Commit 548c0002fa64ad11e86a754012f61a0b1fb7ef52 by 37674341+huebleruwm
Moving the lhs_dp1 calculation to outside of xp2_xpyp_lhs. This gives us more flexibility, since we want to pass lhs_dp1 into xp2_xpyp_implicit_stats.
The file was modified advance_xp2_xpyp_module.F90 (diff)
Commit b042151c9b68a3625a5ed0716f92daca6fd56b6f by 37674341+huebleruwm
Moving the lmm_stepping and stats calls to immediately after calls to xp2_xpyp_solve. This is because xp2_xpyp_implicit_stats saves things that are saved by scratch variables, and these scratch variables are set by the lhs and rhs setup calls. So for the multiple lhs routine, we need to save the scratch variables immediately after these calls before overwriting them by calling lhs and rhs again for a different variable. Since the stats also saves the variable were solving for, we also have to move the lmm_stepping to before this call.
The file was modified advance_xp2_xpyp_module.F90 (diff)
Commit 8c8f3fa1d2bbf4c47cc00e8c15eb63354ac4ba41 by 37674341+huebleruwm
Removing need for stats scratch variables by passing lhs terms to save through agument lists. This makes everything better in every way.
The file was modified advance_xp2_xpyp_module.F90 (diff)
Commit d2b10e704a1f3896db7b05eab3249c1db38f2754 by 37674341+huebleruwm
Adding slicing for some lhs arrays being saved in stats. This was causing bit changing in a few lhs terms when run in multicolumn.
The file was modified advance_xp2_xpyp_module.F90 (diff)
Commit ecf272020b8de2182a362ed7eca489443cdcbb94 by 37674341+huebleruwm
Changing names of dp1 variables for up2 and vp2. Surrounding where they're set to be within a l_stats_samp.
The file was modified advance_xp2_xpyp_module.F90 (diff)
Commit 2bdeb602878554f3f70dd41db9c653c7a26b3a39 by pbroels
Changed the UTIL Makefile to use ifort rather than sunf95 to allow nightly tests to run.
The file was modified UTIL/Makefile (diff)
Commit dd61130c36a17819494566b291009a2fb1bb58c6 by Vince Larson
Adding files and updates necessary to run new neutral, shear_driven case in SAM.  The case
is modeled on George Bryan's CM1 shear-driven case from Moeng and Sullivan 1994.

See https://github.com/larson-group/clubb/issues/991.
The file was addedSHEAR_DRIVEN/snd
The file was addedSHEAR_DRIVEN/prm.les
The file was addedSHEAR_DRIVEN/README
The file was addedSHEAR_DRIVEN/lsf
The file was addedSHEAR_DRIVEN/grd
The file was addedSRC/surface.shear_driven
The file was modified SCRIPTS/LES_setup/setup_LES_KK_micro.bash (diff)
The file was addedSHEAR_DRIVEN/domain.f90.les
The file was addedSHEAR_DRIVEN/sfc
Commit 2d1a62e415c2203ea43159b80f23d66b062d785d by bmg2
I added l_relax_clipping to CLUBB's config flags.
The file was modified clubb_api_module.F90 (diff)
The file was modified advance_xm_wpxp_module.F90 (diff)
The file was modified advance_clubb_core_module.F90 (diff)
The file was modified model_flags.F90 (diff)
Commit 60d82eff914c72972cc1f41cad5c90610de49398 by bmg2
I added l_relax_clipping to CLUBB's config flags.
The file was modified configurable_model_flags.in (diff)
Commit 6f784ab9d28b6a179b5b45ee573bfefe21706355 by bmg2
I am updating clubb_sgs.F90 for the addition of the l_enable_relaxed_clipping
flag in clubb_config_flags.
The file was modified SRC/SGS_CLUBB/clubb_sgs.F90 (diff)
Commit 1685619684d72df664230191ecec22c6635e06bb by bmg2
Forgot to add l_enable_relaxed_clipping to the namelist readible flags.
The file was modified SRC/SGS_CLUBB/clubb_sgs.F90 (diff)
Commit 36dbc89e7df189d2910e3b3fc2d3bbe5a4084149 by bmg2
Added a3_coef_min to the list of CLUBB's tunable parameter and then
commented-in the a3_coef clipping line found in advance_clubb_core.F90.

The results of this revision are bit-for-bit.
The file was modified parameters_tunable.F90 (diff)
The file was modified clubb_api_module.F90 (diff)
The file was modified advance_clubb_core_module.F90 (diff)
The file was modified parameter_indices.F90 (diff)
Commit ddd10aba970e374e5f9838c5cb15458ed4db425b by bmg2
Added a3_coef_min to the list of CLUBB's tunable parameter and then
commented-in the a3_coef clipping line found in advance_clubb_core.F90.

The results of this revision are bit-for-bit.
The file was modified tunable_parameters.in (diff)
Commit 2e26ab7de4af8c6a63a20b47a00411e684a19a4e by bmg2
Updated SAM-CLUBB for CLUBB's new tunable parameter a3_coef_min
The file was modified SRC/SGS_CLUBB/clubb_sgs.F90 (diff)
Commit 04d5762aa5cfee0b6842bb65e711e1b4f34ffafe by pbroels
Adding samClubbCodeCopy.bash to the jenkins directory for testing Clubb changes. larson-group/sys_admin#768
The file was addedjenkins_tests/samClubbCodeCopy/samClubbCodeCopy.bash
Commit ccb8a9a9a67b277371197b3aadf8aa9cc03fb086 by bmg2
Added idiot-proofing to print a warning message when l_diag_Lscale_from_tau
is being used and C1, C1b, C2rt, C2thl, C2rtthl, C6rt, C6rtb, C6thl, C6thlb,
or C14 do not have a value 1.  This can later be upgraded to a fatal error
when we can finally run this code with the C2 and C6 families of parameters
having a value of 1 (that value is currently 2 right now).
The file was modified advance_clubb_core_module.F90 (diff)
The file was modified clubb_api_module.F90 (diff)
Commit aa0517b5732c250e1980d14996b07f8629d27d0a by bmg2
Updating the call to setup_clubb_core_api based on changes found
in CLUBB revision d0c9b34.
The file was modified SRC/SGS_CLUBB/clubb_sgs.F90 (diff)
Commit ca343cddc87e04ac6932bc66cabd6b01df4e022a by bmg2
I added the code for the l_linearize_pbl_winds flag that was originally
brought to us by Sean Santos
The file was modified configurable_model_flags.in (diff)
Commit d18ee7f0a7af432d15212a93179f0d3777775f4d by bmg2
I added the code for the l_linearize_pbl_winds flag that was originally
brought to us by Sean Santos
The file was modified clubb_precision.F90 (diff)
The file was modified advance_xm_wpxp_module.F90 (diff)
The file was modified clip_explicit.F90 (diff)
The file was modified advance_windm_edsclrm_module.F90 (diff)
The file was modified model_flags.F90 (diff)
The file was modified clubb_api_module.F90 (diff)
The file was modified advance_clubb_core_module.F90 (diff)
Commit 1cc3b813d04bc7de858019eb52053817082fecf3 by bmg2
Interfacing SAM-CLUBB with the latest version of CLUBB.
The file was modified SRC/SGS_CLUBB/clubb_sgs.F90 (diff)
Commit 00240a4a6677cb7ff3e4e0e37dd6e38ce71935e7 by bmg2
Updated code so that it actually compiles and runs.
The file was modified SRC/SGS_CLUBB/clubb_sgs.F90 (diff)
Commit 9054a947f4f0da3b43aecce7e14fda3ede896fd9 by pbroels
Renaming folder and script as well as adding test Jenkinsfile.
The file was addedjenkins_tests/sam_clubb_code_copy/Jenkinsfile
The file was addedjenkins_tests/sam_clubb_code_copy/sam_clubb_code_copy.bash
The file was removedjenkins_tests/samClubbCodeCopy/samClubbCodeCopy.bash
Commit 5befef83129439197b0002212c32926e1c9a6cda by noreply
Fixing cutt off lines and spelling mistakes.
The file was modified jenkins_tests/sam_clubb_code_copy/Jenkinsfile (diff)
Commit 22792d68ce4f823ad5ac389361dae0f25f10bcd8 by noreply
Gunthers branch (#996)

* Pushing column loop into xm_wpxp_clipping_and_stats and monotonic_turbulent_flux_limit. This essentially completes advance_xm_wpxp for now. larson-group/clubb#972

* Replacing the i loop iterator for scalars with sclr.

* Pushing loop into advance_xp2_wpxp.

* Moving the lhs_dp1 calculation to outside of xp2_xpyp_lhs. This gives us more flexibility, since we want to pass lhs_dp1 into xp2_xpyp_implicit_stats.

* Moving the lmm_stepping and stats calls to immediately after calls to xp2_xpyp_solve. This is because xp2_xpyp_implicit_stats saves things that are saved by scratch variables, and these scratch variables are set by the lhs and rhs setup calls. So for the multiple lhs routine, we need to save the scratch variables immediately after these calls before overwriting them by calling lhs and rhs again for a different variable. Since the stats also saves the variable were solving for, we also have to move the lmm_stepping to before this call.

* Removing need for stats scratch variables by passing lhs terms to save through agument lists. This makes everything better in every way.

* Adding slicing for some lhs arrays being saved in stats. This was causing bit changing in a few lhs terms when run in multicolumn.

* Changing names of dp1 variables for up2 and vp2. Surrounding where they're set to be within a l_stats_samp.

* Breaking up column loop in advance_xp2_xpyp and pushing column loop into calc_xp2_xpyp_ta_terms. larson-group/cam#972

* Breaking up column loop in calc_xp2_xpyp_ta_terms.

* Pushing loop into solve_xp2_xpyp_with_single_lhs.

* Fixing mangled merge.

* Pushing loops down.

* Pushing loops and small cleanup.
The file was modified advance_xp2_xpyp_module.F90 (diff)
Commit 027ddbb31fdc89dc29b576b69ae24dcc7cb5b790 by Gunther Huebler
Various simple changes to improve performance. All bit-for-bit.
The file was modified advance_xp2_xpyp_module.F90 (diff)
The file was modified pdf_utilities.F90 (diff)
The file was modified pdf_closure_module.F90 (diff)
The file was modified advance_clubb_core_module.F90 (diff)
Commit 9fbc4c9718f0b333f1cfb08f5b2a134fcd849070 by Gunther Huebler
Pushing loop into calc_stability_correction.
The file was modified advance_clubb_core_module.F90 (diff)
The file was modified advance_helper_module.F90 (diff)
The file was modified advance_xm_wpxp_module.F90 (diff)
The file was modified advance_xp2_xpyp_module.F90 (diff)
Commit f6bb40b687635af5c4c333c02024c3fea93be31d by Gunther Huebler
Another similar small bug fix.
The file was modified advance_xp2_xpyp_module.F90 (diff)
Commit 99eb7c12fda3b8367b96d54094ba6d5b87ff64f6 by pbroels
Adding in comments to the Jenkinsfiles to clarify advanced syntax usage and commands with unclear purpose.
The file was modified jenkins_tests/sam_clubb_silhs_gfortran_build/Jenkinsfile (diff)
The file was modified jenkins_tests/sam_clubb_code_copy/Jenkinsfile (diff)
The file was modified jenkins_tests/sam_clubb_pgi_build/Jenkinsfile (diff)
The file was modified jenkins_tests/sam_micro_drizzle_intel_test/Jenkinsfile (diff)
Commit e2ec97eca0f3244643d61e5d258d7341d579b9ad by noreply
Gunthers branch (#999)

* Reworking the flow to make it good.

* Cleaning up.

* Pushing loop into advance_xp2_wpxp.

* Forgot to commit advance_clubb_core.

* Slight improvement to logic of lhs_diff_zm_crank calculation, and fixing stats but present when lhs_diff_zm_crank=true.

* Pushing lots of loops down.

* Changing dimension ordering.

* Cleaning up. This completes advance_wp2_wp3. larson-group/clubb#972

* Changing capitalization of intents.
The file was modified advance_wp2_wp3_module.F90 (diff)
The file was modified advance_clubb_core_module.F90 (diff)
Commit 592d69e2936ee8ce9c706d21a606fe2ed89c5a7f by 68997723+JanGrn
Renamed smth_range to heaviside_smth_range
The file was modified advance_helper_module.F90 (diff)
The file was modified mixing_length.F90 (diff)
Commit c9ccb33dd2dd17ed51136d49262370f980d34efa by 68997723+JanGrn
Added tot_vartn_normlzd statistics. Renamed sclr in advance_helper_module to scalar to be more consistent with clubb naming schemes.
The file was modified advance_helper_module.F90 (diff)
The file was modified stats_variables.F90 (diff)
The file was modified stats_sfc_module.F90 (diff)
The file was modified stats_clubb_utilities.F90 (diff)
Commit e68c14bd04dd6715f4eead46f5252b1cae3d909e by 68997723+JanGrn
Implemented three further normalized variation stats. Included a (most likely temporary) check because in a few cases, denominator for normalization would be 0.
The file was modified stats_clubb_utilities.F90 (diff)
The file was modified stats_sfc_module.F90 (diff)
The file was modified stats_variables.F90 (diff)
Commit 36748fbe6efa8a82b6c846fc8ec914e90114bdfb by 68997723+JanGrn
Changed priorities of total normalized variation stats, included error handling in total normalized variation stats.
The file was modified stats_clubb_utilities.F90 (diff)
Commit 28fb91ccebb1790cc90b29cc7fe8b0b211b727eb by 68997723+JanGrn
Renamed pdf_output_filename. Added grid_level constant to avoid magic numbers in stats_update_var_pt calls.
The file was modified stats_clubb_utilities.F90 (diff)
Commit 8b65b741ae34ba9ef8287f3fcafd627092d4ba13 by noreply
Gunthers branch 2 (#1002)

* Pushing loop down through advance_windm. Other files needed to be touched because they were using a simple function, xpwp_func, which has been replaced in relevenant places by the few lines of code it takes to do.

* Cleaned up intents

* Moving xpwp calcuations back to procedure, but making procedure a 1/2D interface in advance helper. Other various small tweaks as well.
The file was modified advance_windm_edsclrm_module.F90 (diff)
The file was modified advance_clubb_core_module.F90 (diff)
The file was modified clubb_api_module.F90 (diff)
The file was modified setup_clubb_pdf_params.F90 (diff)
The file was modified advance_helper_module.F90 (diff)
Commit 488bf543bb77e0f48a1958074bd8d468f4421f76 by 68997723+JanGrn
Bugfix for merge #1000. stderr was not imported in stat_clubb_utilities.F90, causing compilation to fail.
The file was modified stats_clubb_utilities.F90 (diff)
Commit c8881c3913d3bf82c215fe8af27e6d27da2f7f40 by benjamin.andrew.stephens
Renaming the new case from SHEAR_DRIVEN to NEUTRAL, and associated mentions in files.

See https://github.com/larson-group/clubb/issues/991.
The file was addedNEUTRAL/grd
The file was removedSHEAR_DRIVEN/README
The file was addedNEUTRAL/snd
The file was addedNEUTRAL/lsf
The file was addedNEUTRAL/sfc
The file was removedSHEAR_DRIVEN/prm.les
The file was modified SCRIPTS/LES_setup/setup_LES_KK_micro.bash (diff)
The file was removedSHEAR_DRIVEN/snd
The file was removedSHEAR_DRIVEN/domain.f90.les
The file was removedSHEAR_DRIVEN/lsf
The file was addedNEUTRAL/prm.les
The file was removedSHEAR_DRIVEN/grd
The file was removedSHEAR_DRIVEN/sfc
The file was addedNEUTRAL/README
The file was addedNEUTRAL/domain.f90.les
Commit 612b58c17db79d410f0d7c183c582f38d1ccb1b5 by 68997723+JanGrn
Added ability to apply smooth min max functions in mixing_length.F90
The file was modified advance_helper_module.F90 (diff)
The file was modified mixing_length.F90 (diff)
Commit 2d9fdafb4596ebd4063d961bc3d1b18c0dbcff3d by 68997723+JanGrn
Updated deprecated documentation of smooth min and max functions in advance_helper_module.F90. https://github.com/larson-group/clubb/issues/965
The file was modified advance_helper_module.F90 (diff)
Commit f050454be526c9ec53c1d5445ba5ea554477010c by 68997723+JanGrn
Checked whether results really are identical even with round-off when we have l_smooth_min_max=T and smooth_min_max_mag=zero. Next commit rolls some of these changes back for merge into master. https://github.com/larson-group/clubb/issues/965
The file was modified advance_helper_module.F90 (diff)
The file was modified mixing_length.F90 (diff)
Commit d540581ca5c6736c20a89d3b168cd0048f6bf3a2 by 68997723+JanGrn
Added test cases to smooth_min_max_tests.F90 and updated documentation.
The file was modified mixing_length.F90 (diff)
Commit 312b71b16529ae216c04189c49f66a05752d1cbb by cernikt
removed SAM_CLUBB_standards.tex, SAM_CLUBB.tex, SAM_code_notes.tex, and SAM6.10_guide.doc larson-group/sys_admin#622
The file was removedDOC/SAM_code_notes.tex
The file was removedDOC/SAM_CLUBB.tex
The file was removedDOC/SAM6.10_guide.doc
The file was removedDOC/SAM_CLUBB_standards.tex
Commit 4a5bf1865b151f96d5460e2aaddf0de756310411 by benjamin.andrew.stephens
COrrecting a couple of omissions from when I was renaming the shear_driven case to "neutral".

See https://github.com/larson-group/clubb/issues/991.
The file was removedSRC/surface.shear_driven
The file was modified SCRIPTS/LES_setup/setup_LES_KK_micro.bash (diff)
The file was addedSRC/surface.neutral
Commit f6c58abafbfc4b18957f9eedff60deeb321bad32 by noreply
Constructing rcm within SILHS (as rcm_pdf) (#1011)

* Constructing rcm within SILHS (as rcm_pdf) to avoid having to pass rcm directly to SILHS. Relevant to possibly moving PDF call placement
into the "post" position in CAM.

See https://github.com/ESCOMP/CAM/issues/582.

* Reconstructing rcm inside of setup_pdf_parameters instead of passing it through
the argument lists.  Might help NCAR move the PDF call placement to "post" position
in CAM.

See https://github.com/larson-group/clubb/issues/997.

* Adding descriptive comment.
The file was modified silhs_api_module.F90 (diff)
The file was modified latin_hypercube_driver_module.F90 (diff)
Commit e3cdb98eb6cc532f8ef187f2d1cc56481a75d1f5 by noreply
Constructing rcm within SILHS (as rcm_pdf) (#1011)

* Constructing rcm within SILHS (as rcm_pdf) to avoid having to pass rcm directly to SILHS. Relevant to possibly moving PDF call placement
into the "post" position in CAM.

See https://github.com/ESCOMP/CAM/issues/582.

* Reconstructing rcm inside of setup_pdf_parameters instead of passing it through
the argument lists.  Might help NCAR move the PDF call placement to "post" position
in CAM.

See https://github.com/larson-group/clubb/issues/997.

* Adding descriptive comment.
The file was modified clubb_api_module.F90 (diff)
The file was modified setup_clubb_pdf_params.F90 (diff)
Commit 56d698f9776ce2802dfc991ed50a8dc952f0ec95 by benjamin.andrew.stephens
Updating for changes to CLUBB.  See https://github.com/larson-group/clubb/commit/e4f125ba067ba8083f917e0e06b6b2398483d3e4.
The file was modified SRC/SGS_CLUBB/clubb_sgs.F90 (diff)
Commit db5164bb7ed0c78ce4f06f92e7bf6118d10addf3 by noreply
Almost final loop pushes (#1012)

* Pushing loop into clip_rcm

* Pushing column loop into trapezoid routines.

* Pushing column loop into clip_covar routines.

* Pushing column loop into clip_variance and clip_skewness.

* Replacing sgn_turbulent_velocity with built in fortran sign

* Removing gr from argument list of stats calls, replacing with just nz

* Replacing some usages of gr with just the number of vertical levels

* Replacing some usages of gr with just the number of vertical levels again

* Missed a couple files to commit

* Pushing some loops and removing need for gr to be passed into some routines.

* Pushing loop into advance_xp3

* Pushing loop into mixing length

* Some more loop pushing

* Pushing some loops into mono_flux limit, skipping the lhs routine since it's a bit tricky at the moment, will do after change to grid class.

* Removing gr from argument list of stats accumulate

* Precalculating zt2zm so that we can use 2d version

* Precalculating um/vm ddzt so that we can use 2d version

* Precalculating things to use 2d version of zt2zm

* Making 2d version of cubic interp for grid class

* Small modifications to sponge damping code argument lists

* Renaming some variables
The file was modified advance_clubb_core_module.F90 (diff)
The file was modified mono_flux_limiter.F90 (diff)
The file was modified stats_type_utilities.F90 (diff)
The file was modified advance_xp2_xpyp_module.F90 (diff)
The file was modified grid_class.F90 (diff)
The file was modified fill_holes.F90 (diff)
The file was modified advance_xm_wpxp_module.F90 (diff)
The file was modified clip_explicit.F90 (diff)
The file was modified pos_definite_module.F90 (diff)
The file was modified setup_clubb_pdf_params.F90 (diff)
The file was modified sponge_layer_damping.F90 (diff)
The file was modified LY93_pdf.F90 (diff)
The file was modified advance_wp2_wp3_module.F90 (diff)
The file was modified advance_helper_module.F90 (diff)
The file was modified clubb_api_module.F90 (diff)
The file was modified numerical_check.F90 (diff)
The file was modified adg1_adg2_3d_luhar_pdf.F90 (diff)
The file was modified advance_xp3_module.F90 (diff)
The file was modified new_hybrid_pdf_main.F90 (diff)
The file was modified advance_windm_edsclrm_module.F90 (diff)
The file was modified new_pdf.F90 (diff)
The file was modified new_tsdadg_pdf.F90 (diff)
The file was modified pdf_closure_module.F90 (diff)
The file was modified stats_clubb_utilities.F90 (diff)
The file was modified new_pdf_main.F90 (diff)
The file was modified mixing_length.F90 (diff)
The file was modified turbulent_adv_pdf.F90 (diff)
Commit 9701c2054c2b0228fdaf8aefb5844479ef68c66b by Gunther Huebler
Making compatible with latest clubb change.
The file was modified SRC/micro_field_utils.F90 (diff)
The file was modified SRC/SGS_CLUBB/clubb_sgs.F90 (diff)
The file was modified SRC/MICRO_M2005_UWM/microphysics.F90 (diff)
Commit 113beb1ec6663fcef3f6bb75c7ee971ab3c0fa45 by noreply
Making pdf_implicit_coefs_terms a type containing 2D arrays. (#1014)

The file was modified pdf_closure_module.F90 (diff)
The file was modified pdf_parameter_module.F90 (diff)
The file was modified advance_xm_wpxp_module.F90 (diff)
The file was modified new_pdf_main.F90 (diff)
The file was modified advance_clubb_core_module.F90 (diff)
The file was modified new_hybrid_pdf_main.F90 (diff)
The file was modified clubb_api_module.F90 (diff)
The file was modified advance_xp2_xpyp_module.F90 (diff)
The file was modified advance_wp2_wp3_module.F90 (diff)
Commit 7bc6f76ec8b70bc1789f90b554dca47122c40001 by Gunther Huebler
The G_unit tests never allocated pdf_implicit_coefs_terms. It's unclear to me how these were working before, but it seems that something about making these 2D allocatable arrays exposed the bug.
The file was modified new_pdf_main.F90 (diff)
The file was modified new_hybrid_pdf_main.F90 (diff)
Commit de73c4eefaee2b50045b4f5e706868e84b0f4550 by Gunther Huebler
Making zt2zm calls with pdf_implicit_coefs_terms use the 2D version.
The file was modified advance_xp2_xpyp_module.F90 (diff)
Commit 3643c78f6fe2260f971bba96ead125858b665f1c by Gunther Huebler
Removing setup_grid and setup_parameters functionality from setup_clubb_core. This is beacuse in host models the required grid information may not be known during the setup process, resulting in dummy arguments for setup_clubb_core and the grid and paramters being setup during runtime anyway. Now, in the host models we can call these subroutines immediately after setup_clubb_core to maintain identical functionality (sam, wrf), and in others we can wait to call these until the main timestepping procedure (cam,e3sm).
The file was modified clubb_api_module.F90 (diff)
The file was modified advance_clubb_core_module.F90 (diff)
Commit b709f9e50c7ce9642fe0a6c0dcd874a14a472c76 by Gunther Huebler
Making compatible with latest clubb change.
The file was modified SRC/SGS_CLUBB/clubb_sgs.F90 (diff)
Commit c623b91a9bf812b85b51b575233ad00e8b98f16c by Gunther Huebler
Making 2D versions of setup_grid and setup_parameters.
The file was modified grid_class.F90 (diff)
The file was modified clubb_api_module.F90 (diff)
The file was modified parameters_tunable.F90 (diff)
Commit 69aaa53016d97c134fc63c8ebc1a7c029d2b6074 by Gunther Huebler
Making lmin a scalar again, twas a mistake to make it an array, it can only take on one value.
The file was modified parameters_tunable.F90 (diff)
The file was modified mixing_length.F90 (diff)
The file was modified clubb_api_module.F90 (diff)
The file was modified advance_clubb_core_module.F90 (diff)
Commit 02455edff630a52bd333d2b0013748e4bce7e9ff by Gunther Huebler
Making nu_vert_res_dep a type containing arrays, as opposed to being an array of types.
The file was modified advance_clubb_core_module.F90 (diff)
The file was modified advance_wp2_wp3_module.F90 (diff)
The file was modified advance_xm_wpxp_module.F90 (diff)
The file was modified advance_windm_edsclrm_module.F90 (diff)
The file was modified advance_xp2_xpyp_module.F90 (diff)
The file was modified clubb_api_module.F90 (diff)
The file was modified parameters_tunable.F90 (diff)