source: BOL/Multi_atlas/html_accueil.sh @ 3695

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