#!/bin/bash comp=$1 login=`whoami` hostname=`hostname` if [ ${hostname:0:5} = cicla ] ; then DODSDIR=/modfs/ipslfs/dods HTML=http://vesg.ipsl.upmc.fr/thredds/fileServer/IPSLFS/$login/lmdz/MultiSimu/$comp machine=ciclad fi if [ ${hostname:0:5} = camel ] ; then DODSDIR=/modfs/ipslfs/dods fi if [ ${hostname:0:5} = irene ] ; then DODSDIR= fi if [ ${hostname:0:5} = jean- ] ; then DODSDIR= fi OUT_DIR=$DODSDIR/$login/lmdz/MultiSimu/$comp entetef=$OUT_DIR/entete.html ############################################################################# ############################################################################# compf=$OUT_DIR/ACCUEIL.html cat $entetef > $compf echo '
' >> $compf cat $OUT_DIR/Description >> $compf # ATTENTION A MODIFIER POUR D AUTRES MACHINE echo $compf | sed -e 's:/modfs/ipslfs/dods/:http\://vesg.ipsl.upmc.fr/thredds/fileServer/IPSLFS/:'