Last change
on this file since 4794 was
4342,
checked in by musat, 2 years ago
|
Inclut environnement spirit et dernieres corrections (3/3)
IonelaMusat?
|
-
Property svn:executable set to
*
|
File size:
1.2 KB
|
Line | |
---|
1 | #!/bin/bash |
---|
2 | |
---|
3 | source ~/env_Multi_atlas.sh |
---|
4 | comp=$1 |
---|
5 | HTML=http://${dthredds}/$login/lmdz/MultiSimu/$comp |
---|
6 | |
---|
7 | if [ 1 == 0 ]; then |
---|
8 | login=`whoami` |
---|
9 | hostname=`hostname` |
---|
10 | if [ ${hostname:0:5} = cicla ] ; then |
---|
11 | DODSDIR=/thredds/ipsl |
---|
12 | dthredds=thredds-su.ipsl.fr/thredds/fileServer/ipsl_thredds |
---|
13 | HTML=http://${dthredds}/$login/lmdz/MultiSimu/$comp |
---|
14 | machine=ciclad |
---|
15 | fi |
---|
16 | if [ ${hostname:0:5} = spiri ] ; then |
---|
17 | DODSDIR=/thredds/ipsl |
---|
18 | dthredds=thredds-su.ipsl.fr/thredds/fileServer/ipsl_thredds |
---|
19 | HTML=http://${dthredds}/$login/lmdz/MultiSimu/$comp |
---|
20 | machine=spirit |
---|
21 | fi |
---|
22 | if [ ${hostname:0:5} = camel ] ; then |
---|
23 | DODSDIR=/thredds/ipsl |
---|
24 | fi |
---|
25 | if [ ${hostname:0:5} = irene ] ; then |
---|
26 | DODSDIR= |
---|
27 | fi |
---|
28 | if [ ${hostname:0:5} = jean- ] ; then |
---|
29 | DODSDIR= |
---|
30 | fi |
---|
31 | fi |
---|
32 | |
---|
33 | OUT_DIR=$DODSDIR/$login/lmdz/MultiSimu/$comp |
---|
34 | entetef=$OUT_DIR/entete.html |
---|
35 | |
---|
36 | ############################################################################# |
---|
37 | ############################################################################# |
---|
38 | |
---|
39 | compf=$OUT_DIR/ACCUEIL.html |
---|
40 | |
---|
41 | cat $entetef > $compf |
---|
42 | |
---|
43 | echo '<hr>' >> $compf |
---|
44 | |
---|
45 | cat $OUT_DIR/Description >> $compf |
---|
46 | |
---|
47 | # ATTENTION A MODIFIER POUR D AUTRES MACHINE |
---|
48 | echo $compf | sed -e 's:/thredds/ipsl/:http\://thredds-su.ipsl.fr/thredds/fileServer/ipsl_thredds/:' |
---|
Note: See
TracBrowser
for help on using the repository browser.