source: BOL/Multi_atlas/webpage_multi.sh @ 3737

Last change on this file since 3737 was 3737, checked in by idelkadi, 4 years ago

Repository under svn of a first version of Multiatlas diagnostics for LMDZ. This version is adapted to be able to run a LMDZ multiatlas on an individual account on the ciclad machine of the IPSL. In this version, the parts to be modified are identified so as to subsequently adapt it to other machines.
Modifications following changes and simplification of access from CICLAD / ClimServ?? to the different "thredds"

  • Property svn:executable set to *
File size: 908 bytes
Line 
1#!/bin/bash
2
3#set -v
4# Definition des coleurs d'affichage
5noir='\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'
6
7
8login=`whoami`
9
10comp=$1
11
12hostname=`hostname`
13if [ ${hostname:0:5} = cicla ] ; then
14DODSDIR=/modfs/ipslfs/dods
15HTML=http://vesg.ipsl.upmc.fr/thredds/fileServer/IPSLFS/$login/lmdz/MultiSimu/$comp
16fi
17if [ ${hostname:0:5} = camel ] ; then
18DODSDIR=/modfs/ipslfs/dods
19fi
20if [ ${hostname:0:5} = irene ] ; then
21DODSDIR=
22fi
23if [ ${hostname:0:5} = jean- ] ; then
24DODSDIR=
25fi
26
27echo -e "${vertfonce}YOUR MULTIATLAS IS AVAILABLE ON THE PAGE: : "
28rm -f tmp_web.txt
29cat <<  eod >> tmp_web.txt
30$HTML/ACCUEIl.html
31eod
32cat tmp_web.txt
Note: See TracBrowser for help on using the repository browser.