Skip to content

Commit 7f5168b

Browse files
committed
Merge branch 'jonbob/mpaso/fix-conservation-test' into next (PR #6659)
Fix the mpaso-conservation_check testdef Add sed commands to modify env_archive.xml to correctly test the conservation am. As is, the test runs and makes the hist.am.conservationCheck files just fine, but does not run cprnc on them and include its results in the TestStatus. [BFB]
2 parents 640ab9f + d866026 commit 7f5168b

File tree

1 file changed

+5
-0
lines changed
  • components/mpas-ocean/cime_config/testdefs/testmods_dirs/mpaso/conservation_check

1 file changed

+5
-0
lines changed
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
# include mpas-ocean outputs in testing
2+
sed -i 's/\(compname="mpaso" exclude_testing="true"\)/compname="mpaso"/' env_archive.xml
3+
sed -i '/\(compname="mpaso"\)/,/<hist_file_extension>/ s/<hist_file_extension>hist/<hist_file_extension>hist.am.conservationCheck\\..*\\.nc$/' env_archive.xml
4+
sed -i 's/casename.mpaso.hist.am.globalStats.1976-01-01.nc/casename.mpaso.hist.am.conservationCheck.1976-01-01.nc/' env_archive.xml
5+
sed -i '/casename.mpaso.hist.am.highFrequencyOutput.1976-01-01_00.00.00.nc/d' env_archive.xml

0 commit comments

Comments
 (0)