#!/bin/bash comp=$1 shift local=`pwd -P` login=`whoami` hostname=`hostname` if [ ${hostname:0:5} = cicla ] ; then DODSDIR=/modfs/ipslfs/dods HTML00=http://vesg.ipsl.upmc.fr/thredds/fileServer/IPSLFS/$login 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 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=$HTML0/$comp HTML_CESMEP=$HTML00/C-ESM-EP/tmp_${comp}_C-ESM-EP_v2 emptyelt='