source: BOL/Multi_atlas/webpage_multi.sh @ 3758

Last change on this file since 3758 was 3745, 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.
Update atlas scripts

  • Property svn:executable set to *
File size: 1.1 KB
RevLine 
[3737]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
[3745]15HTML=https://vesg.ipsl.upmc.fr/thredds/fileServer/IPSLFS/$login/lmdz/MultiSimu/$comp
[3737]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
[3745]27echo -e "${noir}%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%"
28echo -e "${bleufonce}YOUR MULTIATLAS IS AVAILABLE ON THE PAGE: : "
[3737]29rm -f tmp_web.txt
30cat <<  eod >> tmp_web.txt
[3745]31$HTML/ACCUEIL.html
[3737]32eod
33cat tmp_web.txt
[3745]34echo -e "${noir}%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%"
Note: See TracBrowser for help on using the repository browser.