Skip to content

Commit d866026

Browse files
committed
Add sed commands to modify env_archive.xml to test the conservation am
1 parent 76d797e commit d866026

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)