Changes between Version 6 and Version 7 of Developers/Validation/trunk_perfs/do_trunk_perfs
- Timestamp:
- 2020-11-23T16:44:40+01:00 (4 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Developers/Validation/trunk_perfs/do_trunk_perfs
v6 v7 104 104 105 105 {{{#!sh 106 ff=cfgs/ORCA2_ICE_XIOSAT/EXP00/context_nemo.xml 107 sed -e '/pisces/d' $ff > tmp$$ 108 mv tmp$$ $ff 106 # no pisces lines in context_nemo.xml if not a PISCES directory 107 for ff in ( ls -1 cfgs/ORCA2_*/EXP00/context_nemo.xml | grep -v "_PISCES" ) 108 do 109 sed -e '/pisces/d' $ff > tmp$$ 110 mv tmp$$ $ff 111 done 112 # no ice lines in context_nemo.xml if not a ICE directory 113 for ff in ( ls -1 cfgs/ORCA2_*/EXP00/context_nemo.xml | grep -v "_ICE" ) 114 do 115 sed -e '/ice/d' $ff > tmp$$ 116 mv tmp$$ $ff 117 done 109 118 110 ff=cfgs/ORCA2_XIOSAT/EXP00/context_nemo.xml 111 sed -e '/_pisces/d' -e '/_ice/d' $ff > tmp$$ 112 mv tmp$$ $ff 119 # optional additional cleaning... 120 # 121 #no pisces files if not a PISCES directory 122 rm -f $( ls -1 cfgs/ORCA2_*/EXP00/*pisces* | grep -v "_PISCES" ) 123 #no top files if not a PISCES directory 124 rm -f $( ls -1 cfgs/ORCA2_*/EXP00/*top* | grep -v "_PISCES" ) 125 #no ice files if not a ICE directory 126 rm -f $( ls -1 cfgs/ORCA2_*/EXP00/*ice* | grep -v "_ICE" ) 113 127 }}} 114 128