source: BOL/Multi_atlas/html_pcmdi.sh

Last change on this file was 4342, checked in by musat, 19 months ago

Inclut environnement spirit et dernieres corrections (3/3)
IonelaMusat?

  • Property svn:executable set to *
File size: 1.7 KB
Line 
1#!/bin/bash
2#set -x
3
4source ~/env_Multi_atlas.sh
5
6local=`pwd -P`
7
8if [ 1 == 0 ]; then
9login=`whoami`
10hostname=`hostname`
11if [ ${hostname:0:5} = cicla ] ; then
12DODSDIR=/thredds/ipsl
13dthredds=thredds-su.ipsl.fr/thredds/fileServer/ipsl_thredds
14HTML00=http://${dthredds}/$login
15machine=ciclad
16fi
17if [ ${hostname:0:5} = spiri ] ; then
18DODSDIR=/thredds/ipsl
19dthredds=thredds-su.ipsl.fr/thredds/fileServer/ipsl_thredds
20HTML00=http://${dthredds}/$login
21machine=spirit
22fi
23if [ ${hostname:0:5} = camel ] ; then
24DODSDIR=/thredds/ipsl
25fi
26if [ ${hostname:0:5} = irene ] ; then
27DODSDIR=
28fi
29if [ ${hostname:0:5} = jean- ] ; then
30DODSDIR=
31fi
32fi
33
34comp=$1
35MULTIDIR=$DODSDIR/$login/lmdz/MultiSimu
36COMP_D=$MULTIDIR/$comp
37PCMDI_D=$COMP_D/PCMDI
38
39   # html pour les métriques
40   cat $COMP_D/entete.html doc_pcmdi.html >| $COMP_D/PCMDI.html
41   ref=`echo $listsimss | awk ' { print $1 } '`
42   echo "<h1> Metrics with respect to forced-by-SST AMIP multi model </h1>" >>  $COMP_D/PCMDI.html
43   cat $PCMDI_D/rms_xyt-CMIP5_AMIP-metrics.html >> $COMP_D/PCMDI.html
44   echo "<h1> Metrics with respect to coupled CMIP5 simulations (historical)</h1>" >>  $COMP_D/PCMDI.html
45   cat $PCMDI_D/rms_xyt-CMIP5_historical-metrics.html >> $COMP_D/PCMDI.html
46   echo "<h1> Metrics with respect to IPSLCM5A-LR (clim A verifier)  </h1>" >>  $COMP_D/PCMDI.html
47   cat $PCMDI_D/rms_xyt-AR4-metrics.html >> $COMP_D/PCMDI.html
48
49#bias_xy-AR4-metrics.html         bias_xy-CMIP5_historical-metrics.html  cor_xyt-CMIP5_AMIP-metrics.html        rms_xyt-AR4-metrics.html         rms_xyt-CMIP5_historical-metrics.html
50#bias_xy-CMIP5_AMIP-metrics.html  cor_xyt-AR4-metrics.html               cor_xyt-CMIP5_historical-metrics.html  rms_xyt-CMIP5_AMIP-metrics.html
51
Note: See TracBrowser for help on using the repository browser.