Changeset 4330
- Timestamp:
- Nov 9, 2022, 3:27:12 PM (2 years ago)
- Location:
- BOL/Multi_atlas
- Files:
-
- 12 edited
Legend:
- Unmodified
- Added
- Removed
-
BOL/Multi_atlas/METRICS/metrics.sh
r4306 r4330 1 1 #!/bin/bash 2 2 3 login=`whoami` 4 5 hostname=`hostname` 6 if [ ${hostname:0:5} = cicla ] ; then 7 DODSDIR=/thredds/ipsl 8 fi 9 if [ ${hostname:0:5} = camel ] ; then 10 DODSDIR=/thredds/ipsl 11 fi 12 if [ ${hostname:0:5} = irene ] ; then 13 DODSDIR= 14 fi 15 if [ ${hostname:0:5} = jean- ] ; then 16 DODSDIR= 17 fi 18 19 set -vx 3 source ../env.sh 4 5 #set -vx 20 6 force_create=1 21 7 22 8 comp=$1 23 local=`pwd `9 local=`pwd -P` 24 10 25 11 for season in YEAR DJF JJA ; do 26 27 12 28 13 cd $local … … 47 32 COMP_D=$DODSDIR/$login/lmdz/MultiSimu/$comp 48 33 CMOR_DIR=$DODSDIR/$login/lmdz/VLR/$season 34 echo COMP_D $COMP_D CMOR_DIR $CMOR_DIR 49 35 elif [ "$comp" = "$1" ] ; then 50 36 # Installation locale … … 60 46 # Liste des simulations de la comparasion $comp 61 47 listsims="" ; listsimsy="" 48 62 49 DEF_FILE=$COMP_D/def.txt ; if [ ! -f "$DEF_FILE" ] ; then renseigner $DEF_FILE ; exit ; fi 63 50 for s in `awk ' {print $1"_"$2 } ' $DEF_FILE` ; do listsimsy="$listsimsy $s" ; done … … 74 61 echo years $years 75 62 76 77 63 SIM_DIR=$CMOR_DIR/$GR/$sim$years 78 ETOA_DIR=$SIM_DIR/METRICS 79 64 ETOA_DIR=$SIM_DIR/METRICS 80 65 81 66 for mask in $masks ; do … … 86 71 if [ ! -d $SIM_DIR ] ; then echo $SIM_DIR absent ; exit ; fi 87 72 set +e ; \rm resu$sim ; set -e 88 for var in rsut clhcalipso cllcalipso clmcalipso cltcalipso clt hfls evahfss hurs huss pr ts tas sst psl rldscs rlds rlus rlutcs rlut rsdscs rsds rsdt rsuscs rsus rsutcs prw ; do73 for var in rsut clhcalipso cllcalipso clmcalipso cltcalipso clt hfls hfss hurs huss pr ts tas sst psl rldscs rlds rlus rlutcs rlut rsdscs rsds rsdt rsuscs rsus rsutcs prw ; do 89 74 if [ -f "$SIM_DIR/NC/$var.nc" ] ; then 90 75 if [ "$mask" = "glob" ] ; then … … 118 103 rlutcs=`grep '^rlutcs ' $xmgr | awk ' { print $2 } '` 119 104 hfls=`grep '^hfls ' $xmgr | awk ' { print $2 } '` 120 eva=`grep '^eva ' $xmgr | awk ' { print $2 } '`121 105 hfss=`grep '^hfss ' $xmgr | awk ' { print $2 } '` 122 106 rlds=`grep '^rlds ' $xmgr | awk ' { print $2 } '` … … 128 112 rsuscs=`grep '^rsuscs ' $xmgr | awk ' { print $2 } '` 129 113 rsdt=`grep '^rsdt ' $xmgr | awk ' { print $2 } '` 114 echo $hfls | awk ' { print "eva" , $1 * 0.03456 } ' >> $xmgr 130 115 echo $rsut $rsutcs | awk ' { print "crest" , $2 - $1 } ' >> $xmgr 131 116 echo $rlut $rlutcs | awk ' { print "crelt" , $2 - $1 } ' >> $xmgr … … 160 145 # Tracers 161 146 ######################################################################################### 162 163 164 147 165 148 cat <<eod>| descr -
BOL/Multi_atlas/Utils/atlas0.sh
r4317 r4330 3 3 local=`pwd -P` 4 4 5 ../env_ciclad.sh5 source ../env.sh 6 6 7 7 module list 8 which python 8 python=`which python` 9 echo PYTHON IS $python 10 9 11 ulimit -s unlimited 10 12 ATLAS_DIR=${DODSDIR}/${login}/lmdz/atlas/Atlas$$ ; mkdir -p $ATLAS_DIR … … 12 14 dirpng=${DODSDIR}/${login}/lmdz/VLR 13 15 16 if [ 1 == 0 ]; then 14 17 export PYTHONPATH=$PYTHONPATH:/home/fabric/users/denvil/climaf 15 18 export PATH=$PATH:/home/fabric/users/denvil/climaf/bin 16 17 \rm -rf $DODSDIR/$login/climafCache$$ 18 mkdir -p $DODSDIR/$login/climafCache$$ 19 export CLIMAF_CACHE=$DODSDIR/$login/climafCache$$ 20 echo CLIMAF_CACHE $DODSDIR/$login/climafCache$$ 19 fi 20 21 #myCC=$DODSDIR/$login/IMclimafCache 22 #if [ 1 == 0 ]; then 23 myCC=/scratchu/${login}/climafCache041122run 24 #\rm -rf ${myCC} 25 mkdir -p ${myCC} 26 export CLIMAF_CACHE=${myCC} 27 echo CLIMAF_CACHE ${CLIMAF_CACHE} 28 mkdir -p ${CLIMAF_CACHE}/remote_data 29 export CLIMAF_REMOTE_CACHE=${CLIMAF_CACHE}/remote_data 30 #fi 31 #exit 32 #\rm -rf $DODSDIR/$login/climafCache$$ 33 #mkdir -p $DODSDIR/$login/climafCache$$ 34 #export CLIMAF_CACHE=$DODSDIR/$login/climafCache$$ 35 #echo CLIMAF_CACHE $DODSDIR/$login/climafCache$$ 21 36 ########################################################################### 22 37 vars="" … … 131 146 mkdir -p ${dirpng}/${seas}/${sim}/DMAP_${ref}/${proj} 132 147 148 refok=${dirpng}/${seas}/${ref}/MAP/${proj}/${var}.pdf 133 149 mapok=${dirpng}/${seas}/${sim}/MAP/${proj}/${var}.pdf 134 150 dmapok=${dirpng}/${seas}/${sim}/DMAP_${ref}/${proj}/${var}.pdf … … 140 156 # ~/LMDZ/check/make_check_var3D_SE.sh $dirpng $seas $sim $ref $var > out_check_var3D_SE.log 141 157 158 if [ ! -f ${refok} ] || [ ! -f ${mapok} ] || [ ! -f ${dmapok} ]; then 159 160 echo Fabrication des cartes $var pour $ref $sim $sim-$ref 161 142 162 if [ "$var" == "ua" ] || [ "$var" == "va" ] || [ "$var" == "ta" ] || [ "$var" == "hur" ] || [ "$var" == "hus" ]; then 143 echo python ${local}/$pyatlas -v $var -s $sim -t $ref -p $seas -r $proj --dirpng ${dirpng} 144 python ${local}/$pyatlas -v $var -s $sim -t $ref -p $seas -r $proj --dirpng ${dirpng} 163 echo $python ${local}/$pyatlas -v $var -s $sim -t $ref -p $seas -r $proj --dirpng ${dirpng} 164 $python ${local}/$pyatlas -v $var -s $sim -t $ref -p $seas -r $proj --dirpng ${dirpng} 165 if [ ! -f ${mapok} ]; then 166 echo $python ${local}/$pyatlas -v $var -s $sim -t $ref -p $seas -r $proj --dirpng ${dirpng} 167 $python ${local}/$pyatlas -v $var -s $sim -t $ref -p $seas -r $proj --dirpng ${dirpng} 168 echo $python ${local}/$pyatlas -v $var -s $sim -t $ref -p $seas -r $proj --dirpng ${dirpng} 169 $python ${local}/$pyatlas -v $var -s $sim -t $ref -p $seas -r $proj --dirpng ${dirpng} 170 elif [ ! -f ${refok} ]; then 171 echo $python ${local}/$pyatlas -v $var -s OBS -t $ref -p $seas -r $proj --dirpng ${dirpng} 172 $python ${local}/$pyatlas -v $var -s OBS -t $ref -p $seas -r $proj --dirpng ${dirpng} 173 echo $python ${local}/$pyatlas -v $var -s OBS -t $ref -p $seas -r $proj --dirpng ${dirpng} 174 $python ${local}/$pyatlas -v $var -s OBS -t $ref -p $seas -r $proj --dirpng ${dirpng} 175 elif [ ! -f ${dmapok} ]; then 176 echo $python ${local}/$pyatlas -v $var -s $sim -t $ref -p $seas -r $proj --dirpng ${dirpng} 177 $python ${local}/$pyatlas -v $var -s $sim -t $ref -p $seas -r $proj --dirpng ${dirpng} 178 echo $python ${local}/$pyatlas -v $var -s $sim -t $ref -p $seas -r $proj --dirpng ${dirpng} 179 $python ${local}/$pyatlas -v $var -s $sim -t $ref -p $seas -r $proj --dirpng ${dirpng} 180 fi 145 181 else 146 echo python ${local}/$pyatlas -v $var -s $sim -t $ref -p $seas -r $proj --dirpng ${dirpng} --lonmin ${lonmin} --lonmax ${lonmax} --latmin ${latmin} --latmax ${latmax} 147 python ${local}/$pyatlas -v $var -s $sim -t $ref -p $seas -r $proj --dirpng ${dirpng} --lonmin ${lonmin} --lonmax ${lonmax} --latmin ${latmin} --latmax ${latmax} 182 echo $python ${local}/$pyatlas -v $var -s $sim -t $ref -p $seas -r $proj --dirpng ${dirpng} --lonmin ${lonmin} --lonmax ${lonmax} --latmin ${latmin} --latmax ${latmax} 183 $python ${local}/$pyatlas -v $var -s $sim -t $ref -p $seas -r $proj --dirpng ${dirpng} --lonmin ${lonmin} --lonmax ${lonmax} --latmin ${latmin} --latmax ${latmax} 184 if [ ! -f ${mapok} ]; then 185 echo $python ${local}/$pyatlas -v $var -s $sim -t $ref -p $seas -r $proj --dirpng ${dirpng} 186 $python ${local}/$pyatlas -v $var -s $sim -t $ref -p $seas -r $proj --dirpng ${dirpng} 187 echo $python ${local}/$pyatlas -v $var -s $sim -t $ref -p $seas -r $proj --dirpng ${dirpng} 188 $python ${local}/$pyatlas -v $var -s $sim -t $ref -p $seas -r $proj --dirpng ${dirpng} 189 elif [ ! -f ${refok} ]; then 190 echo $python ${local}/$pyatlas -v $var -s OBS -t $ref -p $seas -r $proj --dirpng ${dirpng} 191 $python ${local}/$pyatlas -v $var -s OBS -t $ref -p $seas -r $proj --dirpng ${dirpng} 192 echo $python ${local}/$pyatlas -v $var -s OBS -t $ref -p $seas -r $proj --dirpng ${dirpng} 193 $python ${local}/$pyatlas -v $var -s OBS -t $ref -p $seas -r $proj --dirpng ${dirpng} 194 elif [ ! -f ${dmapok} ]; then 195 echo $python ${local}/$pyatlas -v $var -s $sim -t $ref -p $seas -r $proj --dirpng ${dirpng} 196 $python ${local}/$pyatlas -v $var -s $sim -t $ref -p $seas -r $proj --dirpng ${dirpng} 197 echo $python ${local}/$pyatlas -v $var -s $sim -t $ref -p $seas -r $proj --dirpng ${dirpng} 198 $python ${local}/$pyatlas -v $var -s $sim -t $ref -p $seas -r $proj --dirpng ${dirpng} 199 fi 148 200 fi 201 # 202 else 203 echo Les images $refok 204 echo $mapok et 205 echo $dmapok 206 echo existent deja 207 fi 149 208 # 150 209 echo Creation graphes png … … 167 226 \rm -f $OUT_D/$keys_strg.ENCOURS 168 227 169 \rm -rf $DODSDIR/$login/climafCache$$228 #IM041122 \rm -rf $DODSDIR/$login/climafCache$$ -
BOL/Multi_atlas/Utils/multi.sh
r4317 r4330 1 1 #set -vx 2 2 3 ./env_ciclad.sh3 source ./env.sh 4 4 5 5 local=`pwd -P` … … 88 88 echo runstxt= $runstxt 89 89 90 echo qsub is $qsub 91 #exit 92 90 93 echo DODSDIR : $DODSDIR 91 94 MAIN_SE=$DODSDIR/$login/lmdz/SE … … 312 315 echo Atlas $atlas a creer 313 316 if [ $qsub = 0 ] ; then 314 ${local}/atlas/atlas.sh RUN=$sim,SEASON=$seas,PROJ=$proj,OUTDIR=$COMP_D/ATLAS,REF=$ref,VARS="$varg",RUNSTXT=$runstxt,lonmin=$lonmin,lonmax=$lonmax,latmin=$latmin,latmax=$latmax,pmin=$pmin >> $outfile 317 echo bash ${local}/atlas/atlas.sh RUN=$sim,SEASON=$seas,PROJ=$proj,OUTDIR=$COMP_D/ATLAS,REF=$ref,VARS="$varg",RUNSTXT=$runstxt,lonmin=$lonmin,lonmax=$lonmax,latmin=$latmin,latmax=$latmax,pmin=$pmin 318 bash ${local}/atlas/atlas.sh RUN=$sim,SEASON=$seas,PROJ=$proj,OUTDIR=$COMP_D/ATLAS,REF=$ref,VARS="$varg",RUNSTXT=$runstxt,lonmin=$lonmin,lonmax=$lonmax,latmin=$latmin,latmax=$latmax,pmin=$pmin >> $outfile 319 if [ "$ref" != "OBS" ]; then 320 echo bash ${local}/atlas/atlas.sh RUN=$sim,SEASON=$seas,PROJ=$proj,OUTDIR=$COMP_D/ATLAS,REF=OBS,VARS="$varg",RUNSTXT=$runstxt,lonmin=$lonmin,lonmax=$lonmax,latmin=$latmin,latmax=$latmax,pmin=$pmin 321 bash ${local}/atlas/atlas.sh RUN=$sim,SEASON=$seas,PROJ=$proj,OUTDIR=$COMP_D/ATLAS,REF=OBS,VARS="$varg",RUNSTXT=$runstxt,lonmin=$lonmin,lonmax=$lonmax,latmin=$latmin,latmax=$latmax,pmin=$pmin >> $outfile 322 fi 315 323 else 316 324 echo $submit -v RUN=$sim,SEASON=$seas,PROJ=$proj,OUTDIR=$COMP_D/ATLAS,REF=$ref,VARS="$varg",RUNSTXT=$runstxt,lonmin=$lonmin,lonmax=$lonmax,latmin=$latmin,latmax=$latmax,pmin=$pmin atlas.sh >> ${LOGD}/ATLAS$$ 2>&1 … … 357 365 years=`echo $sim | sed -e 's/_SE_/ /' | awk ' { print $2 } '` 358 366 run=`echo $sim | sed -e 's/_SE_/ /' | awk ' { print $1 } '` 367 echo ./make_MOY.sh "$years" YEAR "$run" GLOB 359 368 ./make_MOY.sh "$years" YEAR "$run" GLOB >> ${LOGD}/MOY$$ 2>&1 360 369 ./make_MOY.sh "$years" YEAR "$run" ZON >> ${LOGD}/MOY$$ 2>&1 … … 375 384 ./mk_clouds_NOcalipso.sh MAM ZON >> ${LOGD}/calipso$$ 2>&1 376 385 ./mk_clouds_NOcalipso.sh SON ZON >> ${LOGD}/calipso$$ 2>&1 377 378 386 echo multi_ZONE.sh, log in ${LOGD}/Z$$ 379 387 ./multi_ZONE.sh YEAR $comp ZON -runsfile $runstxt >> ${LOGD}/Z$$ 2>&1 … … 402 410 cd $local/METRICS 403 411 #./metrics.sh -runsfile $runstxt $comp 412 echo ./metrics.sh $comp > ${LOGD}/METRICS$$ 2>&1 404 413 ./metrics.sh $comp > ${LOGD}/METRICS$$ 2>&1 405 414 fi … … 533 542 cd ${local} 534 543 echo ./make_html_libigcm.sh --comp $comp --runstxt $runstxt 535 ./make_html_libigcm.sh --comp $comp --runstxt $runstxt > ${LOGD}/html$$ 2>&1544 bash ./make_html_libigcm.sh --comp $comp --runstxt $runstxt > ${LOGD}/html$$ 2>&1 536 545 echo log in ${LOGD}/html$$ 537 ./html_entete.sh $comp ${dataref} >> ${LOGD}/html$$ 2>&1546 bash ./html_entete.sh $comp ${dataref} >> ${LOGD}/html$$ 2>&1 538 547 cd ${local}/html 539 ./make_index_html.sh ${comp} ${dataref} >> ${LOGD}/html$$ 2>&1540 cd $local 541 ./html_tuning.sh $comp >> ${LOGD}/html$$ 2>&1542 ./html_tuning_min.sh $comp >> ${LOGD}/html$$ 2>&1543 ./html_accueil.sh $comp >> ${LOGD}/html$$ 2>&1544 ./html_1D.sh $comp >> ${LOGD}/html$$ 2>&1545 ./html_lma.sh $comp >> ${LOGD}/html_LMA$$ 2>&1546 ./html_pcmdi.sh $comp >> ${LOGD}/html$$ 2>&1547 ./html_all.sh >| $MULTIDIR/all.html548 bash ./make_index_html.sh ${comp} ${dataref} >> ${LOGD}/html$$ 2>&1 549 cd $local 550 bash ./html_tuning.sh $comp >> ${LOGD}/html$$ 2>&1 551 bash ./html_tuning_min.sh $comp >> ${LOGD}/html$$ 2>&1 552 bash ./html_accueil.sh $comp >> ${LOGD}/html$$ 2>&1 553 bash ./html_1D.sh $comp >> ${LOGD}/html$$ 2>&1 554 bash ./html_lma.sh $comp >> ${LOGD}/html_LMA$$ 2>&1 555 bash ./html_pcmdi.sh $comp >> ${LOGD}/html$$ 2>&1 556 bash ./html_all.sh >| $MULTIDIR/all.html 548 557 549 558 # html pour les métriques -
BOL/Multi_atlas/atlas/atlas_none.py
r4320 r4330 267 267 # Bias mean value, and RMSD/RMSE 268 268 diff_avg=cvalue(space_average(diff)) 269 rmsd=math.sqrt(cvalue(space_average(ccdo(diff,operator=' -b F64 sqr'))))269 rmsd=math.sqrt(cvalue(space_average(ccdo(diff,operator='b F64 sqr')))) 270 270 # 271 271 # Zonal means -
BOL/Multi_atlas/atlas/lmdz_SE.py
r4320 r4330 34 34 #seasons={ 'YEAR':"", 'DJF' : " selmon,1,2,12", 'JJA' : " selmon,6,7,8" , 'JJAS' : "-timavg -selmon,6,7,8,9" } 35 35 #seasons={ 'YEAR':"", 'DJF' : "-timavg -selmon,1,2,12", 'JJA' : "-timavg -selmon,6,7,8" , 'JJAS' : "-timavg -selmon,6,7,8,9" } 36 seasons={ 'YEAR':"", 'DJF' : " -timavg -selmon,1,2,12", 'JJA' : "-timavg -selmon,6,7,8" , 'JJAS' : "-timavg -selmon,6,7,8,9", 'MAM' : "-timavg -selmon,3,4,5", 'SON' : "-timavg -selmon,9,10,11" }36 seasons={ 'YEAR':"", 'DJF' : "timavg -selmon,1,2,12", 'JJA' : "timavg -selmon,6,7,8" , 'JJAS' : "timavg -selmon,6,7,8,9", 'MAM' : "timavg -selmon,3,4,5", 'SON' : "timavg -selmon,9,10,11" } 37 37 38 38 -
BOL/Multi_atlas/cmor.sh
r3882 r4330 2 2 3 3 #set -vx 4 5 source ./env.sh 4 6 5 7 local=`pwd -P` … … 15 17 # Defaults : 16 18 #################################################################### 17 login=`whoami`18 19 hostname=`hostname`20 if [ ${hostname:0:5} = cicla ] ; then21 DODSDIR=/thredds/ipsl22 OBSDIR=$DODSDIR/fabric/lmdz/SE/CMOR/OBS23 fi24 if [ ${hostname:0:5} = camel ] ; then25 DODSDIR=/thredds/ipsl26 OBSDIR=$DODSDIR/fabric/lmdz/SE/CMOR/OBS27 fi28 if [ ${hostname:0:5} = irene ] ; then29 DODSDIR=30 OBSDIR=31 fi32 if [ ${hostname:0:5} = jean- ] ; then33 DODSDIR=34 OBSDIR=35 fi36 19 37 20 runstxt=${local}/runs.txt -
BOL/Multi_atlas/install_multi_atlas.sh
r4313 r4330 27 27 # Definitions en fonction de la machine 28 28 # CICLAD 29 if [ ${hostname:0:5} = cicla ] ; then29 if [ ${hostname:0:5} = cicla ] || [ ${hostname:0:5} = spiri ]; then 30 30 echo hostname-0-5 is ${hostname:0:5} 31 31 # chemin vers le rep dods de base … … 38 38 ROOT_OBS_DIR=$DODSDIR/fabric/lmdz/SE/CMOR/OBS 39 39 40 \rm entete.sh 40 if [ -f entete.sh ]; then \rm entete.sh ; fi 41 41 # Def entete des jobs 42 42 cat <<eod >> entete.sh -
BOL/Multi_atlas/make_MOY.sh
r3881 r4330 1 1 #!/bin/bash 2 2 3 set -v 4 5 login=`whoami` 3 #set -vx 4 5 source ./env.sh 6 7 echo OBSDIR is defined in env.sh : $OBSDIR 8 6 9 years=$1 7 10 SEAS=$2 … … 9 12 zone=$4 10 13 11 vars='psl' 12 #vars='pr rstt rlut rtt crelt crest crett hfns hfls hfss tas sst hurs tauu tauv psl zg500 rsts rsut rsutcs rlutcs rsds rsdscs rsus rsuscs rlds rldscs rlus albs albt cress crels crets rts rah rahcs rahcre rlah rlahcs rlahcre rsah rsahcs rsahcre prw' 13 vars='pr rstt rlut rtt crelt crest crett hfns hfls hfss tas sst hurs tauu tauv psl zg500 rsts rsut rsutcs rlutcs rsds rsdscs rsus rsuscs rlds rldscs rlus albs albt cress crels crets rts rah rahcs rahcre rlah rlahcs rlahcre rsah rsahcs rsahcre prw rttcs rsttcs cllcalipso clmcalipso clhcalipso cll clm clh' 14 #vars='eva' 14 vars='pr rstt rlut rtt crelt crest crett hfns hfls eva hfss tas sst hurs tauu tauv psl zg500 rsts rsut rsutcs rlutcs rsds rsdscs rsus rsuscs rlds rldscs rlus albs albt cress crels crets rts rah rahcs rahcre rlah rlahcs rlahcre rsah rsahcs rsahcre prw rttcs rsttcs cllcalipso clmcalipso clhcalipso cll clm clh' 15 15 16 16 if [ "$run" = "OBS" ]; then … … 20 20 fi 21 21 22 hostname=`hostname` 23 if [ ${hostname:0:5} = cicla ] ; then 24 DODSDIR=/thredds/ipsl 25 OBSDIR=$DODSDIR/fabric/lmdz 26 ferret="/opt/ferret-7.0.0/bin/ferret" 27 fi 28 if [ ${hostname:0:5} = camel ] ; then 29 DODSDIR=/thredds/ipsl 30 OBSDIR=$DODSDIR/$login/lmdz 31 ferret="/opt/ferret-7.0.0/bin/ferret" 32 fi 33 if [ ${hostname:0:5} = irene ] ; then 34 DODSDIR= 35 OBSDIR= 36 ferret= 37 fi 38 if [ ${hostname:0:5} = jean- ] ; then 39 DODSDIR= 40 OBSDIR= 41 ferret= 42 fi 22 echo ferret is $ferret 43 23 44 24 force_create=1 … … 53 33 fi 54 34 55 56 35 57 36 if [ -d $WRK ] ; then WRK=$WRK$$ ; fi … … 87 66 case $var in 88 67 pr) lev='(-INF)(0.5)(1,4,1)(6,14,2)(INF)' ; levd='(-Inf)(-5)(-2,2,1)(-0.5)(-0.2)(0.2)(0.5)(5)(Inf)'; pal=rain_cmyk ;; 89 prl) lev='(-INF)(0.5)(1,4,1)(6,14,2)(INF)' ; levd='(-Inf)(-5)(-2,2,1)(-0.5)(-0.2)(0.2)(0.5)(5)(Inf)'; pal=rain_cmyk ; ;90 prc) lev='(-INF)(0.5)(1,4,1)(6,14,2)(INF)' ; levd='(-Inf)(-5)(-2,2,1)(-0.5)(-0.2)(0.2)(0.5)(5)(Inf)'; pal=rain_cmyk ; ;68 prl) lev='(-INF)(0.5)(1,4,1)(6,14,2)(INF)' ; levd='(-Inf)(-5)(-2,2,1)(-0.5)(-0.2)(0.2)(0.5)(5)(Inf)'; pal=rain_cmyk ; varmod=prl ; varobs=86400.*pr ;; 69 prc) lev='(-INF)(0.5)(1,4,1)(6,14,2)(INF)' ; levd='(-Inf)(-5)(-2,2,1)(-0.5)(-0.2)(0.2)(0.5)(5)(Inf)'; pal=rain_cmyk ; varmod=prc ; varobs=86400.*pr ;; 91 70 hfns) lev='(-INF)(-200,200,50)(-75)(-25)(25)(75)(INF)'; levd='(-Inf)(-80,80,20)(Inf)' ;; 92 71 tas) lev='(-INF)(-60,20,10)(6,26,4)(24)(27)(28)(30)(INF)' ; levd='(-Inf)(-8,8)(-4,4)(-2,2,1)(Inf)' ; varmod=-273.15+tas ; varobs=-273.15+tas ;; -
BOL/Multi_atlas/make_html_libigcm.sh
r4314 r4330 1 1 #!/bin/bash 2 2 3 #set -x 4 5 source ./env.sh 3 6 4 7 ########################################################################### … … 16 19 ########################################################################### 17 20 ########################################################################### 18 module load ferret 19 20 #set -x 21 22 login=`whoami` 21 23 22 logname=aidel 24 23 comp=COMP 24 EXPNAME=NPV5LRL79 25 put=cp 25 26 26 27 helptext=" … … 51 52 done 52 53 54 COMP_D=$MULTIDIR/$comp 55 DEF_FILE=$COMP_D/def.txt 56 HTML_D=$COMP_D 57 58 #################################################################### 59 if [ 1 == 0 ]; then 60 if [ ${hostname:0:5} = cicla ] || [ ${hostname:0:5} = spiri ]; then 61 53 62 ###tmpdir=/thredds/ipsl/fabric/lmdz 54 63 tmpdir=/thredds/ipsl/${login}/lmdz … … 57 66 ROOTWEBORIG="" 58 67 EXPNAME=IGCM_OUT/$CONFIGNAME/DEVT/clim 59 machine=ciclad60 61 68 62 69 STORAGE=$ARCHIVE … … 65 72 HTML_D=$ROOTSTORAGE/HTML 66 73 67 machine=ciclad 68 69 if [ "$machine" = "ciclad" ] ; then 74 DODSDIR=/thredds/ipsl 75 dthredds=thredds-su.ipsl.fr/thredds/fileServer/ipsl_thredds 76 HTML=http://${dthredds}/$login/lmdz/MultiSimu/$comp 77 DODSDIR=/thredds/ipsl 78 dthredds=thredds-su.ipsl.fr/thredds/fileServer/ipsl_thredds 79 HTML=http://${dthredds}/$login/lmdz/MultiSimu/$comp 80 #################################################################### 70 81 EXPNAME=NPV5LRL79 71 82 put=cp 72 ###CICLAD=/thredds/ipsl/fabric/lmdz73 83 CICLAD=/thredds/ipsl/${login}/lmdz 74 84 ARCHIVE=$CICLAD/STORE … … 76 86 STORAGE=$CICLAD 77 87 ROOTWEBatlas=http://thredds-su.ipsl.fr/thredds/fileServer/ipsl_thredds/${logname}/lmdz/STORE/$EXPNAME 78 ###MULTIDIR=/thredds/ipsl/fabric/lmdz/MultiSimu79 88 MULTIDIR=/thredds/ipsl/${login}/lmdz/MultiSimu 80 89 COMP_D=$MULTIDIR/$comp 81 90 DEF_FILE=$COMP_D/def.txt 82 91 HTML_D=$COMP_D 83 #runstxt=/home/fabric/LMDZ/MultiSimu/runs.txt84 fi85 86 92 87 93 ROOTSTORAGE=$ARCHIVE/$EXPNAME … … 104 110 105 111 echo ROOTSTORAGE $ROOTSTORAGE ROOTWEB $ROOTWEB 112 113 fi 114 fi 106 115 107 116 glob=1 -
BOL/Multi_atlas/mk_clouds_NOcalipso.sh
r3737 r4330 1 1 #!/bin/bash 2 2 3 login=`whoami` 3 source ./env.sh 4 4 5 5 SE=$1 6 6 TG=$2 7 7 8 hostname=`hostname`9 if [ ${hostname:0:5} = cicla ] ; then10 DODSDIR=/modfs/ipslfs/dods11 fi12 if [ ${hostname:0:5} = camel ] ; then13 DODSDIR=/modfs/ipslfs/dods14 fi15 if [ ${hostname:0:5} = irene ] ; then16 DODSDIR=17 fi18 if [ ${hostname:0:5} = jean- ] ; then19 DODSDIR=20 fi21 22 ###cd /modfs/ipslfs/dods/fabric/lmdz/VLR/DJF/OBS/ZON23 8 if [ ! -d $DODSDIR/$login/lmdz/VLR/$SE/OBS/$TG ] ; then 24 9 mkdir -p $DODSDIR/$login/lmdz/VLR/$SE/OBS/$TG -
BOL/Multi_atlas/multi_ZONE.sh
r4307 r4330 1 1 #!/bin/bash 2 3 source ./env.sh 2 4 3 5 ################################################### … … 10 12 comp=$2 11 13 ZONE=$3 12 13 login=`whoami`14 hostname=`hostname`15 if [ ${hostname:0:5} = cicla ] ; then16 DODSDIR=/thredds/ipsl17 fi18 if [ ${hostname:0:5} = camel ] ; then19 DODSDIR=/thredds/ipsl20 fi21 if [ ${hostname:0:5} = irene ] ; then22 DODSDIR=23 fi24 if [ ${hostname:0:5} = jean- ] ; then25 DODSDIR=26 fi27 14 28 15 MAINDIR=$DODSDIR/$login/lmdz … … 109 96 pwd 110 97 111 pwd112 98 echo OK0 $sims 113 99 for sim in $sims ; do … … 119 105 ZONDIR=$MAINDIR/$GR/$SEAS/$sim/$ZONE 120 106 echo $ZONDIR 121 pwd122 107 file=`echo $sim | sed -e 's/_[0-9][0-9][0-9][0-9]_[0-9][0-9][0-9][0-9]//'` 123 108 echo ln -sf $ZONDIR/$var $file … … 197 182 198 183 pwd 199 ls -
BOL/Multi_atlas/season.sh
r3882 r4330 6 6 #################################################################### 7 7 8 login=`whoami` 8 source ./env.sh 9 9 10 ulimit -s unlimited 10 11 GR=VLR 11 12 hostname=`hostname`13 if [ ${hostname:0:5} = cicla ] ; then14 DODSDIR=/thredds/ipsl15 fi16 if [ ${hostname:0:5} = camel ] ; then17 DODSDIR=/thredds/ipsl18 fi19 if [ ${hostname:0:5} = irene ] ; then20 DODSDIR=21 fi22 if [ ${hostname:0:5} = jean- ] ; then23 DODSDIR=24 fi25 12 26 13 MAINDIR=$DODSDIR/$login/lmdz
Note: See TracChangeset
for help on using the changeset viewer.