Skip to content

Commit

Permalink
Change HISTORY.rc duration to 20mins for ModelE2.1 int tests
Browse files Browse the repository at this point in the history
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 <yantosca@seas.harvard.edu>
  • Loading branch information
yantosca committed Jul 25, 2024
1 parent dcc1afe commit 39df8a6
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions test/shared/commonFunctionsForTests.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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"
}
Expand Down

0 comments on commit 39df8a6

Please sign in to comment.