1 | ### ASCII file to manage `model_graphics.bash' from different models and experiments |
---|
2 | # from each one |
---|
3 | # |
---|
4 | # 1: Variables choice using its CF name |
---|
5 | # 2: Kind of statisitcs to apply to the variable |
---|
6 | # 3: Kind of plot for the variable |
---|
7 | # 4: Kind of difference among models/experiments |
---|
8 | # |
---|
9 | # Different assumptions are made: |
---|
10 | # - model outputs are organized as ${ifold}/${model}/${exp} |
---|
11 | # - script outputs will be organized as ${ofold}/${model}/${exp} |
---|
12 | # - when diagnostic might be required a new file will be created |
---|
13 | # - WRF outputs will have added 'WRFtime' variable |
---|
14 | # |
---|
15 | # NOTE: in this file all the values are ':' separated lists without ' |
---|
16 | |
---|
17 | # python HOME |
---|
18 | pyHOME = /home/lluis/etudes/WRF_LMDZ/svn/LMDZ_WRF/tools |
---|
19 | # cdo HOME |
---|
20 | cdoHOME = /home/lluis/bin/gcc_cdo/1.6.4rc6/bin/cdo |
---|
21 | |
---|
22 | # Srcatch: should be any previous work removed and start from the scratch? |
---|
23 | scratch = false |
---|
24 | |
---|
25 | # Scratch files: should be any files previous work removed and start from the scratch? |
---|
26 | filescratch = false |
---|
27 | |
---|
28 | # Scratch figures: should be any figures previous work removed and start from the scratch? |
---|
29 | figscratch = true |
---|
30 | |
---|
31 | # Have new files been added and do they need to be processed? |
---|
32 | addfiles = false |
---|
33 | |
---|
34 | # Have new figures been added and do they need to be drawn? |
---|
35 | addfigures = false |
---|
36 | |
---|
37 | # Debug |
---|
38 | debug = false |
---|
39 | |
---|
40 | # Folder with the files |
---|
41 | ##ifold = /bdd/PCER/workspace/lfita/etudes/WRF_LMDZ/WaquaL/WRF_LMDZ |
---|
42 | ifold = /home/lluis/etudes/WRF_LMDZ/WaquaL_highres/tests/model_graphics |
---|
43 | |
---|
44 | # Output folder |
---|
45 | ##ofold = /bdd/PCER/workspace/lfita/etudes/WRF_LMDZ/WaquaL/WRF_LMDZ |
---|
46 | ofold = /home/lluis/etudes/WRF_LMDZ/WaquaL_highres/tests/model_graphics |
---|
47 | |
---|
48 | # Experiments (model runs) |
---|
49 | # WRF: WRF |
---|
50 | # LMDZ: LMDZ model |
---|
51 | # WRF_LMDZ: LMDZ physics coupled to WRF |
---|
52 | #models=WRF:WRF_LMDZ:LMDZ |
---|
53 | models=WRF |
---|
54 | |
---|
55 | # Experiments (labels of each experiment) |
---|
56 | WRFexps = control:pbl1 |
---|
57 | LMDZexps = AR40:NPv31 |
---|
58 | WRF_LMDZexps = AR40:NPv31 |
---|
59 | |
---|
60 | # Headers of the files to use |
---|
61 | WRFheaders = wrfout |
---|
62 | WRF_LMDZheaders = wrfout |
---|
63 | LMDZheaders = histins |
---|
64 | |
---|
65 | # CF times characteristics |
---|
66 | # Reference time and units of the CF time for the output files |
---|
67 | CFreftime = 19491201000000 |
---|
68 | CFunitstime = minutes |
---|
69 | |
---|
70 | # Kind of calculations (adding the equivalent `surname' to each variable) |
---|
71 | # acc: temporal accumulated values |
---|
72 | # diff: differences between models |
---|
73 | # direct: no statistics |
---|
74 | # last: last temporal value |
---|
75 | # Lmean: latitudinal mean values |
---|
76 | # Lsec: latitudinal section (latitudinal value must be given, [var]@[lat]) |
---|
77 | # lmean: longitudinal mean values |
---|
78 | # lsec: longitudinal section (longitudinal value must be given, [var]@[lat]) |
---|
79 | # pinterp: pressure interpolation (to the given $plevels, see below) |
---|
80 | # tmean: temporal mean values |
---|
81 | # turb: Taylor's turbulence decomposition value |
---|
82 | # xmean: x-axis mean values |
---|
83 | # ymean: y-axis mean values |
---|
84 | # zsum: vertical aggregated values |
---|
85 | # variables (providing CF-name, script must provide equivalent variable for each model) |
---|
86 | # in foudre values from: ${HOME}/UNSW-CCRC-WRF/tools/postprocess/GMS-UC/WRF4G/util/postprocess/wrfncxnj/wrfncxnj.table |
---|
87 | # must exist on the table $pyHOME/variables_values.dat |
---|
88 | # |
---|
89 | # Variables to compute (as possible multiple consecutive combination of operations must start by 'VAR_' separated by '+' |
---|
90 | # VAR_[calc1]+[calc2] = tas:wss |
---|
91 | # will compute first [calc1] and then [calc2] for 'tas' and 'wss' |
---|
92 | VAR_last = tas:uas:vas:hfss:hfls:wss |
---|
93 | VAR_tmean = tas:uas:vas:hfss:hfls:wss |
---|
94 | VAR_xmean = tas:uas:vas:hfss:hfls:wss |
---|
95 | #VAR_last+pinterp+xmean = ta:ua:va:hur:hus:turb |
---|
96 | VAR_pinterp+tmean+xmean = ta:ua:va:hur:hus |
---|
97 | |
---|
98 | #varlast = tas:uas:vas:ps:pr:pracc:rsds:prw:evspsbl:hfss:hfls:hurs:huss:zmla:hufs:wakes:lwakeh:stherm:zmaxth:clt:cll:clm:clh:prc:prls:bils:wss |
---|
99 | #vartmean = tas:uas:vas:ps:pr:pracc:rsds:prw:evspsbl:hfss:hfls:hurs:huss:zmla:hufs:wakes:lwakeh:stherm:zmaxth:clt:cll:clm:clh:prc:prls:bils:wss |
---|
100 | #varxmean = ta:ua:va:hur:hurs:tas:wss:ps |
---|
101 | #varpinterp = ta:ua:va:hur:ws:hus |
---|
102 | #varcombo = ta;pinterp@last@xmean:ua;pinterp@last@xmean:va;pinterp@last@xmean:hur;pinterp@last@xmean:ws;pinterp@turb@xmean:hus;pinterp@turb@xmean |
---|
103 | |
---|
104 | vardiff = tas|last:tas|xmean:tas|tmean:wss|last:wss|xmean:wss|tmean:ua|pinterp@last@xmean:va|pinterp@last@xmean |
---|
105 | |
---|
106 | # Operations which attach a 'surname' at the end of the variable name |
---|
107 | # Values are given as opsur_[surname] = [operation1]:[operation2][:...[operationN]] |
---|
108 | # opsur_mean = tmean:xmean |
---|
109 | # once 'tmean', or 'xmean' are computed, variable [varn] will become [varn]mean |
---|
110 | opsur_mean = Lmean:lmean:tmean:xmean:ymean |
---|
111 | |
---|
112 | # Text as title for each operation |
---|
113 | # as ':' separated list of [op]|[explanation '!' as spaces] |
---|
114 | titleoperations = acc|tacc:diff|diff:direct|!:last|last:Lmean|latmean:Lsec|latsec:lmean|lonmean:lsec|lonsec:pinterp|pinterp:tmean|tmean:turb|turbulence:xmean|xmean:ymean|ymean:zsum|zsum |
---|
115 | |
---|
116 | # Pressure levels |
---|
117 | # Common vertical pressure levels (in Pa) to vertically interpolate |
---|
118 | #39Lowp#plevels = 100500.:100000.:98500.:97500.:95000.:92500.:90000.:87500.:85000.:80000.:75000.:70000.:65000.:60000.:55000.:50000.:45000.:40000.:35000.:30000.:25000.:20000.:15000.:10000.:900.:800.:700.:600.:500.:400.:300.:200.::1000.:85.:50.:40.:30.:20.:10. |
---|
119 | #26#plevels = 100000.:97500.:95000.:92500.:90000.:85000.:80000.:75000.:70000.:65000.:60000.:55000.:50000.:45000.:40000.:35000.:30000.:25000.:20000.:15000.:10000.:5000.:2500.:1000.:500.:250. |
---|
120 | plevels = 100000.:97500.:95000.:92500.:90000.:85000.:80000.:75000.:70000.:65000.:60000.:55000.:50000.:45000.:40000.:35000.:30000.:25000.:20000.:15000.:10000.:5000.:2500.:1000.:500.:250. |
---|
121 | |
---|
122 | # Common projection |
---|
123 | # File with the information of the projection to be used for inter-model differences |
---|
124 | # File obtained from 'cdo griddes' |
---|
125 | commonproj = WaqualCommon.griddes |
---|
126 | |
---|
127 | # Kind of plots |
---|
128 | # diffmap2Dsfc: 2D map of surface differences values of 1 variable |
---|
129 | # diffmap2Dz: 2D map of 3D differences values of 1 variable |
---|
130 | # map2Dsfc: 2D map of surface values of 1 variable |
---|
131 | # shadconthovmsfc: Hovmoeller diagrams of 2 variables at the surface one in shadow and the other in contourn |
---|
132 | # shadcont2Dsfc: 2D map of shadow (1st variable) and countour (2nd variable) [stvar1]#[stvar2] |
---|
133 | # shadcont2Dzsec: 2D map of vertical section of 2 variables one in shadow and the other in contourn |
---|
134 | # |
---|
135 | # ':' separated list of statitsics variable values are given as: [var]|['+' separated list of operations] |
---|
136 | # in figures with more than 1 variable, use '#' to separate them |
---|
137 | # DIRPLT_: Figures which can be made directly without another model/experiment output |
---|
138 | |
---|
139 | DIRPLT_shadcont2Dsfc = uas|last#vas|last:hfls|last#hfss|last:wss|last#tas|last |
---|
140 | DIRPLT_shadconthovmsfc = wss|xmean#tas|xmean |
---|
141 | DIRPLT_shadcont2Dzsec = ua|pinterp+tmean+xmean#va|pinterp+tmean+xmean:hus|pinterp+tmean+xmean#ta|pinterp+tmean+xmean |
---|
142 | |
---|
143 | #pltshadcont2Dsfc = huss|tmean#tas|tmean:vas|tmean#uas|tmean:ps|tmean#wss|tmean:pr|tmean#rsds|tmean:prw|tmean#clt|tmean:hfls|tmean#hfss|tmean:evspsbl|tmean#bils|tmean:zmaxth|tmean#stherm|tmean:wakeh|tmean#wakes|tmean:zmaxth|tmean#stherm|tmean:prls|tmean#prc|tmean:clt|tmean#cll|tmean:clm|tmean#clh|tmean:hurs|tmean#zmla|tmean:huss|last#tas|last:vas|last#uas|last:ps|last#wss|tmean:pr|last#rsds|last:prw|last#clt|last:hfls|last#hfss|last:evspsbl|last#bils|last:zmaxth|last#stherm|last:wakeh|last#wakes|last:zmaxth|last#stherm|last:prls|last#prc|last:clt|last#cll|last:clm|last#clh|last:hurs|last#zmla|last |
---|
144 | #pltshadconthovmsfc = hurs|xmean#tas|xmean:wss|xmean#ps|xmean |
---|
145 | #pltshadcont2Dzsec = ua|pinterp@last@xmean#va|pinterp@last@xmean:hur|pinterp@last@xmean#ta|pinterp@last@xmean:ws|pinterp@turb@xmean#hus|pinterp@turb@xmean |
---|
146 | |
---|
147 | pltdiffshadcont2Dsfc = tas|tmean#wss|tmean:wss|last#tas|last |
---|
148 | pltdiffshadconthovmsfc = wss|xmean#tas|xmean |
---|
149 | pltdiffshadcont2Dzsec = ua|pinterp@last@xmean#va|pinterp@last@xmean |
---|
150 | |
---|
151 | # Specific variable-statistisc graphic parameters (if no value is given, they will be retrieved from 'variables_values.dat') |
---|
152 | # ':' separated list of specific parameters for plotting as: |
---|
153 | # [varname]|[operation]|[minval]|[maxval]|[colorbar]|[cntformat]|[colorcnt] |
---|
154 | # [varname]: name of the variable |
---|
155 | # [operation]: '+' separated list of operations |
---|
156 | # [figure]: figure to be used |
---|
157 | # [minval]: minimum value |
---|
158 | # [maxval]: minimum value |
---|
159 | # [colorbar]: name of the colorbar (from matplotlib) to use |
---|
160 | # [cntformat]: format of the contour labels |
---|
161 | # [colorcnt]: color for the countor lines |
---|
162 | specificvarplot = cll|last|shadcont2Dsfc|0.|1.|gist_gray|%g|black:clh|last|shadcont2Dsfc|0.|1.|gist_gray|%g|black:husturbmean|pinterp@turb@xmean|shadcont2Dzsec|0.|1.e-6|Blues|%g|black |
---|
163 | diffspecificvarplot = tas|tmean|shadcont2Dsfc|-20.|20.|seismic|%g|black:wss|tmean|shadcont2Dsfc|-30.|30.|seismic|%g|black:tas|last|shadcont2Dsfc|-20.|20.|seismic|%g|black:wss|last|shadcont2Dsfc|-30.|30.|seismic|%g|black |
---|
164 | |
---|
165 | # Figures output kind |
---|
166 | kindfig = pdf |
---|
167 | |
---|
168 | # Map to use |
---|
169 | mapval = lcc,l |
---|
170 | |
---|
171 | # Time parameters |
---|
172 | # [timekind]; kind of output for the time ticks |
---|
173 | # 'Nval': according to a given number of values as 'Nval',[Nval] |
---|
174 | # 'exct': according to an exact number [Nunits] of time unit as 'exct',[tunit]; |
---|
175 | # tunit= [Nunits],[tu] |
---|
176 | # [tu]= 'c': centuries, 'y': year, 'm': month, 'w': week, 'd': day, 'h': hour, 'i': minute, 's': second, 'l': milisecond |
---|
177 | # [timefmt]; desired format for the time ticks (combination of LaTeX and 'linux date formats') |
---|
178 | # [timelabel]; label at the graph ('!' for spaces) |
---|
179 | timekind = exct,6,h |
---|
180 | timefmt = $%d^{%H}$ |
---|
181 | timelabel = date!($[DD]^{[HH]}$) |
---|
182 | |
---|
183 | # Generic |
---|
184 | errmsg = ERROR--error--ERROR--error |
---|
185 | warnmsg = WARNING--warning--WARNING--warning |
---|
186 | |
---|