source: BOL/Multi_atlas/METRICS/trace_mask.sh @ 4329

Last change on this file since 4329 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: 2.0 KB
Line 
1masks="Sibe USA NAtl Arct ter interH oce circA otrop weak subs conv glob etoa"
2masks="Sibe USA"
3masks="circAa etow etows"
4masks="etows"
5masks="circA"
6
7for mask in $masks ; do
8
9
10case $mask in
11
12oce|ter|otrop|weak|subs|conv|circA|NAtl|Arct|Sibe|USA)
13ferret -batch tmp.ps <<eod
14use tas.nc
15use mask$mask.nc
16shade/nolabel/lev=(-Inf)(0) tas[d=1]
17shade/o/lev=(-Inf)(0.5)(Inf)/nolabel/pal=blue_darkred mask$mask ; go land thick
18quit
19eod
20;;
21
22glob)
23ferret -batch tmp.ps <<eod
24use tas.nc
25shade/lev=(0.)(200.)(Inf)/nolabel/pal=blue_red_centered tas ; go land thick
26quit
27eod
28;;
29
30etoa)
31ferret -batch tmp.ps <<eod
32use tas.nc
33use maskotrop.nc
34use masketo.nc
35shade/nolabel/lev=(-Inf)(0) tas[d=1]
36shade/o/lev=(-Inf)(0.5)(Inf)/nolabel/pal=red_blue_centered maskotrop[d=2]
37shade/o/lev=(-Inf)(0.5)(Inf)/nolabel/pal=blue_darkred eto[d=3] ; go land thick
38quit
39eod
40;;
41
42etow)
43ferret -batch tmp.ps <<eod
44use tas.nc
45use maskweak.nc
46use masketo.nc
47shade/nolabel/lev=(-Inf)(0) tas[d=1]
48shade/o/lev=(-Inf)(0.5)(Inf)/nolabel/pal=red_blue_centered maskweak[d=2]
49shade/o/lev=(-Inf)(0.5)(Inf)/nolabel/pal=blue_darkred eto[d=3] ; go land thick
50quit
51eod
52;;
53
54etows)
55ferret -batch tmp.ps <<eod
56use tas.nc
57use maskweak.nc
58use masksubs.nc
59shade/nolabel/lev=(-Inf)(0) tas[d=1]
60shade/o/lev=(-Inf)(0.5)(Inf)/nolabel/pal=red_blue_centered maskweak[d=2]
61shade/o/lev=(-Inf)(0.5)(Inf)/nolabel/pal=blue_darkred masksubs[d=3] ; go land thick
62quit
63eod
64;;
65
66circAa)
67ferret -batch tmp.ps <<eod
68use tas.nc
69use maskotrop.nc
70use maskcircA.nc
71shade/nolabel/lev=(-Inf)(0) tas[d=1]
72shade/o/lev=(-Inf)(0.5)(Inf)/nolabel/pal=red_blue_centered maskotrop[d=2]
73shade/o/lev=(-Inf)(0.5)(Inf)/nolabel/pal=blue_darkred maskcircA[d=3] ; go land thick
74quit
75eod
76;;
77
78interH)
79ferret -batch tmp.ps <<eod
80use maskNH.nc
81use maskSH.nc
82shade/lev=(-Inf)(0.5)(Inf)/nolabel/pal=red_blue_centered maskSH[d=2]
83shade/o/lev=(-Inf)(0.5)(Inf)/nolabel/pal=blue_darkred maskNH[d=1] ; go land thick
84quit
85eod
86
87esac
88
89ps2epsi tmp.ps ; epstopdf tmp.epsi
90\mv -f tmp.pdf mask$mask.pdf ; convert -density 144 -rotate 90  mask$mask.pdf mask$mask.png
91done
92
Note: See TracBrowser for help on using the repository browser.