source: BOL/Multi_atlas/html_axe6.sh @ 5226

Last change on this file since 5226 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.1 KB
Line 
1#!/bin/bash
2
3source ~/env_Multi_atlas.sh
4
5comp=$1
6
7local=`pwd -P`
8
9if [ 1 == 0 ]; then
10login=`whoami`
11hostname=`hostname`
12if [ ${hostname:0:5} = cicla ] ; then
13DODSDIR=/thredds/ipsl
14dthredds=thredds-su.ipsl.fr/thredds/fileServer/ipsl_thredds
15HTML00=http://${dthredds}/$login
16machine=ciclad
17fi
18if [ ${hostname:0:5} = spiri ] ; then
19DODSDIR=/thredds/ipsl
20dthredds=thredds-su.ipsl.fr/thredds/fileServer/ipsl_thredds
21HTML00=http://${dthredds}/$login
22machine=spirit
23fi
24if [ ${hostname:0:5} = camel ] ; then
25DODSDIR=/thredds/ipsl
26fi
27if [ ${hostname:0:5} = irene ] ; then
28DODSDIR=
29fi
30if [ ${hostname:0:5} = jean- ] ; then
31DODSDIR=
32fi
33fi
34
35COMP_D=$DODSDIR/$login/lmdz/MultiSimu/$comp
36entetef=$COMP_D/entete.html
37
38compf=$COMP_D/AXE6.html
39HTML=$HTML00/lmdz/MultiSimu/$comp
40
41cat $entetef > $compf
42
43echo '<hr>' >> $compf
44
45cat <<eod>> $compf
46<h1> Cette page n'attend que les ajouts de l'Axe 6: haute atmosphère</h1>
47
48<hr>
49Responsable : David Cugnet <br>
50 dcugnet@lmd.ens.fr <br>
51Liste de diffusion : lmdz_stratosphere@mailhost.lmd.jussieu.fr
52
53
54</body>
55</html>
56eod
57
58
59echo $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.