source: BOL/Multi_atlas/html_accueil.sh @ 4891

Last change on this file since 4891 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
3source ~/env_Multi_atlas.sh
4comp=$1
5HTML=http://${dthredds}/$login/lmdz/MultiSimu/$comp
6
7if [ 1 == 0 ]; then
8login=`whoami`
9hostname=`hostname`
10if [ ${hostname:0:5} = cicla ] ; then
11DODSDIR=/thredds/ipsl
12dthredds=thredds-su.ipsl.fr/thredds/fileServer/ipsl_thredds
13HTML=http://${dthredds}/$login/lmdz/MultiSimu/$comp
14machine=ciclad
15fi
16if [ ${hostname:0:5} = spiri ] ; then
17DODSDIR=/thredds/ipsl
18dthredds=thredds-su.ipsl.fr/thredds/fileServer/ipsl_thredds
19HTML=http://${dthredds}/$login/lmdz/MultiSimu/$comp
20machine=spirit
21fi
22if [ ${hostname:0:5} = camel ] ; then
23DODSDIR=/thredds/ipsl
24fi
25if [ ${hostname:0:5} = irene ] ; then
26DODSDIR=
27fi
28if [ ${hostname:0:5} = jean- ] ; then
29DODSDIR=
30fi
31fi
32
33OUT_DIR=$DODSDIR/$login/lmdz/MultiSimu/$comp
34entetef=$OUT_DIR/entete.html
35
36#############################################################################
37#############################################################################
38
39compf=$OUT_DIR/ACCUEIL.html
40
41cat $entetef > $compf
42
43echo '<hr>' >> $compf
44
45 cat $OUT_DIR/Description >> $compf
46
47# ATTENTION A MODIFIER POUR D AUTRES MACHINE
48echo $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.