Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

cam6_3_109: Science and infrastructure changes to improve energy/mass budget reporting and closure. #761

Merged
merged 192 commits into from
Apr 28, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
192 commits
Select commit Hold shift + click to select a range
c410f0a
initial commit of ebudget code
jtruesdal Apr 21, 2022
6aeaacb
add cam6_3_044 mods to dyn_grid and cam_grid_support to support write…
jtruesdal Apr 21, 2022
60acd6c
fix bug in budgeting logic when dynamic energy variables are not outp…
jtruesdal Apr 21, 2022
e456289
updates to the inline energy diagnostics including a new budgets modu…
jtruesdal Apr 25, 2022
01a24ad
bugfix missing set_dry_to_wet call
jtruesdal Apr 29, 2022
6ade69c
dev with debug - working
jtruesdal Aug 15, 2022
ce29f55
remove debug print
jtruesdal Aug 15, 2022
2e0ef74
update to cam6_3_044
jtruesdal Aug 15, 2022
c856a56
Merge tag 'cam6_3_045' into ebudget_dev_update
jtruesdal Aug 15, 2022
19ff2e6
Merge tag 'cam6_3_046' into ebudget_dev_update
jtruesdal Aug 15, 2022
ec2612c
ebudget_dev_update to cam6_3_047
jtruesdal Aug 15, 2022
4ce14bb
ebudget_dev_update to cam6_3_048
jtruesdal Aug 15, 2022
16d582f
ebudget_dev_update to cam6_3_049
jtruesdal Aug 15, 2022
682a5e3
ebudget_dev_update to cam6_3_050
jtruesdal Aug 15, 2022
4133191
ebudget_dev_update to cam6_3_051
jtruesdal Aug 15, 2022
841e0ad
ebudget_dev_update to cam6_3_052
jtruesdal Aug 15, 2022
ba54003
ebudget_dev_update to cam6_3_053
jtruesdal Aug 15, 2022
f0ab336
ebudget_dev_update to cam6_3_054
jtruesdal Aug 15, 2022
f5d955b
ebudget_dev_update to cam6_3_055
jtruesdal Aug 15, 2022
90f7c80
ebudget_dev_update to cam6_3_056
jtruesdal Aug 15, 2022
5114f94
ebudget_dev_update to cam6_3_057
jtruesdal Aug 15, 2022
c649011
ebudget_dev_update to cam6_3_058
jtruesdal Aug 15, 2022
e21847e
ebudget_dev_update to cam6_3_059
jtruesdal Aug 15, 2022
a543c96
ebudget_dev_update to cam6_3_060
jtruesdal Aug 15, 2022
5dac9db
ebudget_dev_update to cam6_3_061
jtruesdal Aug 15, 2022
9da0ac4
ebudget_dev_update to cam6_3_062
jtruesdal Aug 15, 2022
c941262
ebudget_dev_update to cam6_3_063
jtruesdal Aug 15, 2022
a59cea8
ebudget_dev_update to cam6_3_064
jtruesdal Aug 15, 2022
fda112e
ebudget_dev_update to cam6_3_065
jtruesdal Aug 15, 2022
0c5f20f
ebudget_dev_update to cam6_3_066
jtruesdal Aug 15, 2022
777cb89
ebudget_dev_update to cam6_3_067
jtruesdal Aug 15, 2022
0f92c35
ebudget_dev_update to cam6_3_068
jtruesdal Aug 15, 2022
94c4cc0
ebudget_dev_update to cam6_3_069
jtruesdal Aug 15, 2022
0e96797
ebudget_dev_update to cam6_3_070
jtruesdal Aug 15, 2022
3b7ddf4
ebudget_dev_update to cam6_3_071
jtruesdal Aug 15, 2022
6363c8a
ebudget_dev_update to cam6_3_072
jtruesdal Aug 15, 2022
50c84a3
fix Externals.cfg
jtruesdal Aug 15, 2022
524706a
fix bugs while updating to cam6_3_072 - checked against Peter's script
jtruesdal Aug 15, 2022
f4647a8
updates to get MPAS budgets working, next step to refactor to make co…
jtruesdal Sep 8, 2022
88fc6e2
some refactor for mpas budgets
jtruesdal Sep 15, 2022
4bf1777
remove some debug printout
jtruesdal Sep 15, 2022
b3b97aa
mass fixes for se dycore
jtruesdal Oct 6, 2022
1c287e0
NAG fixes for budgeting
jtruesdal Oct 19, 2022
57dce85
updates for cam_dev and some cleanup from nag bldlog warnings
jtruesdal Oct 20, 2022
b292239
fix NAG issue with strings
Mjoldnir Oct 20, 2022
b93dd39
modify text for logfile
Mjoldnir Oct 20, 2022
1f8bd8e
Merge remote-tracking branch 'refs/remotes/origin/ebudget_dev_update'…
Mjoldnir Oct 20, 2022
62751ba
mods to log file messages and remove unused energy difference
Mjoldnir Oct 20, 2022
b23a1ae
fix get_info interface and some NAG cleanup
jtruesdal Oct 20, 2022
4aa04d0
bring code up to cam6_3_080
jtruesdal Oct 20, 2022
f4a224a
bug fix for cam6_3_080 merge
jtruesdal Oct 21, 2022
0c9375f
bug fix for cam_thermo
jtruesdal Oct 21, 2022
f69fbac
correct fix for cam_thermo
jtruesdal Oct 21, 2022
4c6efee
added budget for phAP-phBF in physpkg to fix error with budget_print
jtruesdal Oct 21, 2022
f3edd5e
bug fix for comparing internal/external grids
jtruesdal Oct 24, 2022
cd40107
update default ic for aquaplanet to notopo
jtruesdal Oct 25, 2022
dc5e9e1
update cam_dev with required budget_add call for logging energy budgets
jtruesdal Oct 26, 2022
a9b449a
move dBF energy call from dyn_comp to dp_coupling
PeterHjortLauritzen Oct 27, 2022
f751ff6
initial clean-up of energy diags for log file
PeterHjortLauritzen Oct 27, 2022
b66b289
better physics-dynamics coupling with MPAS (code ifdef'ed in since it…
PeterHjortLauritzen Oct 31, 2022
f9350ac
further improvements in logfile energy diagnostics
PeterHjortLauritzen Oct 31, 2022
4145dca
remove endrun while developing
PeterHjortLauritzen Oct 31, 2022
8f9af29
TFIX output should be turned on for all dycores using energy fixer
PeterHjortLauritzen Nov 1, 2022
eaba646
remove FV dme adjust diagnostics
PeterHjortLauritzen Nov 1, 2022
a1f2fb5
renaming for incl. all liq and all ice in one variable
PeterHjortLauritzen Nov 1, 2022
142f29d
Revert "renaming for incl. all liq and all ice in one variable"
PeterHjortLauritzen Nov 1, 2022
b8d70f2
add all water in pressure for SE (large commit!) - recover cam_develo…
PeterHjortLauritzen Nov 2, 2022
783a857
remove unused variable
PeterHjortLauritzen Nov 2, 2022
78b1474
fix bug in how indices for energy diagnostics are set in dyn_comp.F90
PeterHjortLauritzen Nov 2, 2022
7def1f8
MPAS: add all water to pressure and consistent height-pressure formul…
PeterHjortLauritzen Nov 30, 2022
d11b9f1
separate "static energy" into enthalpy and PHIS energy
PeterHjortLauritzen Nov 30, 2022
92b0e39
typo
PeterHjortLauritzen Nov 30, 2022
cbc0d29
minor addtions in dycore_budget.F90
PeterHjortLauritzen Nov 30, 2022
adf8ea5
fix bug in mass diagnostics in SE
PeterHjortLauritzen Dec 14, 2022
64aefc1
switch to generalized virtual temperature (closes MPAS energy budget)
PeterHjortLauritzen Dec 16, 2022
edfba48
update budget/state indexes
jtruesdal Dec 16, 2022
c1abd62
update my mods with ebudget update 49
jtruesdal Dec 16, 2022
de1b3f3
improve log file output for MPAS
PeterHjortLauritzen Dec 16, 2022
92f0860
remove unused option (energy conserving dry-mass adjustment)
PeterHjortLauritzen Dec 16, 2022
3118a55
Merge branch 'ebudget_dev_update' of https://github.com/jtruesdal/CAM…
jtruesdal Dec 17, 2022
10d9b52
bring ebudget up to cam6_3_087
jtruesdal Dec 20, 2022
1b25f82
add budget calculation after number of steps,days,months,years,endofr…
jtruesdal Jan 9, 2023
28cee0c
fix for budget_write functionality when budgeting every timestep
jtruesdal Jan 9, 2023
6cf10ce
get rid of WX test variable
jtruesdal Jan 9, 2023
d5539bf
mpas bug fixes
jtruesdal Jan 10, 2023
a380cb4
addfld calls for stages and differences for all thermodynamic categories
jtruesdal Jan 10, 2023
7950150
bug fixes for CSLAM
jtruesdal Jan 10, 2023
a9eb660
fix bug in call to get_hydrostatic_energy in energy diagnostics
PeterHjortLauritzen Jan 10, 2023
4382817
fix bug in dimension size
PeterHjortLauritzen Jan 11, 2023
d77c7a5
another index bug
PeterHjortLauritzen Jan 11, 2023
75d2280
updates to log file
PeterHjortLauritzen Jan 17, 2023
7e520bd
better error checking
PeterHjortLauritzen Jan 20, 2023
0544d0d
make MPAS use cam_thermo energy routines
PeterHjortLauritzen Feb 2, 2023
64a592e
use thermo infrastructure in SE energy calculations
PeterHjortLauritzen Feb 3, 2023
c7563ce
bring ebudget up to cam6_3_093
jtruesdal Feb 7, 2023
2f61e78
initial checkin of jt ebudget changes cam6387
jtruesdal Feb 7, 2023
d8a3584
bring jt ebudget mods to cam6393
jtruesdal Feb 7, 2023
b0ceae6
lots of science changes:
PeterHjortLauritzen Feb 22, 2023
190dd14
adopt new subroutine names in fv and mpas
PeterHjortLauritzen Feb 22, 2023
be96dfc
refactor/simplify budget code to use history buffers
jtruesdal Feb 23, 2023
7bf6b90
Merge branch 'ebudget_dev_update_jt' into ebudget_dev_update
jtruesdal Feb 23, 2023
f24b0f2
infrastructure for more accurate energy computation for MPAS; futher …
PeterHjortLauritzen Feb 24, 2023
44b73a5
MPAS thermo
PeterHjortLauritzen Feb 25, 2023
d72a3d5
minor bug fixes/refactor
jtruesdal Feb 28, 2023
57e25d9
redo mpas updates - bad merge earlier
jtruesdal Feb 28, 2023
25d2b44
regression test bug fixes for budget and dycores
jtruesdal Mar 1, 2023
0b06ea2
more regression fixes, this time for izumi
jtruesdal Mar 2, 2023
0f7a3ce
PR cleanup, ChangeLog wording
jtruesdal Mar 7, 2023
a54262a
PR cleanup
jtruesdal Mar 9, 2023
5b507e1
bring ebudget code up to date with cam6_3_096
jtruesdal Mar 10, 2023
ff7debe
Changelog for 099 because git is unable to merge
jtruesdal Mar 17, 2023
ad15814
Merge remote-tracking branch 'ESCOMP/cam_development' into ebudget_de…
jtruesdal Mar 17, 2023
03097ad
update ChangeLog and rename calc_te routines in cam_dev for budgets
jtruesdal Mar 17, 2023
1bac315
turn on physical frictional heating (WACCM-x)
PeterHjortLauritzen Mar 21, 2023
74d3a2d
bug in previous commit
PeterHjortLauritzen Mar 22, 2023
169a28c
new energy code in simple physics
PeterHjortLauritzen Mar 22, 2023
632731e
cleanup (variable names se/dyn_comp.F90 and log file code)
PeterHjortLauritzen Mar 22, 2023
fd16ddb
remove outcommented code
PeterHjortLauritzen Mar 22, 2023
d7297e3
beautify log file energy output
PeterHjortLauritzen Mar 22, 2023
66ce3c8
hack to get bit-for-bit for FV, FV3, EUL
PeterHjortLauritzen Mar 24, 2023
50f847d
some code clean-up
PeterHjortLauritzen Mar 24, 2023
93f2513
beautiful physics energy names
PeterHjortLauritzen Mar 24, 2023
25394dc
some refactor and fix bug with area weights for MPAS - normalized to …
jtruesdal Mar 27, 2023
da42b8d
clearer naming convention in SE dycore_budget.F90 code
PeterHjortLauritzen Mar 27, 2023
8c8618b
bug fix for budgets, need to normalize before creating a composed field
jtruesdal Mar 28, 2023
51a142e
Merge branch 'ebudget_dev_update' of https://github.com/jtruesdal/CAM…
jtruesdal Mar 28, 2023
80b076d
bring ebudget_dev_update up to cam6_3_100
jtruesdal Mar 28, 2023
9512833
fix energy diagnostic bug
PeterHjortLauritzen Mar 31, 2023
e2a759d
further improvements and unification of logfile energy output
PeterHjortLauritzen Mar 31, 2023
1fdb534
clean-up
PeterHjortLauritzen Apr 3, 2023
52f55d1
remove old ifdef code
PeterHjortLauritzen Apr 5, 2023
33ef5e4
clean-up
PeterHjortLauritzen Apr 5, 2023
6fa7e93
bug (identified by Jesse N.)
PeterHjortLauritzen Apr 6, 2023
730a005
scale temperature T and dtdt in physics rather than in dp_coupling so…
PeterHjortLauritzen Apr 6, 2023
ecba35f
simple physics support for previous commit: "scale temperature T and …
PeterHjortLauritzen Apr 7, 2023
763a8ec
remove se_phys_dyn_cp and se_cp_moist namelist vars and associated va…
PeterHjortLauritzen Apr 7, 2023
c47eb47
fix initialization bug (from Truesdale) for simple physics energy bud…
PeterHjortLauritzen Apr 7, 2023
7d2db5b
clarify differences in MPAS log file messages
PeterHjortLauritzen Apr 7, 2023
14d0bc0
bring repo up to cam6_3_106
jtruesdal Apr 7, 2023
e39ca76
update ChangeLog for PR, bug fix for MPAS, added thermo_budget_debug …
jtruesdal Apr 10, 2023
623058e
fix failing sub-column test
Mjoldnir Apr 10, 2023
d1a8ff3
new namelist defaults for water_species - based primarily on microphy…
jtruesdal Apr 10, 2023
c56a5ca
allow budgets to be written to files 0-10
jtruesdal Apr 11, 2023
d1c2a8e
PR review updates for Jesse
jtruesdal Apr 17, 2023
e9c0529
PR updates for Jesse, continued ...
jtruesdal Apr 18, 2023
51af377
PR comment updates
jtruesdal Apr 19, 2023
b2f9024
next tranche of updates for the PR
jtruesdal Apr 19, 2023
9fdfd48
merge ebudget_dev_update to cam6_3_107
jtruesdal Apr 20, 2023
a7ff2ed
repond to PR comments
PeterHjortLauritzen Apr 20, 2023
30d45f5
PR comments mods
PeterHjortLauritzen Apr 20, 2023
0208c49
more mods
PeterHjortLauritzen Apr 20, 2023
0a6f9cf
PR budget mods no answer changing
jtruesdal Apr 21, 2023
fde0e07
PR changes
jtruesdal Apr 21, 2023
9456829
PR responses
PeterHjortLauritzen Apr 21, 2023
c9a5f54
PR mods.
PeterHjortLauritzen Apr 21, 2023
7ad2d09
replace ntrac>0 with use_cslam throughout code; other clean-up
PeterHjortLauritzen Apr 21, 2023
627d380
PR updates
jtruesdal Apr 21, 2023
86056a9
Merge branch 'ebudget_dev_update' of https://github.com/jtruesdal/CAM…
jtruesdal Apr 21, 2023
10f5d9e
PR update check budget_num
jtruesdal Apr 21, 2023
f475865
replace /gravit with rga throughout code
PeterHjortLauritzen Apr 21, 2023
1a77db4
bug in previous commit - round-off answer changes!
PeterHjortLauritzen Apr 21, 2023
96fc4c1
split long lines for PR
jtruesdal Apr 21, 2023
4e37ff2
Merge branch 'ebudget_dev_update' of https://github.com/jtruesdal/CAM…
jtruesdal Apr 21, 2023
d457221
PR fix for valid tapes numbers
jtruesdal Apr 21, 2023
d6151af
Update src/utils/cam_thermo.F90
PeterHjortLauritzen Apr 24, 2023
4e6d064
PR
PeterHjortLauritzen Apr 24, 2023
d9f7645
PR commits
jtruesdal Apr 24, 2023
2fe1097
Merge branch 'ebudget_dev_update' of https://github.com/jtruesdal/CAM…
jtruesdal Apr 24, 2023
14b0adf
PR update, op to optype in error msg
jtruesdal Apr 24, 2023
bce1fbb
PR updates
jtruesdal Apr 24, 2023
ebbd4ac
PR mods
PeterHjortLauritzen Apr 25, 2023
bf37e82
PR stuff
PeterHjortLauritzen Apr 25, 2023
8606bf9
PR refactor - comments, rename, added parameters
jtruesdal Apr 25, 2023
89bd770
rename file/module budgets to cam_budget along with external subroutines
jtruesdal Apr 26, 2023
cf6fc5c
add some changed files that were missing
jtruesdal Apr 27, 2023
34b3b48
added vcoord_moist_pressure ifelse to water_update for FV core
jtruesdal Apr 27, 2023
e4e149c
rename is_budget to is_cam_budget and cam_budget_em_budget to cam_bud…
jtruesdal Apr 27, 2023
4a60ca7
Update FLTHIST compset and finish implementing initial FMTHIST compset
cacraigucar Apr 27, 2023
47cfbf7
Merge pull request #26 from cacraigucar/cam_compsets_v0b
jtruesdal Apr 27, 2023
3d1fe8e
remove extra cslam argument for snapshot and budget register
jtruesdal Apr 27, 2023
3253718
Merge branch 'ebudget_dev_update' of https://github.com/jtruesdal/CAM…
jtruesdal Apr 27, 2023
b51b632
reset --soft HEAD^ to remove last commit in error
jtruesdal Apr 28, 2023
a78865e
reverting to 3253718
jtruesdal Apr 28, 2023
8209128
merge up to cam6_3_108
jtruesdal Apr 28, 2023
176b088
forgot to rename cam_budget_init in cam/physpkg
jtruesdal Apr 28, 2023
e846d0f
FINDLOC not supported in NAG versions < 7.0 replaced with MAXLOC
jtruesdal Apr 28, 2023
abd0cf5
bugfix for MAXLOC doesnt affect regression tests as no globals tested…
jtruesdal Apr 28, 2023
f4742d8
corrected subroutine renames - only executed when budgets are turned …
jtruesdal Apr 28, 2023
65d277f
update Changelog for tag
jtruesdal Apr 28, 2023
a054f19
add extra issues also included in this PR
jtruesdal Apr 28, 2023
da6f9ae
spelling...
jtruesdal Apr 28, 2023
4043cb8
added issue #789
jtruesdal Apr 28, 2023
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 0 additions & 2 deletions bld/build-namelist
Original file line number Diff line number Diff line change
Expand Up @@ -3860,7 +3860,6 @@ if ($dyn =~ /se/) {
my @vars = qw(
se_ftype
se_horz_num_threads
se_lcp_moist
se_large_Courant_incr
se_hypervis_subcycle
se_hypervis_subcycle_sponge
Expand Down Expand Up @@ -3888,7 +3887,6 @@ if ($dyn =~ /se/) {
se_fvm_supercycling_jet
se_kmin_jet
se_kmax_jet
se_phys_dyn_cp
se_molecular_diff
);

Expand Down
22 changes: 10 additions & 12 deletions bld/namelist_files/namelist_defaults_cam.xml
Original file line number Diff line number Diff line change
Expand Up @@ -2863,14 +2863,16 @@
<dry_air_species >''</dry_air_species>
<dry_air_species waccmx="1" >'O', 'O2', 'H', 'N2'</dry_air_species>

<water_species_in_air >'Q' </water_species_in_air>
<water_species_in_air phys="kessler" >'Q','CLDLIQ','RAINQM' </water_species_in_air>
<water_species_in_air phys="cam4" >'Q','CLDLIQ','CLDICE' </water_species_in_air>
<water_species_in_air phys="cam5" >'Q','CLDLIQ','CLDICE' </water_species_in_air>
<water_species_in_air phys="spcam_m2005" >'Q','CLDLIQ','CLDICE' </water_species_in_air>
<water_species_in_air phys="spcam_sam1mom" >'Q','CLDLIQ','CLDICE' </water_species_in_air>
<water_species_in_air phys="cam6" >'Q','CLDLIQ','CLDICE','RAINQM','SNOWQM'</water_species_in_air>
<water_species_in_air phys="cam_dev" >'Q','CLDLIQ','CLDICE','RAINQM','SNOWQM'</water_species_in_air>
<water_species_in_air >'Q' </water_species_in_air>
<water_species_in_air microphys="none" phys="adiabatic" >'Q' </water_species_in_air>
<water_species_in_air microphys="none" phys="held_suarez">'Q' </water_species_in_air>
<water_species_in_air microphys="none" phys="kessler" >'Q','CLDLIQ','RAINQM' </water_species_in_air>
<water_species_in_air microphys="rk" >'Q','CLDLIQ','CLDICE' </water_species_in_air>
<water_species_in_air microphys="spcam_m2005" >'Q','CLDLIQ','CLDICE' </water_species_in_air>
<water_species_in_air microphys="spcam_sam1mom" >'Q','CLDLIQ','CLDICE' </water_species_in_air>
<water_species_in_air microphys="mg1" >'Q','CLDLIQ','CLDICE' </water_species_in_air>
<water_species_in_air microphys="mg2" >'Q','CLDLIQ','CLDICE','RAINQM','SNOWQM' </water_species_in_air>
<water_species_in_air microphys="mg3" >'Q','CLDLIQ','CLDICE','RAINQM','SNOWQM','GRAUQM'</water_species_in_air>

<!-- ================================================================== -->
<!-- Defaults for FV3 -->
Expand Down Expand Up @@ -2968,8 +2970,6 @@

<se_ftype> 2 </se_ftype>

<se_lcp_moist > .true. </se_lcp_moist>

<se_large_Courant_incr > .true. </se_large_Courant_incr>

<se_hypervis_scaling se_refined_mesh="1" hypervis_type="tensor" >3.22D0 </se_hypervis_scaling>
Expand Down Expand Up @@ -2997,8 +2997,6 @@
<se_max_hypervis_courant > 1.0e99 </se_max_hypervis_courant>
<se_max_hypervis_courant se_refined_mesh="1" hypervis_type="scalar" > 1.9 </se_max_hypervis_courant>

<se_phys_dyn_cp>1</se_phys_dyn_cp>

<se_nu>-1</se_nu>
<se_nu waccmx="1">5.e15</se_nu>

Expand Down
36 changes: 14 additions & 22 deletions bld/namelist_files/namelist_definition.xml
Original file line number Diff line number Diff line change
Expand Up @@ -1733,14 +1733,15 @@ Default: none
<!-- History and Initial Conditions Output -->

<entry id="avgflag_pertape" type="char*1(10)" category="history"
group="cam_history_nl" valid_values="A,B,I,X,M,L,S" >
group="cam_history_nl" valid_values="A,B,I,X,M,N,L,S" >
Sets the averaging flag for all variables on a particular history file
series. Valid values are:

A ==&gt; Average
B ==&gt; GMT 00:00:00 average
I ==&gt; Instantaneous
M ==&gt; Minimum
N ==&gt; average over nsteps
X ==&gt; Maximum
L ==&gt; Local-time
S ==&gt; Standard deviation
Expand Down Expand Up @@ -1832,6 +1833,7 @@ are:
B ==&gt; GMT 00:00:00 average
I ==&gt; Instantaneous
M ==&gt; Minimum
N ==&gt; average over nsteps
X ==&gt; Maximum
L ==&gt; Local-time
S ==&gt; Standard deviation
Expand Down Expand Up @@ -5062,6 +5064,17 @@ Default: 4 m/s
</entry>

<!-- Diagnostics -->
<entry id="thermo_budget_histfile_num" type="integer" category="diagnostics"
group="thermo_budget_nl" valid_values="1,2,3,4,5,6,7,8,9,10" >
History tape number thermo budget output is written to.
Default: 1
</entry>

<entry id="thermo_budget_history" type="logical" category="diagnostics"
group="thermo_budget_nl" valid_values="" >
Produce output for the energy budget diagnostic package.
Default: .false.
</entry>

<entry id="history_amwg" type="logical" category="diagnostics"
group="phys_ctl_nl" valid_values="" >
Expand Down Expand Up @@ -7671,16 +7684,6 @@ Number of dynamics steps per physics timestep.
Default: Set by build-namelist.
</entry>

<entry id="se_phys_dyn_cp" type="integer" category="se"
group="dyn_se_inparm" valid_values="0,1,2" >
Scaling of temperature increment for different levels of
thermal energy consistency.
0: no scaling
1: scale increment for cp consistency between dynamics and physics
2: do 1 as well as take into account condensate effect on thermal energy
Default: Set by build-namelist.
</entry>

<entry id="se_nu" type="real" category="se"
group="dyn_se_inparm" valid_values="" >
Hyperviscosity coefficient for u,v, T [m^4/s].
Expand Down Expand Up @@ -7746,17 +7749,6 @@ If &lt; 0, se_sponge_del4_lev is automatically set based on model top location.
Default: Set by build-namelist.
</entry>

<entry id="se_lcp_moist" type="logical" category="se"
group="dyn_se_inparm" valid_values="" >
If TRUE the continous equations the dynamical core is based on will conserve a
comprehensive moist total energy
If FALSE the continous equations the dynamical core is based on will conserve
a total energy based on cp for dry air and no condensates (same total energy as
CAM physics uses).
For more details see Lauritzen et al., (2018;DOI:10.1029/2017MS001257)
Default: TRUE
</entry>

<entry id="se_large_Courant_incr" type="logical" category="se"
group="dyn_se_inparm" valid_values="" >
If TRUE the CSLAM algorithm will work for Courant number larger than 1 with
Expand Down
56 changes: 53 additions & 3 deletions bld/namelist_files/use_cases/hist_cam_mt.xml
Original file line number Diff line number Diff line change
@@ -1,9 +1,59 @@
<?xml version="1.0"?>
<namelist_defaults>

<solar_irrad_data_file>'atm/cam/solar/SolarForcingCMIP6_18491230-23000102_c20200615.nc'</solar_irrad_data_file>
<start_ymd>19790101</start_ymd>

<!-- sim_year used for CO2 cycle namelist settings -->
<sim_year>1850-2000</sim_year>
<!-- Solar data from NRL -->
<solar_irrad_data_file>atm/cam/solar/SolarForcingCMIP6_18491230-23000102_c20200615.nc</solar_irrad_data_file>

<!-- Initial conditions -->
<ncdata hgrid="ne30np4" npg="3" nlev="93">atm/cam/inic/se/L93_ne30pg3_ne30pg3_mg17_450_short.cam.i.1979-01-07-00000.nc</ncdata>

<!-- Topography -->
<bnd_topo hgrid="ne30np4" npg="3">atm/cam/topo/se/ne30pg3_gmted2010_modis_bedmachine_nc3000_Laplace0100_20230105.nc</bnd_topo>

<!-- LBC Files -->
<flbc_file>atm/waccm/lb/LBC_17500116-20150116_CMIP6_0p5degLat_c180905.nc</flbc_file>
<flbc_type>'SERIAL'</flbc_type>
<flbc_list>'CO2','CH4','N2O','CFC11','CFC12','CFC11eq'</flbc_list>

<!-- ozone data -->
<prescribed_ozone_datapath> 'atm/cam/ozone_strataero' </prescribed_ozone_datapath>
<prescribed_ozone_file > 'ozone_strataero_WACCM_L70_zm5day_18500101-20150103_CMIP6ensAvg_c180923.nc' </prescribed_ozone_file>
<prescribed_ozone_name > 'O3' </prescribed_ozone_name>
<prescribed_ozone_type > SERIAL </prescribed_ozone_type>

<!-- Prescribed stratospheric aerosols -->
<prescribed_strataero_use_chemtrop> .true. </prescribed_strataero_use_chemtrop>
<prescribed_strataero_datapath > 'atm/cam/ozone_strataero' </prescribed_strataero_datapath>
<prescribed_strataero_file > 'ozone_strataero_WACCM_L70_zm5day_18500101-20150103_CMIP6ensAvg_c180923.nc' </prescribed_strataero_file>
<prescribed_strataero_type > SERIAL </prescribed_strataero_type>

<!-- Prescribed oxidants for aerosol chemistry -->
<tracer_cnst_datapath > 'atm/cam/tracer_cnst' </tracer_cnst_datapath>
<tracer_cnst_file > 'tracer_cnst_halons_3D_L70_1849-2015_CMIP6ensAvg_c180927.nc' </tracer_cnst_file>
<tracer_cnst_specifier> 'O3','OH','NO3','HO2','HALONS' </tracer_cnst_specifier>
<tracer_cnst_type > INTERP_MISSING_MONTHS </tracer_cnst_type>
<tracer_cnst_filelist > '' </tracer_cnst_filelist>

<!-- External forcing -->
<ext_frc_type>INTERP_MISSING_MONTHS</ext_frc_type>

<!-- Surface emissions -->
<srf_emis_type>INTERP_MISSING_MONTHS</srf_emis_type>
<csw_time_type>SERIAL</csw_time_type>

<!-- Dycore settings -->
<se_rsplit> 6 </se_rsplit>
<se_nsplit> 3 </se_nsplit>
<se_hypervis_subcycle> 3 </se_hypervis_subcycle>

<!-- gravity wave settings -->
<gw_apply_tndmax> .false. </gw_apply_tndmax>
<use_gw_convect_dp> .true. </use_gw_convect_dp>
<use_gw_front> .true. </use_gw_front>

<tau_0_ubc> .true. </tau_0_ubc>
<se_nu_top> 1.E6 </se_nu_top>

</namelist_defaults>
8 changes: 4 additions & 4 deletions cime_config/config_compsets.xml
Original file line number Diff line number Diff line change
Expand Up @@ -62,13 +62,13 @@
</compset>

<compset>
<alias>FLTHIST_v0a</alias>
<lname>HIST_CAM%DEV%LT%GHGMAM4_CLM50%SP_CICE%PRES_DOCN%DOM_MOSART_SGLC_SWAV</lname>
<alias>FLTHIST_v0b</alias>
<lname>HIST_CAM%DEV%LT%GHGMAM4_CLM51%SP_CICE%PRES_DOCN%DOM_MOSART_SGLC_SWAV</lname>
</compset>

<compset>
<alias>FMTHIST_v0a</alias>
<lname>HIST_CAM%DEV%MT_CLM50%SP_CICE%PRES_DOCN%DOM_MOSART_SGLC_SWAV</lname>
<alias>FMTHIST_v0b</alias>
<lname>HIST_CAM%DEV%MT_CLM51%SP_CICE%PRES_DOCN%DOM_MOSART_SGLC_SWAV</lname>
</compset>

<compset>
Expand Down
Loading