From 39df8a63ac587e00b822e8863a734b005a231bbc Mon Sep 17 00:00:00 2001 From: Bob Yantosca Date: Thu, 25 Jul 2024 14:48:54 -0400 Subject: [PATCH] Change HISTORY.rc duration to 20mins for ModelE2.1 int tests test/shared/commonFunctionsForTests.sh - Also apply the sed command to change "00000100 000000" to "00000000 002000" for the GCAP2 ModelE2.1 int tests. This makes the frequency & duration consistent with the simulation length. Signed-off-by: Bob Yantosca --- test/shared/commonFunctionsForTests.sh | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/test/shared/commonFunctionsForTests.sh b/test/shared/commonFunctionsForTests.sh index f86b107e2..75db0dd12 100755 --- a/test/shared/commonFunctionsForTests.sh +++ b/test/shared/commonFunctionsForTests.sh @@ -275,6 +275,12 @@ function update_config_files() { sed_ie "${SED_HISTORY_RC_N}" "${runPath}/HISTORY.rc" fi + # For ModelE2.1 fullchem runs, change frequency and duration to 20 mins + # in order to reduce the run time of the whole set of integration tests. + if grep -q "ModelE2.1" <<< "${runPath}"; then + sed_ie "${SED_HISTORY_RC_N}" "${runPath}/HISTORY.rc" + fi + # Other text replacements sed_ie "${SED_HISTORY_RC_1}" "${runPath}/HISTORY.rc" }