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

Add TC Analysis tests #615

Merged
merged 1 commit into from
Jul 23, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
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
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ years = "1985:1987:2",

[tc_analysis]
active = True
scratch = "/lcrc/globalscratch/ac.forsyth2/"
scratch = "/lcrc/globalscratch/ac.forsyth2/zppy_min_case_e3sm_diags_tc_analysis_scratch/unique_id/v3.LR.historical_0051"
walltime = "00:30:00"

[e3sm_diags]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,5 +14,5 @@ years = "1985:1987:2",

[tc_analysis]
active = True
scratch = "/lcrc/globalscratch/ac.forsyth2/"
scratch = "/lcrc/globalscratch/ac.forsyth2/zppy_min_case_e3sm_diags_tc_analysis_mvm_1_scratch/unique_id/v3.LR.historical_0051"
walltime = "00:30:00"
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ years = "1995:1997:2",

[tc_analysis]
active = True
scratch = "/lcrc/globalscratch/ac.forsyth2/"
scratch = "/lcrc/globalscratch/ac.forsyth2/zppy_min_case_e3sm_diags_tc_analysis_mvm_2_scratch/unique_id/v3.LR.historical_0051"
walltime = "00:30:00"

[e3sm_diags]
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
[default]
case = "v3.LR.historical_0051"
constraint = ""
dry_run = "False"
environment_commands = ""
input = /lcrc/group/e3sm2/ac.wlin/E3SMv3/v3.LR.historical_0051
input_subdir = archive/atm/hist
mapping_file = "map_ne30pg2_to_cmip6_180x360_aave.20200201.nc"
output = "/lcrc/group/e3sm/ac.forsyth2/zppy_min_case_tc_analysis_simultaneous_1_output/unique_id/v3.LR.historical_0051"
partition = "debug"
qos = "regular"
www = "/lcrc/group/e3sm/public_html/diagnostic_output/ac.forsyth2/zppy_min_case_tc_analysis_simultaneous_1_www/unique_id"
years = "1985:1987:2",

[tc_analysis]
active = True
scratch = "/lcrc/globalscratch/ac.forsyth2/zppy_min_case_tc_analysis_simultaneous_1_scratch/unique_id/v3.LR.historical_0051"
walltime = "00:30:00"
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
# Run this immediately after running _1

[default]
case = "v3.LR.historical_0051"
constraint = ""
dry_run = "False"
environment_commands = ""
input = /lcrc/group/e3sm2/ac.wlin/E3SMv3/v3.LR.historical_0051
input_subdir = archive/atm/hist
mapping_file = "map_ne30pg2_to_cmip6_180x360_aave.20200201.nc"
output = "/lcrc/group/e3sm/ac.forsyth2/zppy_min_case_tc_analysis_simultaneous_2_output/unique_id/v3.LR.historical_0051"
partition = "debug"
qos = "regular"
www = "/lcrc/group/e3sm/public_html/diagnostic_output/ac.forsyth2/zppy_min_case_tc_analysis_simultaneous_2_www/unique_id"
years = "1985:1987:2",

[tc_analysis]
active = True
scratch = "/lcrc/globalscratch/ac.forsyth2/zppy_min_case_tc_analysis_simultaneous_2_scratch/unique_id/v3.LR.historical_0051"
walltime = "00:30:00"
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ years = "1985:1987:2",

[tc_analysis]
active = True
scratch = "#expand scratch#"
scratch = "#expand scratch#zppy_min_case_e3sm_diags_tc_analysis_scratch/#expand unique_id#/#expand case_name#"
walltime = "00:30:00"

[e3sm_diags]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,5 +14,5 @@ years = "1985:1987:2",

[tc_analysis]
active = True
scratch = "#expand scratch#"
scratch = "#expand scratch#zppy_min_case_e3sm_diags_tc_analysis_mvm_1_scratch/#expand unique_id#/#expand case_name#"
walltime = "00:30:00"
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ years = "1995:1997:2",

[tc_analysis]
active = True
scratch = "#expand scratch#"
scratch = "#expand scratch#zppy_min_case_e3sm_diags_tc_analysis_mvm_2_scratch/#expand unique_id#/#expand case_name#"
walltime = "00:30:00"

[e3sm_diags]
Expand Down
18 changes: 18 additions & 0 deletions tests/integration/template_min_case_tc_analysis_simultaneous_1.cfg
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
[default]
case = "#expand case_name#"
constraint = "#expand constraint#"
dry_run = "#expand dry_run#"
environment_commands = "#expand environment_commands#"
input = /lcrc/group/e3sm2/ac.wlin/E3SMv3/#expand case_name#
input_subdir = archive/atm/hist
mapping_file = "map_ne30pg2_to_cmip6_180x360_aave.20200201.nc"
output = "#expand user_output#zppy_min_case_tc_analysis_simultaneous_1_output/#expand unique_id#/#expand case_name#"
partition = "#expand partition_short#"
qos = "#expand qos_short#"
www = "#expand user_www#zppy_min_case_tc_analysis_simultaneous_1_www/#expand unique_id#"
years = "1985:1987:2",

[tc_analysis]
active = True
scratch = "#expand scratch#zppy_min_case_tc_analysis_simultaneous_1_scratch/#expand unique_id#/#expand case_name#"
walltime = "00:30:00"
20 changes: 20 additions & 0 deletions tests/integration/template_min_case_tc_analysis_simultaneous_2.cfg
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
# Run this immediately after running _1

[default]
case = "#expand case_name#"
constraint = "#expand constraint#"
dry_run = "#expand dry_run#"
environment_commands = "#expand environment_commands#"
input = /lcrc/group/e3sm2/ac.wlin/E3SMv3/#expand case_name#
input_subdir = archive/atm/hist
mapping_file = "map_ne30pg2_to_cmip6_180x360_aave.20200201.nc"
output = "#expand user_output#zppy_min_case_tc_analysis_simultaneous_2_output/#expand unique_id#/#expand case_name#"
partition = "#expand partition_short#"
qos = "#expand qos_short#"
www = "#expand user_www#zppy_min_case_tc_analysis_simultaneous_2_www/#expand unique_id#"
years = "1985:1987:2",

[tc_analysis]
active = True
scratch = "#expand scratch#zppy_min_case_tc_analysis_simultaneous_2_scratch/#expand unique_id#/#expand case_name#"
walltime = "00:30:00"
2 changes: 2 additions & 0 deletions tests/integration/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -268,6 +268,8 @@ def generate_cfgs(unified_testing=False, dry_run=False):
"complete_run",
"debug",
"min_case_add_dependencies",
"min_case_tc_analysis_simultaneous_1",
"min_case_tc_analysis_simultaneous_2",
"min_case_e3sm_diags_depend_on_climo_mvm_1",
"min_case_e3sm_diags_depend_on_climo_mvm_2",
"min_case_e3sm_diags_depend_on_climo",
Expand Down
Loading