source: trunk/usr/plt_def.pro @ 219

Last change on this file since 219 was 219, checked in by ericg, 14 years ago

Added ensembles dimension treatment in post-it

  • Property svn:keywords set to Id
File size: 10.2 KB
Line 
1PRO plt_def
2;
3; Defaults plot attributes
4;
5@com_eg
6@common
7
8; boxes used in horizontal/vertical display
9; -----------------------------------------
10;
11; horizontal domain
12
13;   box_h = [20,380,-30,30]
14   box_h = [120,290,-20,20]
15;   box_h = [10,180,-20,20]
16   box_h = [120,290,-30,30]
17;   box_h = [-180,180,-90,90]
18;  box_h = [20,380,-90,90]
19;   box_h = [20,150,-30,60]
20;   box_h = [120,290,-20,20]
21   box_h = [120,290,-30,30]
22;   box_h = [100,300,-40,40]
23;   box_h = [120,290,0,60]
24;   box_h = [40,120,-30,30]
25;   box_h = [-180,180,-90,90]
26   box_h = [20,380,-90,90]
27;   box_h = [20,380,-60,60]
28;   box_h = [-20,340,-90,90]
29;   box_h = [160,210,-5,5] ; nino 4
30;   box_h = [210,270,-5,5] ; nino 3
31;   box_h = [100,300,-30,30]
32
33; working grid longitudes
34
35   glamboundary_box = [20, 380]
36;   glamboundary_box = [-20, 340]
37
38; time domain
39;
40   time_domain = ['199701', '199812']; 'auto' or ['date1','date2']
41;   time_domain = 'auto'; 'auto' or ['date1','date2']
42
43; vertical domain
44
45   depth_z = 1000
46   zoom_z = 300
47
48   pres_min = 10
49   pres_max = 500
50   
51   msf_mean =  0
52
53; vertical average for 3D fields
54
55   vert_type = '0'          ;  'z' for depth/altitude or 'level' or '0' for nothing
56   vert_mean = [0, 0]   ; [depth1,depth2] or [level1,level2] in C notation i.e 0 to jpk-1
57;   vert_mean = [90000, 100000]
58
59; density domain (sigma) + delta sigma
60
61   sig_min = 20.
62   sig_max = 28.
63   sig_del = 0.2
64
65   sig_bowl =  0   ; 0/1 bowl overlay on density binned plots
66
67; Statistics
68; -----------
69
70;  max date in spectrums (in days)
71;  spectrum window (in days)
72;  tukey window (in years)
73;  bootstrap window to compute error bar for 1d time serie (in units of time array)
74
75   max_spec = 7*360
76   spec_win = long(20)*long(360)
77   tukey = 20
78   boot_win = [24, 36, 48]
79
80; cross-correlation and normalisation:
81   c_normal = 0       ; normalise data serie
82   c_correl =  1      ; when overlay of 1d curves : 0/1
83   lag_correl = 12L    ; bound for lagged-correlation [-lag_correl,..,0,...,lag_correl]
84
85; standard deviation
86   stddev_diff = 0       ; 0/1 (if = 1 makes a difference between the
87                         ; std dev for a given month and the std dev of the whole time serie)
88                         ; Active with the make_stddev macro for a given month (ex : @@sosstdev_01 for
89                         ; sst std dev only for January)
90; ensembles
91   ensbl_mean = 1        ; option for pltt 't' ensembles
92                         ; 0 : just members
93                         ; 1 : members + ensemble mean
94                         ; 2 : min/max envelop of members + ensemble mean
95
96; axis
97; ----
98;  lat_axis : latitudinal axis : 'reg'ular or 'sin'us latitude
99   lat_axis = 'reg'
100
101; min /max
102; --------
103;  free minmax in 1D-plots (yes) or take fld_glo_mmx.def value (no) [yes]
104   free_1d_minmax = 'no'
105;   free_1d_minmax = 'yes'
106
107; Hovmoellers
108; -----------
109;  trend_typ : 0 no trend
110;              1 remove initial value to serie (trend)
111;              2 remove previous value to current (drift)
112;              3[<n>] remove serie to mean of <n> final values (inverse trend)
113;              4[<n>] remove [n]-average running mean of serie (anomaly)
114;                   for monthly serie use <n>=12 to remove mean
115;                   seasonal cycle
116;      this value can be field-overriden by specifying @t<trend_typ> after
117;      timave in post-it line
118;              6[<n>] time integral of field activation. <n> is the
119;              number of previous time steps to integrate from
120;              (default is from beginning of time serie)
121;
122;
123;  field_int : field time integral (0/1)
124;  nb_cycles : number of repeated cycles for seasonal time series
125;  def_stride : default stride in hovmoeller sampling (see domain_boxes.def)
126
127   trend_typ = '0'
128   field_int = 0
129   nb_cycles = 2
130   def_stride = 1
131   asciidir = homedir+'/ENSO_works/data/SST/'
132;
133;  calendar type
134;          0: 365 days/year
135;          1: gregorian
136;          N: N days per month
137;
138   calendar_type = 30
139;
140; Graphic options
141; ----------------
142; shadind : (fill) 1/0
143; pal_type: 'bw', 'col', '2dom' (2dom = read 2 domains in isolignes - ISOSP)
144; grey_shade: % of black for 2dom case
145; grey_shade_1/2: % of black for 2dom case : difference plots (-/+)
146; col_palette: 'yes' or 'no' (put colorbar or not)
147;
148   shading = 1
149   pal_type = 'col'
150   grey_shade = 20
151   grey_shade_1 = 5
152   grey_shade_2 = 20
153   col_palette = 'no'
154   cont_fill = 1         ; continent fill for atmosphere grids (1/0)
155   cont_real = 1         ; draw real continents (0)
156                         ; = 0 (no real continents drawn)
157                         ; = 1 (real continents drawn instead of the mask)
158                         ; = 2 (mask + real continents drawn)
159   vector_sample = 2     ; vector sampling (1)
160   nino_plot = 1         ; draw nino 1,2,3,4 boxes on xy plots
161   common_time = 0       ; set to 1 to have common time axis (using first one in t_ plots)
162;;
163   line_thick = [6,4,2,2,6,2,2,2,2,2]   ; 1D plot line thickness (for each overlay curves)
164   line_style = [1,1,1,1,1,1,1,1,1,1]   ; 1D plot line style (for each overlay curves)
165   line_color = [1,2,3,4,5,6,7,8,9,10]   ; 1D plot line color (for each overlay curves)
166
167   ensbl_thick_member = 1
168   ensbl_thick_mean = 7
169   ensbl_style_member = 1
170   ensbl_style_mean = 1
171
172; 1=black; 2=red; 3=green; 4=blue; 5=black; 6=purple
173; 43 ---- 90 ---- 160 ---- 190 ---- 210 ---- 254
174; blue    turq    green    yell     orange   red
175
176;;
177;; Scatter/bining plot variables
178;;
179   symbol_families = '4x3'         ; 4x3 number of colors in time symbol plots (modulo)
180                                ; use <n> or <n>x<m> (n same colors, modulo nxm)
181   symbol_style = [1,1,1,1,2,2,1,1,1,1,1,1]   ; Symbol style (for each overlay symbol)
182   symbol_color = [1,2,3,4,2,3,7,8,9,10,11,12]   ; Symbol line color (for each overlay symbol)
183;   symbol_color = [1,1,1,1,1,3,7,8,9,10,11,12]   ; Symbol line color (for each overlay symbol)
184   symbol_size = 1    ; Symbol size (1)
185   mean_sc_only = 0   ; 0 = default yfx (no SC plotted)
186                      ; 1 = add mean SC curve
187                      ; 2 = Only plot mean SC in yfx when symbol_families='4x3' and hotyp=t
188                      ; (3) = Only plot SC of std dev when symbol_families='4x3' and hotyp=t
189                      ;      (require 1m@t412)
190                      ; 4 = Only plot y=f(x) per month + errorbar when symbol_families='12x1'
191                      ;
192   linfit_sep =  0.0  ; separation for two domains linear fit computation (on x axis)
193                      ; set to -99999 to desactivate
194   linfit_map =  ''   ; ''/'p'/'m' to compute fit for all/before/after linfit_sep (maps only)
195   corr_thres =  0.1 ; correlation threshold to plot regression maps (between 0.1 and 0.2)
196                      ; bining interval (one number) or
197                      ; binning array [b1,b2,b3,b4,...]
198;   bin_interval1 = [-60, -40, -20, 0, 20, 40]
199   bin_interval1 = [22, 23.5, 25, 25.5, 26, 26.5, 27, 27.5, 28, 28.5, 29, 29.5, 30,  31]
200;   bin_interval = [-.1, -.08, -.06, -.04, -.02, 0, .02, .04, .06, .1] ; taux
201;   bin_interval1 = [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10]
202;   bin_interval1 = [-10, -9, -8, -7, -6, -5, -4, -3, -2, -1, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10]
203;   bin_interval2 = [-10, -9, -8, -7, -6, -5, -4, -3, -2, -1, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10]
204   bin_interval2 = [-5, -4, -3, -2, -1, 0, 1, 2, 3, 4, 5]
205
206   large_domain = 1 ; remove large domain average in binning
207
208; Graphic keywords for axis, etc...
209;
210   contour_options = ',/nocontour,cell_fill=2'  ;;;;;; include this line to delete contour labels
211;   contour_options = ',cell_fill=2'                    ;;;;;; include this line to include contour label   
212   contour_options = ''                 ;;;;;; include this line to include contour label   
213   look = ',xthick=2,ythick=2,zthick=2,sepdate='' '''
214
215; use of page space and titles
216
217   windowsize_scale = 1.0 ; size of screen display (visu option 'v')
218   fill_space = 1        ; fill space on plot (0/1) (/rempli option) ?
219   marge_option = 'marge=[0,0,2,2]' ; (use [0, 0, -2, -2] to fill up even more space
220   title_type = 'TS'      ; default type of titles
221                         ; 'T' for title only, 'S' for subtitle only
222                         ; 'TS' for both
223                         ; 'off' for no titles
224   xchartxt = 1.0        ; x axis font size (1.0)
225   ychartxt = 1.0        ; y axis font size (1.0)
226   
227
228   default_txt_format = 'E' ; default text in legend for 1D plots (E)xperiment(V)ariable[L]ong name[U]nits(B)ox
229
230; Multiple windows (0/1) turn on for one window per plot
231
232   multi_win = 0
233
234; Save PostScript/pdf/gif files
235
236   save_ps = 2           ; set to 2 to convert to pdf
237   file_naming = 'prompt'  ; 'auto' or 'prompt'
238
239; Averages
240; ---------
241; land-sea mask use in atmospheric boxes  0 : take all
242;                                         1 : ocean points
243;                                         2 : land points
244;
245   atmos_msk = 1
246
247;
248; Data domain (OPA only)
249; -----------
250   v_config_oce =  'L30' ; L46 for Drakkar ORCA05/ORCA2
251   orca_mask_version =  'V3' ;V1(ST7/CT runs), V2 (? runs), V3 (CH, Dan runs, CM4)
252; Zoomed domains ORCA2 (indexes are within array [0:181,0:148])
253;   global        <file>_grid_<grd>.nc                               27118 pts
254;   equator       <file>_grid_<grd>_eq.nc  (j=73)                      182 pts
255;   equator_band  <file>_grid_<grd>_eqb.nc  (j=64,82 -> [5S,5N])       2912 pts = 10%
256;   pacific       <file>_grid_<grd>_pac.nc  (j=49,97 -> [30S,30N],
257;                                            i=16,106 -> [110E,70W])   4320 pts = 16%
258;                                           
259;   pacific_eq    <file>_grid_<grd>_paceq.nc  (j=64,82 -> [5S,5N],
260;                                              i=16,106 -> [110E,70W]) 1620 pts = 6%
261;   zonal         <file>_grid_<grd>_diaznl.nc
262;
263; Zoom ORCA05 (indexes are within array [0:721,0:510])
264;   pacific             i=54,434 & j=183,312
265;
266;  data_domain = 'glosea'
267;   data_domain = 'equator'
268   data_domain = 'equator_band'
269;   data_domain = 'pacific_eq'
270   data_domain = 'zonal'
271   data_domain = 'pacific'
272  data_domain = 'global'
273
274; grids list (IPCC atmos regular)
275   nc_grids_list = ['ct42', 'mt42', 'mt106', 'nt85', 'giss4x5', 'giss4x3', 'cgcm3_1', 'mk3', 'gfdl2.5x2', 'fgoals1', 'inmcm3', 'cgcm232', 'nt42', 'n96', 'mt63', 'lmdzl', 'lmdzh', 'lmdz142', 'ncpt62', 'ert106', 'it30', 'bt42', 'reg1',  'hadcm3t', 'reg2.5']
276
277; machine type ('x' or 'WIN')
278   dev_type='x'
279
280; debug mode
281   debug_w = 1
282
283END
Note: See TracBrowser for help on using the repository browser.