Last change
on this file since 3808 was
3737,
checked in by idelkadi, 5 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:
883 bytes
|
Line | |
---|
1 | #!/bin/bash |
---|
2 | |
---|
3 | comp=$1 |
---|
4 | |
---|
5 | login=`whoami` |
---|
6 | hostname=`hostname` |
---|
7 | if [ ${hostname:0:5} = cicla ] ; then |
---|
8 | DODSDIR=/modfs/ipslfs/dods |
---|
9 | HTML=http://vesg.ipsl.upmc.fr/thredds/fileServer/IPSLFS/$login/lmdz/MultiSimu/$comp |
---|
10 | machine=ciclad |
---|
11 | fi |
---|
12 | if [ ${hostname:0:5} = camel ] ; then |
---|
13 | DODSDIR=/modfs/ipslfs/dods |
---|
14 | fi |
---|
15 | if [ ${hostname:0:5} = irene ] ; then |
---|
16 | DODSDIR= |
---|
17 | fi |
---|
18 | if [ ${hostname:0:5} = jean- ] ; then |
---|
19 | DODSDIR= |
---|
20 | fi |
---|
21 | |
---|
22 | |
---|
23 | OUT_DIR=$DODSDIR/$login/lmdz/MultiSimu/$comp |
---|
24 | entetef=$OUT_DIR/entete.html |
---|
25 | |
---|
26 | ############################################################################# |
---|
27 | ############################################################################# |
---|
28 | |
---|
29 | compf=$OUT_DIR/ACCUEIL.html |
---|
30 | |
---|
31 | cat $entetef > $compf |
---|
32 | |
---|
33 | echo '<hr>' >> $compf |
---|
34 | |
---|
35 | cat $OUT_DIR/Description >> $compf |
---|
36 | |
---|
37 | # ATTENTION A MODIFIER POUR D AUTRES MACHINE |
---|
38 | echo $compf | sed -e 's:/modfs/ipslfs/dods/:http\://vesg.ipsl.upmc.fr/thredds/fileServer/IPSLFS/:' |
---|
39 | |
---|
Note: See
TracBrowser
for help on using the repository browser.