source: lmdz_wrf/trunk/tools/model_graphics_template.dat @ 971

Last change on this file since 971 was 971, checked in by lfita, 9 years ago

Seemly to be a working version with generation of differences files

File size: 7.8 KB
Line 
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
18HOMEpy = ${HOME}/etudes/WRF_LMDZ/svn/LMDZ_WRF/tools
19
20# Srcatch: should be any previous work removed and start from the scratch?
21scratch = false
22
23# Scratch files: should be any files previous work removed and start from the scratch?
24filescratch = false
25
26# Scratch figures: should be any figures previous work removed and start from the scratch?
27figscratch = false
28
29# Have new files been added and do they need to be processed?
30addfiles = false
31
32# Have new figures been added and do they need to be drawn?
33addfigures = false
34
35# Debug
36debug=false
37
38# Folder with the files
39##ifold = /bdd/PCER/workspace/lfita/etudes/WRF_LMDZ/WaquaL/WRF_LMDZ
40ifold = /home/lluis/etudes/WRF_LMDZ/WaquaL_highres/tests/model_graphics
41
42# Output folder
43##ofold = /bdd/PCER/workspace/lfita/etudes/WRF_LMDZ/WaquaL/WRF_LMDZ
44ofold = /home/lluis/etudes/WRF_LMDZ/WaquaL_highres/tests/model_graphics
45
46# Experiments (model runs)
47#   WRF: WRF
48#   LMDZ: LMDZ model
49#   WRF_LMDZ: LMDZ physics coupled to WRF
50#models=WRF:WRF_LMDZ:LMDZ
51models=WRF
52
53# Experiments (labels of each experiment)
54WRFexps = control:pbl1
55LMDZexps = AR40:NPv31
56WRF_LMDZexps = AR40:NPv31
57
58# Headers of the files to use
59WRFheaders = wrfout
60WRF_LMDZheaders = wrfout
61LMDZheaders = histins
62
63# Kind of calculations (adding the equivalent `surname' to each variable)
64#   acc: temporal accumulated values
65#   diff: differences between models
66#   direct: no statistics
67#   last: last temporal value
68#   Lmean: latitudinal mean values
69#   Lsec: latitudinal section (latitudinal value must be given, [var]@[lat])
70#   lmean: longitudinal mean values
71#   lsec: longitudinal section (longitudinal value must be given, [var]@[lat])
72#   pinterp: pressure interpolation (to the given $plevels, see below)
73#   tmean: temporal mean values
74#   turb: Taylor's turbulence decomposition value
75#   xmean: x-axis mean values
76#   ymean: y-axis mean values
77#   zsum: vertical aggregated values
78varkinds = last:tmean:xmean:pinterp:diff:combo
79
80# variables (providing CF-name, script must provide equivalent variable for each model)
81#   in foudre values from: ${HOME}/UNSW-CCRC-WRF/tools/postprocess/GMS-UC/WRF4G/util/postprocess/wrfncxnj/wrfncxnj.table
82#   must exist on the table $pyHOME/variables_values.dat
83#   varcombo = [varn];[vark1]@...@[varkN]: variable as consecutive kinds of operation
84#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
85#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
86#varxmean = ta:ua:va:hur:hurs:tas:wss:ps
87#vardiff = tas|last:tas|xmean:tas|tmean
88#varpinterp = ta:ua:va:hur:ws:hus
89#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
90
91varlast = tas:uas:vas:hfss:hfls:wss
92vartmean = tas:uas:vas:hfss:hfls:wss
93varxmean = tas:uas:vas:hfss:hfls:wss
94varpinterp = ta:ua:va:hur:ws:hus
95vardiff = tas|last:tas|xmean:tas|tmean
96varcombo = ta;pinterp@last@xmean:ua;pinterp@last@xmean:va;pinterp@last@xmean:hur;pinterp@last@xmean:ws;pinterp@turb@xmean:hus;pinterp@turb@xmean
97
98# Operations which attach 'mean' at the end of the variable name
99varmeanname='Lmean:lmean:tmean:xmean:ymean'
100
101# Pressure levels
102#   Common vertical pressure levels to compute vertical differences
103#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.
104#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.
105plevels = 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.
106
107
108# Kind of plots
109#   diffmap2Dsfc: 2D map of surface differences values of 1 variable
110#   diffmap2Dz: 2D map of 3D differences values of 1 variable
111#   map2Dsfc: 2D map of surface values of 1 variable
112#   shadconthovmsfc: Hovmoeller diagrams of 2 variables at the surface one in shadow and the other in contourn
113#   shadcont2Dsfc: 2D map of shadow (1st variable) and countour (2nd variable) [stvar1]#[stvar2]
114#   shadcont2Dzsec: 2D map of vertical section of 2 variables one in shadow and the other in contourn
115#
116#   ':' separated list of statitsics variable values are given as: [var]|[kind(including combo values)]
117#     in figures with more than 1 variable, use '#' to separate them
118#drawplots = shadcont2Dsfc:shadconthovmsfc:sahdcont2Dzsec
119drawplots = shadcont2Dzsec
120
121# Figures which can be made directly without another model/experiment output
122directplots = shadconthovmsfc:shadcont2Dsfc:shadcont2Dzsec
123
124pltshadcont2Dsfc = 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
125pltshadconthovmsfc = hurs|xmean#tas|xmean:wss|xmean#ps|xmean
126pltshadcont2Dzsec=ua|pinterp@last@xmean#va|pinterp@last@xmean:hur|pinterp@last@xmean#ta|pinterp@last@xmean:ws|pinterp@turb@xmean#hus|pinterp@turb@xmean
127
128pltdiffmap2Dz = uapxmean:vapxmean:tapxmean:huspxmean
129
130# Specific variable-statistisc graphic parameters (if no value is given, they will be retrieved from 'variables_values.dat')
131#  ':' separated list of specific parameters for plotting as:
132#      [varname]|[statistics]|[minval]|[maxval]|[colorbar]|[cntformat]|[colorcnt]
133#        [varname]: name of the variable
134#        [statistics]: statistics (also combo)
135#        [figure]: figure to be used
136#        [minval]: minimum value
137#        [maxval]: minimum value
138#        [colorbar]: name of the colorbar (from matplotlib) to use
139#        [cntformat]: format of the contour labels
140#        [colorcnt]: color for the countor lines
141specificvarplot = 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
142
143# Figures output kind
144kindfig = pdf
145
146# Map to use
147mapval = lcc,l
148
149# Time parameters
150#  [timekind]; kind of output for the time ticks
151#     'Nval': according to a given number of values as 'Nval',[Nval]
152#     'exct': according to an exact number [Nunits] of time unit as 'exct',[tunit];
153#       tunit= [Nunits],[tu]
154#         [tu]= 'c': centuries, 'y': year, 'm': month, 'w': week, 'd': day, 'h': hour, 'i': minute, 's': second, 'l': milisecond
155#  [timefmt]; desired format for the time ticks (combination of LaTeX and 'linux date formats')
156#  [timelabel]; label at the graph ('!' for spaces)
157
158timekind = exct,6,h
159timefmt = $%d^{%H}$
160timelabel = date!($[DD]^{[HH]}$)
161
162# Generic
163errmsg = ERROR--error--ERROR--error
164warnmsg = WARNING--warning--WARNING--warning
165
Note: See TracBrowser for help on using the repository browser.