source: BOL/Multi_atlas/html_all.sh @ 5453

Last change on this file since 5453 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]5local=`pwd -P`
[4342]6
7if [ 1 == 0 ]; then
[3684]8login=`whoami`
9hostname=`hostname`
10if [ ${hostname:0:5} = cicla ] ; then
[3882]11DODSDIR=/thredds/ipsl
[4307]12dthredds=thredds-su.ipsl.fr/thredds/fileServer/ipsl_thredds
13HTML00=http://${dthredds}/$login
[3684]14machine=ciclad
15fi
[4307]16if [ ${hostname:0:5} = spiri ] ; then
17DODSDIR=/thredds/ipsl
18dthredds=thredds-su.ipsl.fr/thredds/fileServer/ipsl_thredds
19HTML00=http://${dthredds}/$login
20machine=spirit
21fi
[3684]22if [ ${hostname:0:5} = camel ] ; then
[3882]23DODSDIR=/thredds/ipsl
[3684]24fi
25if [ ${hostname:0:5} = irene ] ; then
26DODSDIR=
27fi
28if [ ${hostname:0:5} = jean- ] ; then
29DODSDIR=
30fi
[4342]31fi
[3684]32
33
34      echo '<h1 ALIGN=CENTER> Liste des séries de simulations préparatoires à CMIP6, LMDZ-Orchidee</h1> '
35echo "<table>"
36echo "<H1>"
37
38
39i=1
[4307]40for f in $DODSDIR/${login}/lmdz/MultiSimu/*/entete.html ; do
[3882]41    sim=`echo $f | cut -d/ -f7`
[3684]42# A REFAIRE
[4307]43echo "<TD ALIGN=LEFT><A HREF=`echo $f | sed -e 's:/thredds/ipsl/:http\://thredds-su.ipsl.fr/thredds/fileServer/ipsl_thredds/:'`> $sim </A> </TD>"
[3684]44
45if [ $i = 8 ] ; then
46echo "<TR>"
47i=0
48fi
49i=$(( $i + 1 ))
50
51done
52echo "</table>"
53echo "</H1>"
54
Note: See TracBrowser for help on using the repository browser.