#!/bin/bash #set -v # Definition des coleurs d'affichage noir='\e[0;30m' gris='\e[1;30m' rougefonce='\e[0;31m' rose='\e[1;31m' vertfonce='\e[0;32m' vertclair='\e[1;32m' orange='\e[0;33m' jaune='\e[1;33m' bleufonce='\e[0;34m' bleuclair='\e[1;34m' violetfonce='\e[0;35m' violetclair='\e[1;35m' cyanfonce='\e[0;36m' cyanclair='\e[1;36m' grisclair='\e[0;37m' blanc='\e[1;37m' neutre='\e[0;m' login=`whoami` comp=$1 hostname=`hostname` if [ ${hostname:0:5} = cicla ] ; then DODSDIR=/thredds/ipsl dthredds=thredds-su.ipsl.fr/thredds/fileServer/ipsl_thredds HTML=https://${dthredds}/$login/lmdz/MultiSimu/$comp fi if [ ${hostname:0:5} = spiri ] ; then DODSDIR=/thredds/ipsl dthredds=thredds-su.ipsl.fr/thredds/fileServer/ipsl_thredds HTML=https://${dthredds}/$login/lmdz/MultiSimu/$comp 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 -e "${noir}%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%" echo -e "${bleufonce}YOUR MULTIATLAS IS AVAILABLE ON THE PAGE: : " rm -f tmp_web.txt cat << eod >> tmp_web.txt $HTML/ACCUEIL.html eod cat tmp_web.txt echo -e "${noir}%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%"