#!/bin/bash source ~/env_Multi_atlas.sh comp=$1 HTML=http://${dthredds}/$login/lmdz/MultiSimu/$comp if [ 1 == 0 ]; then login=`whoami` hostname=`hostname` if [ ${hostname:0:5} = cicla ] ; then DODSDIR=/thredds/ipsl dthredds=thredds-su.ipsl.fr/thredds/fileServer/ipsl_thredds HTML=http://${dthredds}/$login/lmdz/MultiSimu/$comp machine=ciclad fi if [ ${hostname:0:5} = spiri ] ; then DODSDIR=/thredds/ipsl dthredds=thredds-su.ipsl.fr/thredds/fileServer/ipsl_thredds HTML=http://${dthredds}/$login/lmdz/MultiSimu/$comp machine=spirit fi if [ ${hostname:0:5} = camel ] ; then DODSDIR=/thredds/ipsl fi if [ ${hostname:0:5} = irene ] ; then DODSDIR= fi if [ ${hostname:0:5} = jean- ] ; then DODSDIR= fi 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:/thredds/ipsl/:http\://thredds-su.ipsl.fr/thredds/fileServer/ipsl_thredds/:'