Last change
on this file since 5202 was
4341,
checked in by musat, 2 years ago
|
Inclut environnement spirit et dernieres corrections (2/3)
IonelaMusat?
|
-
Property svn:executable set to
*
|
File size:
1.4 KB
|
Line | |
---|
1 | #!/bin/bash |
---|
2 | |
---|
3 | #set -v |
---|
4 | |
---|
5 | source ~/env_Multi_atlas.sh |
---|
6 | |
---|
7 | # Definition des coleurs d'affichage |
---|
8 | 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' |
---|
9 | |
---|
10 | |
---|
11 | login=`whoami` |
---|
12 | |
---|
13 | comp=$1 |
---|
14 | |
---|
15 | HTML=https://${dthredds}/$login/lmdz/MultiSimu/$comp |
---|
16 | |
---|
17 | if [ 1 == 0 ]; then |
---|
18 | hostname=`hostname` |
---|
19 | if [ ${hostname:0:5} = cicla ] ; then |
---|
20 | DODSDIR=/thredds/ipsl |
---|
21 | dthredds=thredds-su.ipsl.fr/thredds/fileServer/ipsl_thredds |
---|
22 | HTML=https://${dthredds}/$login/lmdz/MultiSimu/$comp |
---|
23 | fi |
---|
24 | if [ ${hostname:0:5} = spiri ] ; then |
---|
25 | DODSDIR=/thredds/ipsl |
---|
26 | dthredds=thredds-su.ipsl.fr/thredds/fileServer/ipsl_thredds |
---|
27 | HTML=https://${dthredds}/$login/lmdz/MultiSimu/$comp |
---|
28 | fi |
---|
29 | if [ ${hostname:0:5} = camel ] ; then |
---|
30 | DODSDIR=/modfs/ipslfs/dods |
---|
31 | fi |
---|
32 | if [ ${hostname:0:5} = irene ] ; then |
---|
33 | DODSDIR= |
---|
34 | fi |
---|
35 | if [ ${hostname:0:5} = jean- ] ; then |
---|
36 | DODSDIR= |
---|
37 | fi |
---|
38 | fi |
---|
39 | |
---|
40 | echo -e "${noir}%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%" |
---|
41 | echo -e "${bleufonce}YOUR MULTIATLAS IS AVAILABLE ON THE PAGE: : " |
---|
42 | rm -f tmp_web.txt |
---|
43 | cat << eod >> tmp_web.txt |
---|
44 | $HTML/ACCUEIL.html |
---|
45 | eod |
---|
46 | cat tmp_web.txt |
---|
47 | echo -e "${noir}%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%" |
---|
Note: See
TracBrowser
for help on using the repository browser.