source: BOL/Multi_atlas/html_pcmdi.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: 1.4 KB
Line 
1#!/bin/bash
2
3local=`pwd -P`
4login=`whoami`
5hostname=`hostname`
6if [ ${hostname:0:5} = cicla ] ; then
7DODSDIR=/prodigfs/ipslfs/dods
8HTML00=http://vesg.ipsl.upmc.fr/thredds/fileServer/IPSLFS/$login
9machine=ciclad
10fi
11if [ ${hostname:0:5} = camel ] ; then
12DODSDIR=/prodigfs/ipslfs/dods
13fi
14if [ ${hostname:0:5} = irene ] ; then
15DODSDIR=
16fi
17if [ ${hostname:0:5} = jean- ] ; then
18DODSDIR=
19fi
20
21set -x
22comp=$1
23MULTIDIR=$DODSDIR/$login/lmdz/MultiSimu
24COMP_D=$MULTIDIR/$comp
25PCMDI_D=$COMP_D/PCMDI
26
27   # html pour les métriques
28   cat $COMP_D/entete.html doc_pcmdi.html >| $COMP_D/PCMDI.html
29   ref=`echo $listsimss | awk ' { print $1 } '`
30   echo "<h1> Metrics with respect to forced-by-SST AMIP multi model </h1>" >>  $COMP_D/PCMDI.html
31   cat $PCMDI_D/rms_xyt-CMIP5_AMIP-metrics.html >> $COMP_D/PCMDI.html
32   echo "<h1> Metrics with respect to coupled CMIP5 simulations (historical)</h1>" >>  $COMP_D/PCMDI.html
33   cat $PCMDI_D/rms_xyt-CMIP5_historical-metrics.html >> $COMP_D/PCMDI.html
34   echo "<h1> Metrics with respect to IPSLCM5A-LR (clim A verifier)  </h1>" >>  $COMP_D/PCMDI.html
35   cat $PCMDI_D/rms_xyt-AR4-metrics.html >> $COMP_D/PCMDI.html
36
37#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
38#bias_xy-CMIP5_AMIP-metrics.html  cor_xyt-AR4-metrics.html               cor_xyt-CMIP5_historical-metrics.html  rms_xyt-CMIP5_AMIP-metrics.html
39
Note: See TracBrowser for help on using the repository browser.