source: BOL/Multi_atlas/html_axe6.sh @ 3684

Last change on this file since 3684 was 3684, checked in by idelkadi, 4 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.
This version is still under development.

  • Property svn:executable set to *
File size: 919 bytes
Line 
1#!/bin/bash
2
3comp=$1
4
5local=`pwd -P`
6login=`whoami`
7hostname=`hostname`
8if [ ${hostname:0:5} = cicla ] ; then
9DODSDIR=/prodigfs/ipslfs/dods
10HTML00=http://vesg.ipsl.upmc.fr/thredds/fileServer/IPSLFS/$login
11machine=ciclad
12fi
13if [ ${hostname:0:5} = camel ] ; then
14DODSDIR=/prodigfs/ipslfs/dods
15fi
16if [ ${hostname:0:5} = irene ] ; then
17DODSDIR=
18fi
19if [ ${hostname:0:5} = jean- ] ; then
20DODSDIR=
21fi
22
23COMP_D=$DODSDIR/$login/lmdz/MultiSimu/$comp
24entetef=$COMP_D/entete.html
25
26compf=$COMP_D/AXE6.html
27HTML=$HTML00/lmdz/MultiSimu/$comp
28
29cat $entetef > $compf
30
31echo '<hr>' >> $compf
32
33cat <<eod>> $compf
34<h1> Cette page n'attend que les ajouts de l'Axe 6: haute atmosphère</h1>
35
36<hr>
37Responsable : David Cugnet <br>
38 dcugnet@lmd.ens.fr <br>
39Liste de diffusion : lmdz_stratosphere@mailhost.lmd.jussieu.fr
40
41
42</body>
43</html>
44eod
45
46
47echo $compf | sed -e 's:/prodigfs/ipslfs/dods/:http\://vesg.ipsl.upmc.fr/thredds/fileServer/IPSLFS/:'
Note: See TracBrowser for help on using the repository browser.