Changeset 4702
- Timestamp:
- Sep 20, 2023, 3:05:36 PM (14 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
BOL/Multi_atlas/Utils/multi.sh
r4439 r4702 1 1 2 #set -vx 2 3 3 4 source ~/env_Multi_atlas.sh 5 module purge 4 6 5 7 local=`pwd -P` … … 15 17 zon=1 16 18 html=1 17 atlas= 119 atlas=0 18 20 #newatlas=0 19 21 atlas_cesmep=0 … … 89 91 90 92 echo qsub is $qsub 91 #exit92 93 93 94 echo DODSDIR : $DODSDIR 94 MAIN_SE=$DODSDIR/$login/lmdz/SE95 TS_DA=$DODSDIR/$login/lmdz/TS_DA96 TS_MO=$DODSDIR/$login/lmdz/TS_MO97 MULTIDIR=$DODSDIR/$login/lmdz/MultiSimu98 95 99 96 if [ ! -d $MULTIDIR ] ; then mkdir -p $MULTIDIR ; fi … … 124 121 for year in `grep -w "^$s" $DEF_FILE | awk ' { print $2 } '` ; do 125 122 file=${MAIN_SE}/ORIG/${s}_SE_${year}_1M_histmth.nc 126 ###file=${MAIN_SE}/ORIG/${ss}_SE_${year}_1M_histmth.nc127 123 128 124 echo $file $year … … 134 130 echo NO need to ln -s; the *1M_histmth.nc does not exist anymore 135 131 else 132 \rm year.txt 136 133 echo $year>>year.txt 137 134 sed -i -e 's/_/ /' year.txt 138 135 year1=`less year.txt | awk '{print $1}'` 139 136 year2=`less year.txt | awk '{print $2}'` 140 ln -s ${simdir}/ATM/Output/MO/${ss}_${year1}0101_${year2}1230_1M_histmth.nc $file 137 echo yr1=${year1} yr2=${year2} 138 ls -l ${simdir}/ATM/Output/MO/${ss}_${year1}0101_${year2}1230_1M_histmth.nc 139 ls -l ${simdir}/ATM/Output/MO/${ss}_${year1}0101_${year2}1231_1M_histmth.nc 140 if [ -f ${simdir}/ATM/Output/MO/${ss}_${year1}0101_${year2}1230_1M_histmth.nc ]; then 141 ln -s ${simdir}/ATM/Output/MO/${ss}_${year1}0101_${year2}1230_1M_histmth.nc $file 142 elif [ -f ${simdir}/ATM/Output/MO/${ss}_${year1}0101_${year2}1231_1M_histmth.nc ]; then 143 ln -s ${simdir}/ATM/Output/MO/${ss}_${year1}0101_${year2}1231_1M_histmth.nc $file 144 fi 141 145 fi 142 146 fi 143 147 144 \rm ${MAIN_SE}/ORIG/UQLMDZ6AW1000_SE_1979_1988_1M_histmth.nc148 #\rm ${MAIN_SE}/ORIG/UQLMDZ6AW1000_SE_1979_1988_1M_histmth.nc 145 149 done 146 150 done … … 178 182 fi 179 183 done 180 #exit 184 181 185 listruns="" 182 186 listrunss="" … … 186 190 simdir=`grep -w "^$s " $runstxt | awk ' { print $2 } '` 187 191 echo $simdir 188 ( cd $MAIN_SE/ORIG ; ln -sf $simdir/ATM/Analyse/SE/*mth*nc . ) > /dev/null 2>&1 192 cd $MAIN_SE/ORIG ; 189 193 echo $simdir 190 194 ss=`basename $simdir ` … … 195 199 done 196 200 done 197 #echo listruns = $listruns198 #echo listrunss= $listrunss199 #echo listrune= $listrune200 #ls -lrt $MAIN_SE/ORIG # Eviter de laisser des ls qui rendent la sortire illisible FH201 #listsimss="" ; for ss in `awk ' {print $1"_"$2 } ' $DEF_FILE` ; do listsimss="$listsimss $ss" ; done202 201 203 202 ns=0 … … 413 412 echo metrics.sh, log in ${LOGD}/METRICS$$ 414 413 cd $local/METRICS 415 #./metrics.sh -runsfile $runstxt $comp416 414 echo ./metrics.sh $comp > ${LOGD}/METRICS$$ 2>&1 417 415 ./metrics.sh $comp > ${LOGD}/METRICS$$ 2>&1 … … 454 452 if [ $river = 1 ]; then 455 453 cd ~/users/idelkadi/AXE1/River 456 ./make_diagnoRiver.sh $comp 454 ./make_diagnoRiver.sh $comp >> ${LOGD}/out_river 457 455 fi 458 456 … … 461 459 echo 8.2/ Rainfall variability / LMA analysis of the MJO : $lma 462 460 echo '#####################################################################' 463 #IM150722 cd $local 464 #IM120722 ./make_lma.sh $comp 465 cd ~/users/musat/d_AXE2_LMA/ 466 ./make_LMA.sh $comp > ${LOGD}/LMA$$ 2>&1 461 cd ${local}/d_AXE2_LMA/ 462 bash ./make_LMA.sh $comp > ${LOGD}/LMA$$ 2>&1 463 echo ./make_LMA.sh $comp > ${LOGD}/LMA$$ 2>&1 467 464 cd ${local} 468 465 fi … … 481 478 echo 8.4/ Rainfall variability / Marine Bonazzola : $trmm 482 479 echo '#####################################################################' 483 cd ~/users/musat/atlas/d_AXE2 484 ./Axe2_Marine.sh $comp 480 cd ${local}/d_AXE2 481 bash ./Axe2_Marine.sh $comp > ${LOGD}/axe2_Marine_$$ 2>&1 482 echo ./Axe2_Marine.sh $comp '-->' ${LOGD}/axe2_Marine_$$ 2>&1 485 483 cd $local 486 484 fi … … 499 497 echo '#####################################################################' 500 498 cd $local 501 ./make_axe4.sh $comp 499 bash ./make_axe4.sh $comp > ${LOGD}/axe4_$$ 2>&1 500 echo make_axe4.sh $comp '-->' ${LOGD}/axe4_$$ 502 501 fi 503 502 … … 574 573 575 574 echo Multi atlas, log in ${LOGD}/multiatlas$$ 576 # for proj in GLOB SH NH ; do577 # for proj in ATLTN GLOB SH NH ; do578 575 for proj in GLOB SH NH ; do 579 576 for bias in BIAS MAPS ; do … … 583 580 done 584 581 done 585 #exit586 # cd $COMP_D587 # ln -sf BIASYEAR.html $comp.html588 # ln -sf ACCUEIL.html $comp.html589 582 cd $local 590 583 ./webpage_multi.sh $comp
Note: See TracChangeset
for help on using the changeset viewer.