source: BOL/Multi_atlas/atlas/cre.sh @ 5133

Last change on this file since 5133 was 3684, checked in by idelkadi, 5 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.5 KB
Line 
1#!/bin/bash
2
3
4sim=NPv3.1ada_1982_1991
5sim=NPv5.17h_1982_1989
6sim=CLOS2_2001_2002
7sim=CTRL_2001_2002
8sim=BREEZE_2001_2002
9sim=SPLITTH1_2001_2002
10sim=MIX1_2001_2002
11
12sims="NPv5.3_1982_1989     NPv5.3Mix_1982_1989  NPv5.3Th_1982_1989 NPv5.3Ice_1982_1989  NPv5.3Sto_1982_1989  NPv5.3Tune_1982_1989 AR4.0ada_1982_1991 NPv3.1ada_1982_1991"
13sims="NPv5.3_1982_1989"
14
15for sim in $sims ; do
16
17
18
19module load python/2.7.5 nco ncview ncl
20module load ncl/6.3.0
21ulimit -s unlimited
22export PYTHONPATH=$PYTHONPATH:~ssenesi/climaf
23export PATH=$PATH:~ssenesi/climaf/bin
24
25vars1="pr,hurs,rstt,rlut,rtt,crelt,crest,crett,hfns,hfss,hfls,tas,tasc,tauu,tauv,pslhPa,zg500"
26vars2="rsah,rsahcs,rsahcre,rlah,rlahcs,rlahcre,rah,rahcs,rahcre,cress,rsts,rsut,rlutcs,albs,albt,cress,crels,crets,rts,crelt"
27vars3="cltcalipso,clhcalipso,clmcalipso,cllcalipso"
28
29for pas in 1 2 3  ; do
30
31\rm -f index_example.html
32
33case $pas in
34   3) vars_SE=pr,tas,hfls,hurs,rldscs,rlds,rlus,rsdscs,psl,rsds,rsuscs,rsus,rsutcs,rsut,rlut,rlutcs,tas,tauu,tauv,psl,zg500,crest,crelt,crett,cress,crels,crets ;;
35   2) vars_SE=pr,tas,hfls,hurs,rldscs,rlds,rlus,rsdscs,psl,rsds,rsuscs,rsus,rsutcs,rsut,rlut,rlutcs ;;
36   1) vars_SE=pr,tas,hfls,hurs,rldscs,rlds,rlus,rsdscs,psl,rsds ;;
37esac
38
39vars="$vars_SE"
40echo python ./atlas.py -f -v $vars -s $sim
41python ./atlas.py -f -v $vars -s $sim
42
43done
44
45echo pdfjam \\ >| jam.sh
46grep pdf index_example.html | sed -e "1,2d" -e 's/^.*.HREF..//' -e 's/pdf.*.$/pdf \\/' >> jam.sh
47echo --landscape --outfile $sim.pdf >> jam.sh ; chmod +x jam.sh ; ./jam.sh
48
49done
Note: See TracBrowser for help on using the repository browser.