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