Changeset 3882 for BOL/Multi_atlas
- Timestamp:
- Apr 29, 2021, 2:58:06 PM (4 years ago)
- Location:
- BOL/Multi_atlas
- Files:
-
- 14 edited
Legend:
- Unmodified
- Added
- Removed
-
BOL/Multi_atlas/cmor.sh
r3737 r3882 2 2 3 3 #set -vx 4 5 local=`pwd -P` 6 cd $local 4 7 5 8 #################################################################### … … 16 19 hostname=`hostname` 17 20 if [ ${hostname:0:5} = cicla ] ; then 18 DODSDIR=/ modfs/ipslfs/dods21 DODSDIR=/thredds/ipsl 19 22 OBSDIR=$DODSDIR/fabric/lmdz/SE/CMOR/OBS 20 23 fi 21 24 if [ ${hostname:0:5} = camel ] ; then 22 DODSDIR=/ modfs/ipslfs/dods25 DODSDIR=/thredds/ipsl 23 26 OBSDIR=$DODSDIR/fabric/lmdz/SE/CMOR/OBS 24 27 fi … … 32 35 fi 33 36 34 runstxt= /home/fabric/LMDZ/multi/runs.txt37 runstxt=${local}/runs.txt 35 38 while test -n "${1}"; do 36 39 case $1 in … … 93 96 if [ ! -f $file ] ; then 94 97 echo PB fichier $file inexistant 95 exit 22 96 else 98 file=$INDIR/${simorig}_SE_${years}_1M_histmth.nc 99 echo $file 100 fi 101 if [ -f $file ] ; then 102 file=$INDIR/${simorig}_SE_${years}_1M_histmth.nc 103 echo $file 97 104 echo FILE $file 98 105 cd $WRK 99 106 dirout=$MainDIR/CMOR/${sim}_${years}/$cas 100 # sim=`echo $years | sed -e 's:_[0-9][0-9][0-9][0-9]_[0-9][0-9][0-9][0-9]::'`101 107 echo $sim $years $dirout 102 108 -
BOL/Multi_atlas/html_accueil.sh
r3737 r3882 6 6 hostname=`hostname` 7 7 if [ ${hostname:0:5} = cicla ] ; then 8 DODSDIR=/ modfs/ipslfs/dods8 DODSDIR=/thredds/ipsl 9 9 HTML=http://vesg.ipsl.upmc.fr/thredds/fileServer/IPSLFS/$login/lmdz/MultiSimu/$comp 10 10 machine=ciclad 11 11 fi 12 12 if [ ${hostname:0:5} = camel ] ; then 13 DODSDIR=/ modfs/ipslfs/dods13 DODSDIR=/thredds/ipsl 14 14 fi 15 15 if [ ${hostname:0:5} = irene ] ; then … … 36 36 37 37 # ATTENTION A MODIFIER POUR D AUTRES MACHINE 38 echo $compf | sed -e 's:/ modfs/ipslfs/dods/:http\://vesg.ipsl.upmc.fr/thredds/fileServer/IPSLFS/:'38 echo $compf | sed -e 's:/thredds/ipsl/:http\://vesg.ipsl.upmc.fr/thredds/fileServer/IPSLFS/:' 39 39 -
BOL/Multi_atlas/html_all.sh
r3684 r3882 5 5 hostname=`hostname` 6 6 if [ ${hostname:0:5} = cicla ] ; then 7 DODSDIR=/ prodigfs/ipslfs/dods7 DODSDIR=/thredds/ipsl 8 8 HTML00=http://vesg.ipsl.upmc.fr/thredds/fileServer/IPSLFS/$login 9 9 machine=ciclad 10 10 fi 11 11 if [ ${hostname:0:5} = camel ] ; then 12 DODSDIR=/ prodigfs/ipslfs/dods12 DODSDIR=/thredds/ipsl 13 13 fi 14 14 if [ ${hostname:0:5} = irene ] ; then … … 26 26 27 27 i=1 28 for f in / prodigfs/ipslfs/dods/fabric/lmdz/MultiSimu/*/entete.html ; do29 sim=`echo $f | cut -d/ -f 8`28 for f in /thredds/ipsl/fabric/lmdz/MultiSimu/*/entete.html ; do 29 sim=`echo $f | cut -d/ -f7` 30 30 # A REFAIRE 31 echo "<TD ALIGN=LEFT><A HREF=`echo $f | sed -e 's:/ prodigfs/ipslfs/dods/:http\://vesg.ipsl.upmc.fr/thredds/fileServer/IPSLFS/:'`> $sim </A> </TD>"31 echo "<TD ALIGN=LEFT><A HREF=`echo $f | sed -e 's:/thredds/ipsl/:http\://vesg.ipsl.upmc.fr/thredds/fileServer/IPSLFS/:'`> $sim </A> </TD>" 32 32 33 33 if [ $i = 8 ] ; then -
BOL/Multi_atlas/html_axe1.sh
r3737 r3882 8 8 hostname=`hostname` 9 9 if [ ${hostname:0:5} = cicla ] ; then 10 DODSDIR=/ modfs/ipslfs/dods10 DODSDIR=/thredds/ipsl 11 11 HTML00=http://vesg.ipsl.upmc.fr/thredds/fileServer/IPSLFS/$login 12 12 machine=ciclad 13 13 fi 14 14 if [ ${hostname:0:5} = camel ] ; then 15 DODSDIR=/ modfs/ipslfs/dods15 DODSDIR=/thredds/ipsl 16 16 fi 17 17 if [ ${hostname:0:5} = irene ] ; then … … 99 99 100 100 # A REFAIRE 101 echo $compf | sed -e 's:/ modfs/ipslfs/dods/:http\://vesg.ipsl.upmc.fr/thredds/fileServer/IPSLFS/:'101 echo $compf | sed -e 's:/thredds/ipsl/:http\://vesg.ipsl.upmc.fr/thredds/fileServer/IPSLFS/:' 102 102 -
BOL/Multi_atlas/html_axe2.sh
r3737 r3882 7 7 hostname=`hostname` 8 8 if [ ${hostname:0:5} = cicla ] ; then 9 DODSDIR=/ modfs/ipslfs/dods9 DODSDIR=/thredds/ipsl 10 10 HTML00=http://vesg.ipsl.upmc.fr/thredds/fileServer/IPSLFS/$login 11 11 machine=ciclad 12 12 fi 13 13 if [ ${hostname:0:5} = camel ] ; then 14 DODSDIR=/ modfs/ipslfs/dods14 DODSDIR=/thredds/ipsl 15 15 fi 16 16 if [ ${hostname:0:5} = irene ] ; then … … 59 59 60 60 # A REFAIRE 61 echo $compf | sed -e 's:/ modfs/ipslfs/dods/:http\://vesg.ipsl.upmc.fr/thredds/fileServer/IPSLFS/:'61 echo $compf | sed -e 's:/thredds/ipsl/:http\://vesg.ipsl.upmc.fr/thredds/fileServer/IPSLFS/:' -
BOL/Multi_atlas/html_axe3.sh
r3737 r3882 8 8 hostname=`hostname` 9 9 if [ ${hostname:0:5} = cicla ] ; then 10 DODSDIR=/ modfs/ipslfs/dods10 DODSDIR=/thredds/ipsl 11 11 HTML00=http://vesg.ipsl.upmc.fr/thredds/fileServer/IPSLFS/$login 12 12 machine=ciclad 13 13 fi 14 14 if [ ${hostname:0:5} = camel ] ; then 15 DODSDIR=/ modfs/ipslfs/dods15 DODSDIR=/thredds/ipsl 16 16 fi 17 17 if [ ${hostname:0:5} = irene ] ; then … … 128 128 $local/concat_html.sh $COMP_D/REG "Regimes dynamiques tropicaux" $concatarg 3 >> $COMP_D/REG/index.html 129 129 130 echo $compf | sed -e 's:/ modfs/ipslfs/dods/:http\://vesg.ipsl.upmc.fr/thredds/fileServer/IPSLFS/:'130 echo $compf | sed -e 's:/thredds/ipsl/:http\://vesg.ipsl.upmc.fr/thredds/fileServer/IPSLFS/:' -
BOL/Multi_atlas/html_axe4.sh
r3737 r3882 7 7 hostname=`hostname` 8 8 if [ ${hostname:0:5} = cicla ] ; then 9 DODSDIR=/ modfs/ipslfs/dods9 DODSDIR=/thredds/ipsl 10 10 HTML00=http://vesg.ipsl.upmc.fr/thredds/fileServer/IPSLFS/$login 11 11 machine=ciclad 12 12 fi 13 13 if [ ${hostname:0:5} = camel ] ; then 14 DODSDIR=/ modfs/ipslfs/dods14 DODSDIR=/thredds/ipsl 15 15 fi 16 16 if [ ${hostname:0:5} = irene ] ; then … … 95 95 96 96 97 echo $compf | sed -e 's:/ modfs/ipslfs/dods/:http\://vesg.ipsl.upmc.fr/thredds/fileServer/IPSLFS/:'97 echo $compf | sed -e 's:/thredds/ipsl/:http\://vesg.ipsl.upmc.fr/thredds/fileServer/IPSLFS/:' 98 98 -
BOL/Multi_atlas/html_axe5.sh
r3737 r3882 7 7 hostname=`hostname` 8 8 if [ ${hostname:0:5} = cicla ] ; then 9 DODSDIR=/ modfs/ipslfs/dods9 DODSDIR=/thredds/ipsl 10 10 HTML00=http://vesg.ipsl.upmc.fr/thredds/fileServer/IPSLFS/$login 11 11 machine=ciclad 12 12 fi 13 13 if [ ${hostname:0:5} = camel ] ; then 14 DODSDIR=/ modfs/ipslfs/dods14 DODSDIR=/thredds/ipsl 15 15 fi 16 16 if [ ${hostname:0:5} = irene ] ; then … … 46 46 eod 47 47 48 echo $compf | sed -e 's:/ modfs/ipslfs/dods/:http\://vesg.ipsl.upmc.fr/thredds/fileServer/IPSLFS/:'48 echo $compf | sed -e 's:/thredds/ipsl/:http\://vesg.ipsl.upmc.fr/thredds/fileServer/IPSLFS/:' 49 49 -
BOL/Multi_atlas/html_axe6.sh
r3737 r3882 7 7 hostname=`hostname` 8 8 if [ ${hostname:0:5} = cicla ] ; then 9 DODSDIR=/ modfs/ipslfs/dods9 DODSDIR=/thredds/ipsl 10 10 HTML00=http://vesg.ipsl.upmc.fr/thredds/fileServer/IPSLFS/$login 11 11 machine=ciclad 12 12 fi 13 13 if [ ${hostname:0:5} = camel ] ; then 14 DODSDIR=/ modfs/ipslfs/dods14 DODSDIR=/thredds/ipsl 15 15 fi 16 16 if [ ${hostname:0:5} = irene ] ; then … … 45 45 46 46 47 echo $compf | sed -e 's:/ modfs/ipslfs/dods/:http\://vesg.ipsl.upmc.fr/thredds/fileServer/IPSLFS/:'47 echo $compf | sed -e 's:/thredds/ipsl/:http\://vesg.ipsl.upmc.fr/thredds/fileServer/IPSLFS/:' -
BOL/Multi_atlas/html_axe7.sh
r3737 r3882 8 8 hostname=`hostname` 9 9 if [ ${hostname:0:5} = cicla ] ; then 10 DODSDIR=/ modfs/ipslfs/dods10 DODSDIR=/thredds/ipsl 11 11 HTML00=http://vesg.ipsl.upmc.fr/thredds/fileServer/IPSLFS/$login 12 12 machine=ciclad 13 13 fi 14 14 if [ ${hostname:0:5} = camel ] ; then 15 DODSDIR=/ modfs/ipslfs/dods15 DODSDIR=/thredds/ipsl 16 16 fi 17 17 if [ ${hostname:0:5} = irene ] ; then … … 128 128 129 129 130 echo $compf | sed -e 's:/ modfs/ipslfs/dods/:http\://vesg.ipsl.upmc.fr/thredds/fileServer/IPSLFS/:'130 echo $compf | sed -e 's:/thredds/ipsl/:http\://vesg.ipsl.upmc.fr/thredds/fileServer/IPSLFS/:' -
BOL/Multi_atlas/install_multi_atlas.sh
r3745 r3882 29 29 if [ ${hostname:0:5} = cicla ] ; then 30 30 # chemin vers le rep dods de base 31 DODSDIR=/ modfs/ipslfs/dods31 DODSDIR=/thredds/ipsl 32 32 # Rep ou sont stockes les multiatlas 33 33 MULTIDIR=$DODSDIR/$login/lmdz/MultiSimu … … 58 58 # CLIMSERV 59 59 if [ ${hostname:0:5} = camel ] ; then 60 DODSDIR=/ modfs/ipslfs/dods60 DODSDIR=/thredds/ipsl 61 61 cat <<eod > entete.sh 62 62 #PBS -N atlas … … 142 142 echo -e "${bleufonce}"To create your multi-atlas you needs : 143 143 echo 1. to create your multiatlas directory "example Multi01" : 144 echo mkdir -p /modfs/ipslfs/dods/$login/lmdz/MultiSimu/Multi01144 echo mkdir -p $DODSdir/$login/lmdz/MultiSimu/Multi01 145 145 echo 146 146 echo 2. to define some characeristics of your multi-atlas "names, dates, description of simulations and atlas variables" : 147 echo cp Utils/def.txt Utils/atlas-def /modfs/ipslfs/dods/$login/lmdz/MultiSimu/Multi01/.147 echo cp Utils/def.txt Utils/atlas-def ${DODSdir}/$login/lmdz/MultiSimu/Multi01/. 148 148 echo define "names, date, description" of simulations in file : 149 echo /modfs/ipslfs/dods/$login/lmdz/MultiSimu/Multi01/def.txt149 echo ${DODSdir}/$login/lmdz/MultiSimu/Multi01/def.txt 150 150 echo define atlas variables in file : 151 echo /modfs/ipslfs/dods/$login/lmdz/MultiSimu/Multi01/atlas-def151 echo $DODSdir/$login/lmdz/MultiSimu/Multi01/atlas-def 152 152 echo 153 153 echo 3. Add the link to the simulation outputs in your file : $local/runs.txt -
BOL/Multi_atlas/make_html_libigcm.sh
r3737 r3882 55 55 hostname=`hostname` 56 56 if [ ${hostname:0:5} = cicla ] ; then 57 DODSDIR=/ modfs/ipslfs/dods57 DODSDIR=/thredds/ipsl 58 58 HTML=http://vesg.ipsl.upmc.fr/thredds/fileServer/IPSLFS/$login/lmdz/MultiSimu/$comp 59 59 machine=ciclad 60 60 fi 61 61 if [ ${hostname:0:5} = camel ] ; then 62 DODSDIR=/ modfs/ipslfs/dods62 DODSDIR=/thredds/ipsl 63 63 fi 64 64 if [ ${hostname:0:5} = irene ] ; then … … 88 88 STORAGE=$CICLAD 89 89 ROOTWEBatlas=http://vesg.ipsl.upmc.fr/thredds/fileServer/IPSLFS/$login/lmdz/STORE/$EXPNAME 90 MULTIDIR= /modfs/ipslfs/dods/$login/lmdz/MultiSimu90 MULTIDIR=$DODSDIR/$login/lmdz/MultiSimu 91 91 COMP_D=$MULTIDIR/$comp 92 92 DEF_FILE=$COMP_D/def.txt … … 210 210 fi 211 211 # ATTENTION A REFAIRE EN FONCTION DE LA MACHINE 212 atlas_html=`echo $atlasf | sed -e 's:/ modfs/ipslfs/dods/:http\://vesg.ipsl.upmc.fr/thredds/fileServer/IPSLFS/:'`212 atlas_html=`echo $atlasf | sed -e 's:/thredds/ipsl/:http\://vesg.ipsl.upmc.fr/thredds/fileServer/IPSLFS/:'` 213 213 echo atlas_html $atlas_html 214 214 echo atlasf $atlasf -
BOL/Multi_atlas/multi_ZONE.sh
r3737 r3882 14 14 hostname=`hostname` 15 15 if [ ${hostname:0:5} = cicla ] ; then 16 DODSDIR=/ modfs/ipslfs/dods16 DODSDIR=/thredds/ipsl 17 17 fi 18 18 if [ ${hostname:0:5} = camel ] ; then 19 DODSDIR=/ modfs/ipslfs/dods19 DODSDIR=/thredds/ipsl 20 20 fi 21 21 if [ ${hostname:0:5} = irene ] ; then … … 28 28 MAINDIR=$DODSDIR/$login/lmdz 29 29 30 runstxt= /home/fabric/LMDZ/MultiSimu/runs.txt30 runstxt=`pwd`/runs.txt 31 31 32 32 while test -n "${1}"; do … … 56 56 echo $COMP_D 57 57 58 #sims="OBS " ; for ss in `awk ' {print $1"_"$2 } ' $DEF_FILE` ; do sims="$sims $ss" ; done59 #echo sims $sims60 #exit61 58 listsims="" ; for s in `awk ' {print $1} ' $DEF_FILE` ; do listsims="$listsims $s" ; done 62 59 echo listsims $listsims 60 63 61 sims="OBS " 62 63 echo listsims= $listsims 64 64 65 for s in $listsims ; do 65 66 simdir=`grep -w "^$s " $runstxt | awk ' { print $2 } '` 66 67 ss=`basename $simdir ` 67 #year=`grep -w "^$s " $DEF_FILE | awk ' { print $2 } '`68 68 year=`grep -w "^$s" $DEF_FILE | awk ' { print $2 } '` 69 69 sims="$sims ${s}_$year" … … 76 76 #vars="pr prw rstt rlut rtt crelt crest crett hfns hfls tas sst tauu tauv psl zg500 rsts rsut rlutcs albs albt cress crels crets rts rah rahcs rahcre rlah rlahcs rlahcre rsah rsahcs rsahcre hurs hfss rldscs rlds rlus rsdscs rsds rsus rsuscs rsutcs prw" 77 77 vars="pr prw rstt rlut rtt crelt crest crett hfns hfls tas sst tauu tauv psl zg500 rsts rsut rlutcs albs albt cress crels crets rts rah rahcs rahcre rlah rlahcs rlahcre rsah rsahcs rsahcre hurs hfss rldscs rlds rlus rsdscs rsds rsus rsuscs rsutcs prw rttcs rsttcs cllcalipso clmcalipso clhcalipso cll clm clh" 78 #vars=$479 #vars="eva"80 78 echo $vars 81 79 … … 97 95 98 96 99 #line=`grep "$var," $local/description.zon`100 97 line=`grep "$var," $local/description${SEAS}.zon` 101 98 if [ "$line" = "" ] ; then echo $var non prevue dans description ; exit ; fi … … 118 115 echo OK0 $sims 119 116 for sim in $sims ; do 120 if [ $sim = OBS ] ; then MAINDIR=$DODSDIR/fabric/lmdz ; fi 117 MAINDIR=$DODSDIR/$login/lmdz 118 if [ "$sim" = "OBS" ] ; then 119 MAINDIR=$DODSDIR/fabric/lmdz ; 120 fi 121 echo sim is= $sim 121 122 ZONDIR=$MAINDIR/$GR/$SEAS/$sim/$ZONE 122 123 echo $ZONDIR … … 127 128 done 128 129 129 130 #yaxis tick major 5131 #yaxis tick minor 1132 133 #if [ $nsims = 2 ] ; then134 # view="0.15, 0.15, 1, 0.6"135 # legend="0.15,0.7"136 130 if [ $var == "prl" ] || [ $var == "prc" ] ; then 137 131 legend="0.72,0.7" -
BOL/Multi_atlas/season.sh
r3737 r3882 12 12 hostname=`hostname` 13 13 if [ ${hostname:0:5} = cicla ] ; then 14 DODSDIR=/ modfs/ipslfs/dods14 DODSDIR=/thredds/ipsl 15 15 fi 16 16 if [ ${hostname:0:5} = camel ] ; then 17 DODSDIR=/ modfs/ipslfs/dods17 DODSDIR=/thredds/ipsl 18 18 fi 19 19 if [ ${hostname:0:5} = irene ] ; then … … 49 49 "-s") listesim=`echo $2 | sed -e 's/,/ /g'` ; shift ; shift ;; 50 50 "-f") force_create=1 ; shift ;; 51 "-comp") COMP_D=/ modfs/ipslfs/dods/fabric/lmdz/MultiSimu/$2 ; shift ; shift ;;51 "-comp") COMP_D=/thredds/ipsl/fabric/lmdz/MultiSimu/$2 ; shift ; shift ;; 52 52 "-seas") listeseas=$2 ; shift ; shift ;; 53 53 *) ./cmor.sh -h ; shift ; exit ;;
Note: See TracChangeset
for help on using the changeset viewer.