Changeset 4307
- Timestamp:
- Oct 26, 2022, 1:07:21 PM (2 years ago)
- Location:
- BOL/Multi_atlas
- Files:
-
- 22 edited
Legend:
- Unmodified
- Added
- Removed
-
BOL/Multi_atlas/concat_html.sh
r3883 r4307 28 28 <table> 29 29 30 <h1> $2 <A HREF=`echo $PNG_D/index.pdf | sed -e 's:/thredds/ipsl/:http\:// vesg.ipsl.upmc.fr/thredds/fileServer/IPSLFS/:'`> PDF </A></h1>30 <h1> $2 <A HREF=`echo $PNG_D/index.pdf | sed -e 's:/thredds/ipsl/:http\://thredds-su.ipsl.fr/thredds/fileServer/ipsl_thredds/:'`> PDF </A></h1> 31 31 eod 32 32 … … 39 39 file=$PNG_D/${vv}.png 40 40 if [ -f $file ] ; then 41 thredds=`echo $file | sed -e 's:/thredds/ipsl/:http\:// vesg.ipsl.upmc.fr/thredds/fileServer/IPSLFS/:'`41 thredds=`echo $file | sed -e 's:/thredds/ipsl/:http\://thredds-su.ipsl.fr/thredds/fileServer/ipsl_thredds/:'` 42 42 echo '<TD ALIGN=CENTER><A HREF="'$thredds'"><IMG HEIGHT=250 WIDTH=350 SRC="'$thredds'"></a></TD>' 43 43 else -
BOL/Multi_atlas/html_1D.sh
r3881 r4307 8 8 if [ ${hostname:0:5} = cicla ] ; then 9 9 DODSDIR=/thredds/ipsl 10 HTML00=http://vesg.ipsl.upmc.fr/thredds/fileServer/IPSLFS/$login 10 dthredds=thredds-su.ipsl.fr/thredds/fileServer/ipsl_thredds 11 HTML00=http://${dthredds}/$login 11 12 machine=ciclad 13 fi 14 if [ ${hostname:0:5} = spiri ] ; then 15 DODSDIR=/thredds/ipsl 16 dthredds=thredds-su.ipsl.fr/thredds/fileServer/ipsl_thredds 17 HTML00=http://${dthredds}/$login 18 machine=spirit 12 19 fi 13 20 if [ ${hostname:0:5} = camel ] ; then -
BOL/Multi_atlas/html_accueil.sh
r3882 r4307 7 7 if [ ${hostname:0:5} = cicla ] ; then 8 8 DODSDIR=/thredds/ipsl 9 HTML=http://vesg.ipsl.upmc.fr/thredds/fileServer/IPSLFS/$login/lmdz/MultiSimu/$comp 9 dthredds=thredds-su.ipsl.fr/thredds/fileServer/ipsl_thredds 10 HTML=http://${dthredds}/$login/lmdz/MultiSimu/$comp 10 11 machine=ciclad 12 fi 13 if [ ${hostname:0:5} = spiri ] ; then 14 DODSDIR=/thredds/ipsl 15 dthredds=thredds-su.ipsl.fr/thredds/fileServer/ipsl_thredds 16 HTML=http://${dthredds}/$login/lmdz/MultiSimu/$comp 17 machine=spirit 11 18 fi 12 19 if [ ${hostname:0:5} = camel ] ; then … … 36 43 37 44 # ATTENTION A MODIFIER POUR D AUTRES MACHINE 38 echo $compf | sed -e 's:/thredds/ipsl/:http\://vesg.ipsl.upmc.fr/thredds/fileServer/IPSLFS/:' 39 45 echo $compf | sed -e 's:/thredds/ipsl/:http\://thredds-su.ipsl.fr/thredds/fileServer/ipsl_thredds/:' -
BOL/Multi_atlas/html_all.sh
r3882 r4307 6 6 if [ ${hostname:0:5} = cicla ] ; then 7 7 DODSDIR=/thredds/ipsl 8 HTML00=http://vesg.ipsl.upmc.fr/thredds/fileServer/IPSLFS/$login 8 dthredds=thredds-su.ipsl.fr/thredds/fileServer/ipsl_thredds 9 HTML00=http://${dthredds}/$login 9 10 machine=ciclad 11 fi 12 if [ ${hostname:0:5} = spiri ] ; then 13 DODSDIR=/thredds/ipsl 14 dthredds=thredds-su.ipsl.fr/thredds/fileServer/ipsl_thredds 15 HTML00=http://${dthredds}/$login 16 machine=spirit 10 17 fi 11 18 if [ ${hostname:0:5} = camel ] ; then … … 26 33 27 34 i=1 28 for f in /thredds/ipsl/fabric/lmdz/MultiSimu/*/entete.html ; do35 for f in $DODSDIR/${login}/lmdz/MultiSimu/*/entete.html ; do 29 36 sim=`echo $f | cut -d/ -f7` 30 37 # A REFAIRE 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>"38 echo "<TD ALIGN=LEFT><A HREF=`echo $f | sed -e 's:/thredds/ipsl/:http\://thredds-su.ipsl.fr/thredds/fileServer/ipsl_thredds/:'`> $sim </A> </TD>" 32 39 33 40 if [ $i = 8 ] ; then -
BOL/Multi_atlas/html_axe1.sh
r3882 r4307 9 9 if [ ${hostname:0:5} = cicla ] ; then 10 10 DODSDIR=/thredds/ipsl 11 HTML00=http://vesg.ipsl.upmc.fr/thredds/fileServer/IPSLFS/$login 11 dthredds=thredds-su.ipsl.fr/thredds/fileServer/ipsl_thredds 12 HTML00=http://${dthredds}/$login 12 13 machine=ciclad 14 fi 15 if [ ${hostname:0:5} = spiri ] ; then 16 DODSDIR=/thredds/ipsl 17 dthredds=thredds-su.ipsl.fr/thredds/fileServer/ipsl_thredds 18 HTML00=http://${dthredds}/$login 19 machine=spirit 13 20 fi 14 21 if [ ${hostname:0:5} = camel ] ; then … … 99 106 100 107 # A REFAIRE 101 echo $compf | sed -e 's:/thredds/ipsl/:http\:// vesg.ipsl.upmc.fr/thredds/fileServer/IPSLFS/:'108 echo $compf | sed -e 's:/thredds/ipsl/:http\://thredds-su.ipsl.fr/thredds/fileServer/ipsl_thredds/:' 102 109 -
BOL/Multi_atlas/html_axe2.sh
r3882 r4307 8 8 if [ ${hostname:0:5} = cicla ] ; then 9 9 DODSDIR=/thredds/ipsl 10 HTML00=http://vesg.ipsl.upmc.fr/thredds/fileServer/IPSLFS/$login 10 dthredds=thredds-su.ipsl.fr/thredds/fileServer/ipsl_thredds 11 HTML00=http://${dthredds}/$login 11 12 machine=ciclad 13 fi 14 if [ ${hostname:0:5} = spiri ] ; then 15 DODSDIR=/thredds/ipsl 16 dthredds=thredds-su.ipsl.fr/thredds/fileServer/ipsl_thredds 17 HTML00=http://${dthredds}/$login 18 machine=spirit 12 19 fi 13 20 if [ ${hostname:0:5} = camel ] ; then … … 59 66 60 67 # A REFAIRE 61 echo $compf | sed -e 's:/thredds/ipsl/:http\:// vesg.ipsl.upmc.fr/thredds/fileServer/IPSLFS/:'68 echo $compf | sed -e 's:/thredds/ipsl/:http\://thredds-su.ipsl.fr/thredds/fileServer/ipsl_thredds/:' -
BOL/Multi_atlas/html_axe3.sh
r3882 r4307 9 9 if [ ${hostname:0:5} = cicla ] ; then 10 10 DODSDIR=/thredds/ipsl 11 HTML00=http://vesg.ipsl.upmc.fr/thredds/fileServer/IPSLFS/$login 11 dthredds=thredds-su.ipsl.fr/thredds/fileServer/ipsl_thredds 12 HTML00=http://${dthredds}/$login 12 13 machine=ciclad 14 fi 15 if [ ${hostname:0:5} = spiri ] ; then 16 DODSDIR=/thredds/ipsl 17 dthredds=thredds-su.ipsl.fr/thredds/fileServer/ipsl_thredds 18 HTML00=http://${dthredds}/$login 19 machine=spirit 13 20 fi 14 21 if [ ${hostname:0:5} = camel ] ; then … … 128 135 $local/concat_html.sh $COMP_D/REG "Regimes dynamiques tropicaux" $concatarg 3 >> $COMP_D/REG/index.html 129 136 130 echo $compf | sed -e 's:/thredds/ipsl/:http\:// vesg.ipsl.upmc.fr/thredds/fileServer/IPSLFS/:'137 echo $compf | sed -e 's:/thredds/ipsl/:http\://thredds-su.ipsl.fr/thredds/fileServer/ipsl_thredds/:' -
BOL/Multi_atlas/html_axe4.sh
r3882 r4307 8 8 if [ ${hostname:0:5} = cicla ] ; then 9 9 DODSDIR=/thredds/ipsl 10 HTML00=http://vesg.ipsl.upmc.fr/thredds/fileServer/IPSLFS/$login 10 dthredds=thredds-su.ipsl.fr/thredds/fileServer/ipsl_thredds 11 HTML00=http://${dthredds}/$login 11 12 machine=ciclad 13 fi 14 if [ ${hostname:0:5} = spiri ] ; then 15 DODSDIR=/thredds/ipsl 16 dthredds=thredds-su.ipsl.fr/thredds/fileServer/ipsl_thredds 17 HTML00=http://${dthredds}/$login 18 machine=spirit 12 19 fi 13 20 if [ ${hostname:0:5} = camel ] ; then … … 95 102 96 103 97 echo $compf | sed -e 's:/thredds/ipsl/:http\:// vesg.ipsl.upmc.fr/thredds/fileServer/IPSLFS/:'104 echo $compf | sed -e 's:/thredds/ipsl/:http\://thredds-su.ipsl.fr/thredds/fileServer/ipsl_thredds/:' 98 105 -
BOL/Multi_atlas/html_axe5.sh
r3882 r4307 8 8 if [ ${hostname:0:5} = cicla ] ; then 9 9 DODSDIR=/thredds/ipsl 10 HTML00=http://vesg.ipsl.upmc.fr/thredds/fileServer/IPSLFS/$login 10 dthredds=thredds-su.ipsl.fr/thredds/fileServer/ipsl_thredds 11 HTML00=http://${dthredds}/$login 11 12 machine=ciclad 13 fi 14 if [ ${hostname:0:5} = spiri ] ; then 15 DODSDIR=/thredds/ipsl 16 dthredds=thredds-su.ipsl.fr/thredds/fileServer/ipsl_thredds 17 HTML00=http://${dthredds}/$login 18 machine=spirit 12 19 fi 13 20 if [ ${hostname:0:5} = camel ] ; then … … 46 53 eod 47 54 48 echo $compf | sed -e 's:/thredds/ipsl/:http\:// vesg.ipsl.upmc.fr/thredds/fileServer/IPSLFS/:'55 echo $compf | sed -e 's:/thredds/ipsl/:http\://thredds-su.ipsl.fr/thredds/fileServer/ipsl_thredds/:' 49 56 -
BOL/Multi_atlas/html_axe6.sh
r3882 r4307 8 8 if [ ${hostname:0:5} = cicla ] ; then 9 9 DODSDIR=/thredds/ipsl 10 HTML00=http://vesg.ipsl.upmc.fr/thredds/fileServer/IPSLFS/$login 10 dthredds=thredds-su.ipsl.fr/thredds/fileServer/ipsl_thredds 11 HTML00=http://${dthredds}/$login 11 12 machine=ciclad 13 fi 14 if [ ${hostname:0:5} = spiri ] ; then 15 DODSDIR=/thredds/ipsl 16 dthredds=thredds-su.ipsl.fr/thredds/fileServer/ipsl_thredds 17 HTML00=http://${dthredds}/$login 18 machine=spirit 12 19 fi 13 20 if [ ${hostname:0:5} = camel ] ; then … … 45 52 46 53 47 echo $compf | sed -e 's:/thredds/ipsl/:http\:// vesg.ipsl.upmc.fr/thredds/fileServer/IPSLFS/:'54 echo $compf | sed -e 's:/thredds/ipsl/:http\://thredds-su.ipsl.fr/thredds/fileServer/ipsl_thredds/:' -
BOL/Multi_atlas/html_axe7.sh
r3882 r4307 9 9 if [ ${hostname:0:5} = cicla ] ; then 10 10 DODSDIR=/thredds/ipsl 11 HTML00=http://vesg.ipsl.upmc.fr/thredds/fileServer/IPSLFS/$login 11 dthredds=thredds-su.ipsl.fr/thredds/fileServer/ipsl_thredds 12 HTML00=http://${dthredds}/$login 12 13 machine=ciclad 14 fi 15 if [ ${hostname:0:5} = spiri ] ; then 16 DODSDIR=/thredds/ipsl 17 dthredds=thredds-su.ipsl.fr/thredds/fileServer/ipsl_thredds 18 HTML00=http://${dthredds}/$login 19 machine=spirit 13 20 fi 14 21 if [ ${hostname:0:5} = camel ] ; then … … 128 135 129 136 130 echo $compf | sed -e 's:/thredds/ipsl/:http\:// vesg.ipsl.upmc.fr/thredds/fileServer/IPSLFS/:'137 echo $compf | sed -e 's:/thredds/ipsl/:http\://thredds-su.ipsl.fr/thredds/fileServer/ipsl_thredds/:' -
BOL/Multi_atlas/html_entete.sh
r3881 r4307 9 9 if [ ${hostname:0:5} = cicla ] ; then 10 10 DODSDIR=/thredds/ipsl 11 HTML00=http:// vesg.ipsl.upmc.fr/thredds/fileServer/IPSLFS/$login11 HTML00=http://thredds-su.ipsl.fr/thredds/fileServer/ipsl_thredds/$login 12 12 machine=ciclad 13 fi 14 if [ ${hostname:0:5} = spiri ] ; then 15 DODSDIR=/thredds/ipsl 16 HTML00=http://thredds-su.ipsl.fr/thredds/fileServer/ipsl_thredds/$login 17 machine=spirit 13 18 fi 14 19 if [ ${hostname:0:5} = camel ] ; then … … 66 71 <li><a href="$HTML0/HOWTO.html">HOWTO contribute</a> </li> 67 72 <li><a href="http://forge.ipsl.jussieu.fr/igcmg/wiki/IPSLCM6 ">Liste des simulations CM6</a> </li> 68 <li><a href="https:// vesg.ipsl.upmc.fr/thredds/catalog/IPSLFS/fabric/lmdz/MultiSimu/catalog.html">ALL : avail. directories </a> </li>73 <li><a href="https://thredds-su.ipsl.fr/thredds/catalog/ipsl_thredds/fabric/lmdz/MultiSimu/catalog.html">ALL : avail. directories </a> </li> 69 74 </ul></li> 70 75 ......eod 71 for SEAS in YEAR DJF JJA ; do76 for SEAS in YEAR DJF JJA MAM SON ; do 72 77 cat <<......eod>> $compf 73 78 <li><a href="#">Atlas $SEAS</a> -
BOL/Multi_atlas/html_lma.sh
r3881 r4307 8 8 if [ ${hostname:0:5} = cicla ] ; then 9 9 DODSDIR=/thredds/ipsl 10 HTML00=http://vesg.ipsl.upmc.fr/thredds/fileServer/IPSLFS/$login 10 dthredds=thredds-su.ipsl.fr/thredds/fileServer/ipsl_thredds 11 HTML00=https://${dthredds}/$login 11 12 machine=ciclad 13 fi 14 if [ ${hostname:0:5} = spiri ] ; then 15 DODSDIR=/thredds/ipsl 16 dthredds=thredds-su.ipsl.fr/thredds/fileServer/ipsl_thredds 17 HTML00=https://${dthredds}/$login 18 machine=spirit 12 19 fi 13 20 if [ ${hostname:0:5} = camel ] ; then … … 23 30 runstxt=$local/runs.txt 24 31 PREF_F=$DODSDIR 25 PREF_W=http\://vesg.ipsl.upmc.fr/thredds/fileServer/IPSLFS 32 dthredds=thredds-su.ipsl.fr/thredds/fileServer/ipsl_thredds 33 #PREF_W=http\://vesg.ipsl.upmc.fr/thredds/fileServer/IPSLFS 34 PREF_W=http\://${dthredds} 35 26 36 MULTIDIR=$PREF_F/$login/lmdz/MultiSimu 27 37 #BASE_D=/home/fabric/users/dcugnet -
BOL/Multi_atlas/html_pcmdi.sh
r3881 r4307 6 6 if [ ${hostname:0:5} = cicla ] ; then 7 7 DODSDIR=/thredds/ipsl 8 HTML00=http://vesg.ipsl.upmc.fr/thredds/fileServer/IPSLFS/$login 8 dthredds=thredds-su.ipsl.fr/thredds/fileServer/ipsl_thredds 9 HTML00=http://${dthredds}/$login 9 10 machine=ciclad 11 fi 12 if [ ${hostname:0:5} = spiri ] ; then 13 DODSDIR=/thredds/ipsl 14 dthredds=thredds-su.ipsl.fr/thredds/fileServer/ipsl_thredds 15 HTML00=http://${dthredds}/$login 16 machine=spirit 10 17 fi 11 18 if [ ${hostname:0:5} = camel ] ; then -
BOL/Multi_atlas/html_tuning.sh
r3881 r4307 8 8 if [ ${hostname:0:5} = cicla ] ; then 9 9 DODSDIR=/thredds/ipsl 10 HTML00=http://vesg.ipsl.upmc.fr/thredds/fileServer/IPSLFS/$login 10 dthredds=thredds-su.ipsl.fr/thredds/fileServer/ipsl_thredds 11 HTML00=https://${dthredds}/$login 11 12 machine=ciclad 13 fi 14 if [ ${hostname:0:5} = spiri ] ; then 15 DODSDIR=/thredds/ipsl 16 dthredds=thredds-su.ipsl.fr/thredds/fileServer/ipsl_thredds 17 HTML00=https://${dthredds}/$login 18 machine=spirit 12 19 fi 13 20 if [ ${hostname:0:5} = camel ] ; then -
BOL/Multi_atlas/html_tuning_min.sh
r3881 r4307 8 8 if [ ${hostname:0:5} = cicla ] ; then 9 9 DODSDIR=/thredds/ipsl 10 HTML00=http://vesg.ipsl.upmc.fr/thredds/fileServer/IPSLFS/$login 10 dthredds=thredds-su.ipsl.fr/thredds/fileServer/ipsl_thredds 11 HTML00=http://${dthredds}/$login 11 12 machine=ciclad 13 fi 14 if [ ${hostname:0:5} = spiri ] ; then 15 DODSDIR=/thredds/ipsl 16 dthredds=thredds-su.ipsl.fr/thredds/fileServer/ipsl_thredds 17 HTML00=http://${dthredds}/$login 18 machine=spirit 12 19 fi 13 20 if [ ${hostname:0:5} = camel ] ; then -
BOL/Multi_atlas/install_multi_atlas.sh
r3915 r4307 73 73 submit=qsub 74 74 eod 75 fi76 75 77 76 # IRENE … … 173 172 \mv make_atlas.sh atlas/. 174 173 174 fi 175 175 176 cp Utils/lmdz_SE0.py tmp0.py 176 177 sed -e s:ROOT_SIM_DIR:$ROOT_SIM_DIR:g tmp0.py > tmp.py … … 179 180 \mv lmdz_SE.py atlas/. 180 181 182 exit 181 183 echo 4. Then you can run your multiatlas : 182 184 echo ./job_multi.sh Multi01 -
BOL/Multi_atlas/make_html_libigcm.sh
r3882 r4307 1 1 #!/bin/bash 2 # AI mai 2020 3 # A REFAIRE PROPREMENT 4 # A NETTOYER, ADAPTER AUX AUTRES MACHINES 2 5 3 6 4 ########################################################################### … … 23 21 24 22 23 logname=aidel 25 24 comp=COMP 26 25 … … 39 38 --comp) comp="${2}" 40 39 shift;; 40 --runstxt) runstxt="${2}" 41 shift ;; 41 42 --id) CONFIGNAME="${2}" 42 43 shift;; … … 50 51 done 51 52 52 local=`pwd -P` 53 54 login=`whoami` 55 hostname=`hostname` 56 if [ ${hostname:0:5} = cicla ] ; then 57 DODSDIR=/thredds/ipsl 58 HTML=http://vesg.ipsl.upmc.fr/thredds/fileServer/IPSLFS/$login/lmdz/MultiSimu/$comp 59 machine=ciclad 60 fi 61 if [ ${hostname:0:5} = camel ] ; then 62 DODSDIR=/thredds/ipsl 63 fi 64 if [ ${hostname:0:5} = irene ] ; then 65 DODSDIR= 66 fi 67 if [ ${hostname:0:5} = jean- ] ; then 68 DODSDIR= 69 fi 70 71 tmpdir=$DODSDIR/$login/lmdz 53 ###tmpdir=/thredds/ipsl/fabric/lmdz 54 tmpdir=/thredds/ipsl/fabric/lmdz 72 55 EXPNAME=B96x95x39/V20090611.dev/ 73 56 ROOTWORK=$tmpdir 74 57 ROOTWEBORIG="" 75 58 EXPNAME=IGCM_OUT/$CONFIGNAME/DEVT/clim 59 machine=ciclad 60 76 61 77 62 STORAGE=$ARCHIVE … … 80 65 HTML_D=$ROOTSTORAGE/HTML 81 66 67 machine=ciclad 68 82 69 if [ "$machine" = "ciclad" ] ; then 83 70 EXPNAME=NPV5LRL79 84 71 put=cp 85 CICLAD=$DODSDIR/$login/lmdz 72 ###CICLAD=/thredds/ipsl/fabric/lmdz 73 CICLAD=/thredds/ipsl/fabric/lmdz 86 74 ARCHIVE=$CICLAD/STORE 87 75 workdir=$CICLAD/WORK 88 76 STORAGE=$CICLAD 89 ROOTWEBatlas=http://vesg.ipsl.upmc.fr/thredds/fileServer/IPSLFS/$login/lmdz/STORE/$EXPNAME 90 MULTIDIR=$DODSDIR/$login/lmdz/MultiSimu 77 ROOTWEBatlas=http://thredds-su.ipsl.fr/thredds/fileServer/ipsl_thredds/fabric/lmdz/STORE/$EXPNAME 78 ###MULTIDIR=/thredds/ipsl/fabric/lmdz/MultiSimu 79 MULTIDIR=/thredds/ipsl/fabric/lmdz/MultiSimu 91 80 COMP_D=$MULTIDIR/$comp 92 81 DEF_FILE=$COMP_D/def.txt 93 82 HTML_D=$COMP_D 94 runstxt=$local/runs.txt83 #runstxt=/home/fabric/LMDZ/MultiSimu/runs.txt 95 84 fi 96 85 … … 99 88 ROOTDODS=DODS/pub/$LOGNAME/$CONFIGNAME 100 89 ROOTWEB="http://dodsp.idris.fr/$LOGNAME/$EXPNAME" 101 ROOTWEB_PRODout=https://vesg.ipsl.upmc.fr/thredds/catalog/store_thredds/aidel/LMDZOR/DEVT/clim 90 # http://dods.extra.cea.fr/work/aidel/IGCM_OUT/LMDZOR/DEVT/clim/AR5.0lr/ATM/Analyse/COSP/Calipso/1982-1989 91 #ROOTWEB_PROD=http://dods.extra.cea.fr/work/aidel/IGCM_OUT/LMDZOR/DEVT/clim 92 ROOTWEB_PROD=http://esgf.extra.cea.fr/thredds/catalog/work/aidel/IGCM_OUT/LMDZOR/DEVT/clim 93 ROOTWEB_PROD=https://thredds-su.ipsl.fr/thredds/catalog/work/aidel/IGCM_OUT/LMDZOR/DEVT/clim 94 ROOTWEB_PROD=https://thredds-su.ipsl.fr/thredds/catalog/store_thredds/aidel/IGCM_OUT/LMDZOR/DEVT/clim 95 ROOTWEB_PRODout=https://thredds-su.ipsl.fr/thredds/catalog/store_thredds/aidel/LMDZOR/DEVT/clim 96 #STOREWEB_PROD=http://dods.extra.cea.fr/store/aidel/IGCM_OUT/LMDZOR/DEVT/clim 97 #STOREWEB_PROD=http://esgf.extra.cea.fr/thredds/catalog/store/aidel/IGCM_OUT/LMDZOR/DEVT/clim 102 98 STOREWEB_PROD=http://esgf.extra.cea.fr/thredds/catalog/store_thredds/aidel/IGCM_OUT/LMDZOR/DEVT/clim 103 99 STOREWEB_PRODold=http://esgf.extra.cea.fr/thredds/catalog/store/aidel/IGCM_OUT/LMDZOR/DEVT/clim 100 #ROOTWEBatlas=http://dods.idris.fr/$LOGNAME/$CONFIGNAME/DEVT/clim 104 101 if [ "$ROOTWEBORIG" = "" ] ; then 105 102 ROOTWEBORIG=ROOTWEBlibigcm … … 126 123 longc="" ; i=0 ; while [ $i != $longn ] ; do (( i = $i + 1 )) ; longc="$longc"_ ; done 127 124 128 if [ ! -d $STORAGE/HTML ] ; then mkdir -p $STORAGE/HTML ; fi 129 htmlfile=$STORAGE/HTML/tmp.html ; rm -f $htmlfile ; touch $htmlfile 130 errfile=$STORAGE/HTML/tmphtml$$.err ; rm -f $errfile ; touch $errfile 125 htmlfile=$CICLAD/HTML/tmp.html ; rm -f $htmlfile ; touch $htmlfile 126 errfile=$CICLAD/HTML/tmphtml$$.err ; rm -f $errfile ; touch $errfile 131 127 D_work=$ROOTWORK/tmp_makehtml$$ ; rm -rf $D_work ; mkdir -p $D_work 132 128 emptyelt='<td> - </td>' 129 133 130 cat <<eod>| $htmlfile 134 131 <table cellpadding="2" cellspacing="2" border="1" … … 136 133 margin-right: auto;"> 137 134 <tr> 138 <td><a href=" $HTML/def.txt"> RUN (link to outputs) </a></td>135 <td><a href="https://thredds-su.ipsl.fr/thredds/fileServer/ipsl_thredds/fabric/lmdz/MultiSimu/$comp/def.txt"> RUN (link to outputs) </a></td> 139 136 <td> Atlas YEAR</td> 140 137 <td> Atlas --DJF-- </td> 141 138 <td> Atlas --JJA-- </td> 139 <td> Atlas --MAM-- </td> 140 <td> Atlas --SON-- </td> 142 141 <td> Description of the simulation $longc </td> 143 142 <td> Period </td> … … 154 153 echo '<tr>' >> $htmlfile 155 154 echo "<td> CLIMATOS </td>" >> $htmlfile 155 echo "<td> </td>" >> $htmlfile 156 echo "<td> </td>" >> $htmlfile 156 157 echo "<td> </td>" >> $htmlfile 157 158 echo "<td> </td>" >> $htmlfile … … 176 177 sim=`echo $line | awk ' { print $1 } '` 177 178 simdir=`grep -w "^$sim " $runstxt | awk ' { print $2 } '` 179 echo simdir $simdir 178 180 run=`basename $simdir ` 179 181 years=`echo $line | awk ' { print $2 } '` 182 # years=`grep '^'$run' ' $DEF_FILE | awk ' { print $2 }'` 180 183 yearsb=`echo $years | sed -e 's/_/-/'` 181 184 echo run $run … … 187 190 NCFILE=${run}_SE_${years}_1M_histmth.nc 188 191 192 # AI partie rapat 193 #$home/Diagnos_v6/dods_publi.sh $EXPNAME/$run/DEBUG 194 #Mettre les sorties sur dods 195 #$home/Diagnos_v6/dods_publi.sh $EXPNAME/$run/ATM/Output 196 #Mettre les sorties sur dods les restart 197 #$home/Diagnos_v6/dods_publi.sh $EXPNAME/$run/RESTART 198 199 189 200 #-------------------------------------------------------------------------- 190 201 # Liens vers les fichiers, monitoring et atlas 191 202 #-------------------------------------------------------------------------- 203 # echo "<td><a href=\"$ROOTWEBatlas/"$run"\"> "$run" </a></td>" >> $htmlfile 192 204 echo "<td><a href=\"$ROOTWEB_PRODout/"$run"/catalog.html\"> "$sim" </a></td>" >> $htmlfile 193 205 … … 198 210 if [ 1 = 1 ] ; then 199 211 200 for SEAS in YEAR DJF JJA ; do212 for SEAS in YEAR DJF JJA MAM SON ; do 201 213 echo '<td>' >> $htmlfile 202 214 for PROJ in GLOB NH SH ; do … … 209 221 atlasf=$ROOTSTORAGE/$run/ATLAS/SE_$years/ATM/$atlas 210 222 fi 211 # ATTENTION A REFAIRE EN FONCTION DE LA MACHINE 212 atlas_html=`echo $atlasf | sed -e 's:/thredds/ipsl/:http\:// vesg.ipsl.upmc.fr/thredds/fileServer/IPSLFS/:'`223 ###atlas_html=`echo $atlasf | sed -e 's:/thredds/ipsl/:http\://thredds-su.ipsl.fr/thredds/fileServer/ipsl_thredds/:'` 224 atlas_html=`echo $atlasf | sed -e 's:/thredds/ipsl/:http\://thredds-su.ipsl.fr/thredds/fileServer/ipsl_thredds/:'` 213 225 echo atlas_html $atlas_html 214 226 echo atlasf $atlasf … … 244 256 echo OK0 245 257 if [ $glob = 1 ] ; then 246 echo OK GGGGGGGGGGGGG $glob 247 listeval="" 248 echo LISTEVAR $listevar 249 for var in $listevar ; do 250 echo $ROOTWORK/VLR/YEAR/${sim}_$years/METRICS/glob 251 if [ -f "$ROOTWORK/VLR/YEAR/${sim}_$years/METRICS/glob" ] ; then 258 echo OK GGGGGGGGGGGGG $glob 259 listeval="" 260 echo LISTEVAR $listevar 261 # echo NCFILE $NCFILE 262 for var in $listevar ; do 263 echo $ROOTWORK/VLR/YEAR/${sim}_$years/METRICS/glob 264 # if [ -f "$ROOTSTORAGE/$run/ATM/Analyse/Bilans/$years/${run}_bilans.data" ] ; then 265 # if [ -f "$ROOTWORK/VLR/YEAR/${run}_$years/METRICS/glob" ] ; then 266 if [ -f "$ROOTWORK/VLR/YEAR/${sim}_$years/METRICS/glob" ] ; then 252 267 val=`grep "^$var " $ROOTWORK/VLR/YEAR/${sim}_$years/METRICS/glob | awk ' { print $2 }' ` 253 268 echo $val … … 262 277 echo LISTEVAL $listeval 263 278 279 264 280 ########################################################################### 265 281 # FIN DE LA BOUCLE SUR LES SIMULATIONS … … 305 321 306 322 mkdir -p $HTML_D 307 $put $htmlfile $HTML_D/Table_simulations_${comp}.html 308 echo $put $htmlfile $HTML_D/Table_simulations_${comp}.html 309 323 $put $htmlfile $HTML_D/Table_simulations_$comp.html 324 echo $put $htmlfile $HTML_D/Table_simulations_$comp.html 325 326 #$home/Diagnos_v6/dods_publi.sh $EXPNAME/HTML -
BOL/Multi_atlas/make_index_html.sh
r3916 r4307 5 5 6 6 login=`whoami` 7 login=${login}8 9 local=`pwd -P`10 runstxt=$local/runs.txt11 echo runstxt= $runstxt12 13 login=${login}14 7 DODSDIR=/thredds/ipsl 15 8 … … 25 18 ref=OBS 26 19 elif [ $dataref = 0 ]; then 27 ref=`head -1 ${COMP_D}/def.txt | awk ' { print $1 } '`20 ref=`head -1 ${COMP_D}/def.txt | awk ' { print $1"_"$2 } '` 28 21 fi 22 23 echo dataref=$dataref 24 echo ref=$ref 29 25 30 26 DEF_FILE=$COMP_D/def.txt ; if [ ! -f $DEF_FILE ] ; then echo renseigner $DEF_FILE ; exit ; fi … … 69 65 ta) titre='Air Temperature' ;; 70 66 ua) titre='Zonal wind' ;; 71 hur) titre='Specific Humidity' ;; 72 hurs) titre='Surface Specific Humidity' ;; 67 hur) titre='Relative Humidity' ;; 68 hurs) titre='Surface Relative Humidity' ;; 69 psl) titre='Sea level pressure' ;; 70 albs) titre='Surface albedo' ;; 73 71 *) titre=${var} ;; 74 72 esac … … 82 80 cp var_html.html "${var}"_html.html 83 81 84 echo var=$var"endvar" titre=$titre"endtitre"82 #echo var=$var"endvar" titre=$titre"endtitre" 85 83 sed -i -e "s/VAR/${var}/g" ${var}_html.html 86 84 sed -i -e "s/TITRE/${titre}/g" ${var}_html.html … … 89 87 sed -i -e "s/SEASON/"${seas}"/g" ${var}_html.html 90 88 sed -i -e "s/DREF/"${ref}"/g" ${var}_html.html 89 sed -i -e "s/REGION/"${proj}"/g" ${var}_html.html 91 90 listvar="$listvar ${var}_html.html" 92 91 done 93 92 cat entete_html.html ${listvar} suff_html.html > ${COMP_D}/ATLAS/index_${proj}_${seas}_${sim}.html 93 echo \rm ${listvar} 94 \rm ${listvar} 94 95 (( il = $il + 1 )) 95 96 done 97 96 98 done 97 99 98 for var in $varg; do99 echo \rm ${var}_html.html100 done101 100 102 101 exit -
BOL/Multi_atlas/multi_ZONE.sh
r3882 r4307 72 72 echo $SEAS $outd "$sims" 73 73 74 vars='psl' 75 #vars="pr 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 cltcalipso clhcalipso clmcalipso cllcalipso hurs hfss rldscs rlds rlus rsdscs rsds rsus rsuscs rsutcs prw" 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 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" 74 vars="pr prw rstt rlut rtt crelt crest crett hfns hfls eva 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 75 echo $vars 79 76 … … 168 165 ii=0 169 166 for style in 1 3 2 ; do 170 for color in 1 2 3 4 9 8 10 ; do167 for color in 1 2 3 4 9 8 10 11 12 5 6 ; do 171 168 (( ii = $ii + 1 )) 172 169 cat <<eod>> tmp.param -
BOL/Multi_atlas/multi_atlas.sh
r3915 r4307 22 22 if [ ${hostname:0:5} = cicla ] ; then 23 23 DODSDIR=/thredds/ipsl 24 HTML=http://vesg.ipsl.upmc.fr/thredds/fileServer/IPSLFS/$login/lmdz/MultiSimu/$comp 24 dthredds=thredds-su.ipsl.fr/thredds/fileServer/ipsl_thredds 25 HTML=http://${dthredds}/$login/lmdz/MultiSimu/$comp 26 fi 27 if [ ${hostname:0:5} = spiri ] ; then 28 DODSDIR=/thredds/ipsl 29 dthredds=thredds-su.ipsl.fr/thredds/fileServer/ipsl_thredds 30 HTML=http://${dthredds}/$login/lmdz/MultiSimu/$comp 25 31 fi 26 32 if [ ${hostname:0:5} = camel ] ; then … … 45 51 sref=$COMP_D/ATLAS/index_${proj}_${season}_${ref}.html 46 52 47 sed -i -e "s:thredds\/ipsl:thredds\/fileServer\/ IPSLFS:g" ${sref}53 sed -i -e "s:thredds\/ipsl:thredds\/fileServer\/ipsl_thredds:g" ${sref} 48 54 ############################################################################# 49 55 … … 111 117 # Inclusion des moyennes zonales 112 118 if [ -f $ZON_DIR/${var}zon.png ] ; then 113 thredds=/thredds/fileServer/ IPSLFS/fabric/lmdz/MultiSimu/$comp/ZON/${var}zon.png119 thredds=/thredds/fileServer/ipsl_thredds/fabric/lmdz/MultiSimu/$comp/ZON/${var}zon.png 114 120 echo '<TD ALIGN=RIGHT><A HREF="'$thredds'"><IMG HEIGHT=200 WIDTH=200 SRC="'$thredds'"></a></TD>' >> $compf 115 121 else -
BOL/Multi_atlas/webpage_multi.sh
r3745 r4307 12 12 hostname=`hostname` 13 13 if [ ${hostname:0:5} = cicla ] ; then 14 DODSDIR=/modfs/ipslfs/dods 15 HTML=https://vesg.ipsl.upmc.fr/thredds/fileServer/IPSLFS/$login/lmdz/MultiSimu/$comp 14 DODSDIR=/thredds/ipsl 15 dthredds=thredds-su.ipsl.fr/thredds/fileServer/ipsl_thredds 16 HTML=https://${dthredds}/$login/lmdz/MultiSimu/$comp 17 fi 18 if [ ${hostname:0:5} = spiri ] ; then 19 DODSDIR=/thredds/ipsl 20 dthredds=thredds-su.ipsl.fr/thredds/fileServer/ipsl_thredds 21 HTML=https://${dthredds}/$login/lmdz/MultiSimu/$comp 16 22 fi 17 23 if [ ${hostname:0:5} = camel ] ; then
Note: See TracChangeset
for help on using the changeset viewer.