- Timestamp:
- Feb 16, 2023, 10:10:21 AM (23 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
BOL/Multi_atlas/Utils/multi.sh
r4340 r4439 123 123 ss=`basename $simdir ` 124 124 for year in `grep -w "^$s" $DEF_FILE | awk ' { print $2 } '` ; do 125 #file=${MAIN_SE}/ORIG/${s}_SE_${year}_1M_histmth.nc126 file=${MAIN_SE}/ORIG/${ss}_SE_${year}_1M_histmth.nc125 file=${MAIN_SE}/ORIG/${s}_SE_${year}_1M_histmth.nc 126 ###file=${MAIN_SE}/ORIG/${ss}_SE_${year}_1M_histmth.nc 127 127 128 128 echo $file $year … … 134 134 echo NO need to ln -s; the *1M_histmth.nc does not exist anymore 135 135 else 136 ln -s ${simdir}/ATM/Output/MO/${ss}_${year}0101_${year}1230_1M_histmth.nc $file 136 echo $year>>year.txt 137 sed -i -e 's/_/ /' year.txt 138 year1=`less year.txt | awk '{print $1}'` 139 year2=`less year.txt | awk '{print $2}'` 140 ln -s ${simdir}/ATM/Output/MO/${ss}_${year1}0101_${year2}1230_1M_histmth.nc $file 137 141 fi 138 142 fi
Note: See TracChangeset
for help on using the changeset viewer.