source: BOL/Multi_atlas/html_axe6.sh @ 5215

Last change on this file since 5215 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
RevLine 
[3684]1#!/bin/bash
2
[4342]3source ~/env_Multi_atlas.sh
4
[3684]5comp=$1
6
7local=`pwd -P`
[4342]8
9if [ 1 == 0 ]; then
[3684]10login=`whoami`
11hostname=`hostname`
12if [ ${hostname:0:5} = cicla ] ; then
[3882]13DODSDIR=/thredds/ipsl
[4307]14dthredds=thredds-su.ipsl.fr/thredds/fileServer/ipsl_thredds
15HTML00=http://${dthredds}/$login
[3684]16machine=ciclad
17fi
[4307]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
[3684]24if [ ${hostname:0:5} = camel ] ; then
[3882]25DODSDIR=/thredds/ipsl
[3684]26fi
27if [ ${hostname:0:5} = irene ] ; then
28DODSDIR=
29fi
30if [ ${hostname:0:5} = jean- ] ; then
31DODSDIR=
32fi
[4342]33fi
[3684]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
[4307]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.