#!/bin/bash comp=$1 shift local=`pwd -P` login=`whoami` hostname=`hostname` if [ ${hostname:0:5} = cicla ] ; then DODSDIR=/prodigfs/ipslfs/dods HTML00=http://vesg.ipsl.upmc.fr/thredds/fileServer/IPSLFS/$login machine=ciclad fi if [ ${hostname:0:5} = camel ] ; then DODSDIR=/prodigfs/ipslfs/dods fi if [ ${hostname:0:5} = irene ] ; then DODSDIR= fi if [ ${hostname:0:5} = jean- ] ; then DODSDIR= fi echo OK0 ATLAS_DIR=$DODSDIR/$login/lmdz/atlas OUT_DIR=$DODSDIR/$login/lmdz/MultiSimu/$comp ref=`head -1 $OUT_DIR/def.txt | awk ' { print $1 } '` ZON_DIR=$OUT_DIR/ZON ZONC_DIR=$OUT_DIR/ZONC OUT_DIR_CESMEP=$DODSDIR/$login/C-ESM-EP/tmp_${comp}_C-ESM-EP_v2 echo OK1 ############################################################################# compf=$OUT_DIR/entete.html \cp -f $local/HOWTO.html $OUT_DIR/../ HTML0=$HTML00/lmdz/MultiSimu HTML_CESMEP=$HTML00/C-ESM-EP/tmp_${comp}_C-ESM-EP_v2 emptyelt=' - ' rm -f $compf ; touch $compf ############################################################## # MENU DEROULANT ############################################################## cat $local/enteteMulti.html >> $compf echo '

(AUTRES) Série de simulations préparatoires à CMIP6, LMDZ-Orchidee, CTRL : '$ref'

' >> $compf cat <<......eod>> $compf
......eod ##################################################################### # Fichiers pour l'enetete ##################################################################### cat $OUT_DIR/Table_simulations_$comp.html >> $compf ##################################################################### echo UN NOVEL MULTI ATLAS EST DISPONIBLE SUR $HTML/entete.html