| 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 = true |
|---|
| 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 = false |
|---|
| 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 = true |
|---|
| 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 | # Kind of calculations (adding the equivalent `surname' to each variable) |
|---|
| 66 | # acc: temporal accumulated values |
|---|
| 67 | # diff: differences between models |
|---|
| 68 | # direct: no statistics |
|---|
| 69 | # last: last temporal value |
|---|
| 70 | # Lmean: latitudinal mean values |
|---|
| 71 | # Lsec: latitudinal section (latitudinal value must be given, [var]@[lat]) |
|---|
| 72 | # lmean: longitudinal mean values |
|---|
| 73 | # lsec: longitudinal section (longitudinal value must be given, [var]@[lat]) |
|---|
| 74 | # pinterp: pressure interpolation (to the given $plevels, see below) |
|---|
| 75 | # tmean: temporal mean values |
|---|
| 76 | # turb: Taylor's turbulence decomposition value |
|---|
| 77 | # xmean: x-axis mean values |
|---|
| 78 | # ymean: y-axis mean values |
|---|
| 79 | # zsum: vertical aggregated values |
|---|
| 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 | # Variables to compute (as possible multiple consecutive combination of operations must start by 'VAR_' separated by '+' |
|---|
| 85 | # VAR_[calc1]+[calc2] = tas:wss |
|---|
| 86 | # will compute first [calc1] and ten [calc2] for 'tas' and 'wss' |
|---|
| 87 | VAR_last = tas:uas:vas:hfss:hfls:wss |
|---|
| 88 | VAR_mean = tas:uas:vas:hfss:hfls:wss |
|---|
| 89 | VAR_xmean = tas:uas:vas:hfss:hfls:wss |
|---|
| 90 | VAR_last+pinterp+xmean = ta:ua:va:hur:hus:turb |
|---|
| 91 | VAR_pinterp+tmean+xmean = ta:ua:va:hur:hus:turb |
|---|
| 92 | |
|---|
| 93 | #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 |
|---|
| 94 | #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 |
|---|
| 95 | #varxmean = ta:ua:va:hur:hurs:tas:wss:ps |
|---|
| 96 | #varpinterp = ta:ua:va:hur:ws:hus |
|---|
| 97 | #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 |
|---|
| 98 | |
|---|
| 99 | |
|---|
| 100 | vardiff = tas|last:tas|xmean:tas|tmean:wss|last:wss|xmean:wss|tmean:ua|pinterp@last@xmean:va|pinterp@last@xmean |
|---|
| 101 | |
|---|
| 102 | # Operations which attach 'mean' at the end of the variable name |
|---|
| 103 | varmeanname=Lmean:lmean:tmean:xmean:ymean |
|---|
| 104 | |
|---|
| 105 | # Pressure levels |
|---|
| 106 | # Common vertical pressure levels to compute vertical differences |
|---|
| 107 | #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. |
|---|
| 108 | #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. |
|---|
| 109 | 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. |
|---|
| 110 | |
|---|
| 111 | # Common projection |
|---|
| 112 | # File with the information of the projection to be used for inter-model differences |
|---|
| 113 | # File obtained from 'cdo griddes' |
|---|
| 114 | commonproj = WaqualCommon.griddes |
|---|
| 115 | |
|---|
| 116 | # Kind of plots |
|---|
| 117 | # diffmap2Dsfc: 2D map of surface differences values of 1 variable |
|---|
| 118 | # diffmap2Dz: 2D map of 3D differences values of 1 variable |
|---|
| 119 | # map2Dsfc: 2D map of surface values of 1 variable |
|---|
| 120 | # shadconthovmsfc: Hovmoeller diagrams of 2 variables at the surface one in shadow and the other in contourn |
|---|
| 121 | # shadcont2Dsfc: 2D map of shadow (1st variable) and countour (2nd variable) [stvar1]#[stvar2] |
|---|
| 122 | # shadcont2Dzsec: 2D map of vertical section of 2 variables one in shadow and the other in contourn |
|---|
| 123 | # |
|---|
| 124 | # ':' separated list of statitsics variable values are given as: [var]|[kind(including combo values)] |
|---|
| 125 | # in figures with more than 1 variable, use '#' to separate them |
|---|
| 126 | #drawplots = shadcont2Dsfc:shadconthovmsfc:sahdcont2Dzsec |
|---|
| 127 | drawplots = shadcont2Dzsec |
|---|
| 128 | drawdiffplots = shadcont2Dsfc:shadconthovmsfc:sahdcont2Dzsec |
|---|
| 129 | |
|---|
| 130 | # Figures which can be made directly without another model/experiment output |
|---|
| 131 | directplots = shadconthovmsfc:shadcont2Dsfc:shadcont2Dzsec |
|---|
| 132 | |
|---|
| 133 | 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 |
|---|
| 134 | pltshadconthovmsfc = hurs|xmean#tas|xmean:wss|xmean#ps|xmean |
|---|
| 135 | 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 |
|---|
| 136 | |
|---|
| 137 | pltdiffshadcont2Dsfc = tas|tmean#wss|tmean:wss|last#tas|last |
|---|
| 138 | pltdiffshadconthovmsfc = wss|xmean#tas|xmean |
|---|
| 139 | pltdiffshadcont2Dzsec = ua|pinterp@last@xmean#va|pinterp@last@xmean |
|---|
| 140 | |
|---|
| 141 | # Specific variable-statistisc graphic parameters (if no value is given, they will be retrieved from 'variables_values.dat') |
|---|
| 142 | # ':' separated list of specific parameters for plotting as: |
|---|
| 143 | # [varname]|[statistics]|[minval]|[maxval]|[colorbar]|[cntformat]|[colorcnt] |
|---|
| 144 | # [varname]: name of the variable |
|---|
| 145 | # [statistics]: statistics (also combo) |
|---|
| 146 | # [figure]: figure to be used |
|---|
| 147 | # [minval]: minimum value |
|---|
| 148 | # [maxval]: minimum value |
|---|
| 149 | # [colorbar]: name of the colorbar (from matplotlib) to use |
|---|
| 150 | # [cntformat]: format of the contour labels |
|---|
| 151 | # [colorcnt]: color for the countor lines |
|---|
| 152 | 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 |
|---|
| 153 | 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 |
|---|
| 154 | |
|---|
| 155 | # Figures output kind |
|---|
| 156 | kindfig = pdf |
|---|
| 157 | |
|---|
| 158 | # Map to use |
|---|
| 159 | mapval = lcc,l |
|---|
| 160 | |
|---|
| 161 | # Time parameters |
|---|
| 162 | # [timekind]; kind of output for the time ticks |
|---|
| 163 | # 'Nval': according to a given number of values as 'Nval',[Nval] |
|---|
| 164 | # 'exct': according to an exact number [Nunits] of time unit as 'exct',[tunit]; |
|---|
| 165 | # tunit= [Nunits],[tu] |
|---|
| 166 | # [tu]= 'c': centuries, 'y': year, 'm': month, 'w': week, 'd': day, 'h': hour, 'i': minute, 's': second, 'l': milisecond |
|---|
| 167 | # [timefmt]; desired format for the time ticks (combination of LaTeX and 'linux date formats') |
|---|
| 168 | # [timelabel]; label at the graph ('!' for spaces) |
|---|
| 169 | |
|---|
| 170 | timekind = exct,6,h |
|---|
| 171 | timefmt = $%d^{%H}$ |
|---|
| 172 | timelabel = date!($[DD]^{[HH]}$) |
|---|
| 173 | |
|---|
| 174 | # Generic |
|---|
| 175 | errmsg = ERROR--error--ERROR--error |
|---|
| 176 | warnmsg = WARNING--warning--WARNING--warning |
|---|
| 177 | |
|---|