source: anuga_work/development/Hinwood_2008/scenarios.py @ 5595

Last change on this file since 5595 was 5595, checked in by duncan, 16 years ago

Just realised the scenarios file has not been under version control. Checked it in now.

File size: 8.7 KB
RevLine 
[5595]1"""
2
3"""
4# A list of scenario dictionaries
5scenarios = []
6
7# 0 - t1r3
8# 1 - t1r5
9# 2 - t2r7
10# 3 - t2r8
11# 4 - t3r28
12# 5 - t3r29
13# 6 - t4r31
14# 7 - t4r32
15
16# T1R3
17data = {'xleft':[-3.106,0.0],  # Av' of ADV and Gauge A
18        'xtoe':[0.0,0.0],
19        'xbeach':[1.285,0.090],
20        'xright':[8,.4843334],
21        'offshore_water_depth':.4,
22        'scenario_id':'T1R3',
23        'gauge_names':['B','1','2','3','4','5','7'],
24        'gauge_x':[-0.68, 1.569, 2.568, 3.566, 4.564, 5.562, 7.559],
25        'gauge_bed_elevation':[-0.400000, -0.293158,
26                               -0.234473, -0.175788, -0.117104,
27                               -0.058419, 0.058950],
28        'start_slope_x':4,
29        'finish_slope_x':6,
30        'break_times':[34.15, 38.35, 42.95, 47.85, 53.15, 58.15],
31        'break_xs':[5.45, 5.45, 5.28, 5.28, 5.29, 5.29],
32        'break_type':['none', 'plunge', 'plunge', 'plunge', 'plunge', \
33                      'plunge'],
34        'axis':[0,80,-0.040,0.040],
35        'axis_maximum_x':6.0,
36        'ANUGA_start_time':1.83,
37        'band_offset':-1.0,
38        'wave_times':[23.0,59.0]
39                 }
40scenarios.append(data)
41
42# T1R5
43data = {'xleft':[-3.106,0.0],  # Av' of ADV and Gauge A
44        'xtoe':[0.0,0.0],
45        'xbeach':[1.285,0.090],
46        'xright':[8,.4843334],
47        'offshore_water_depth':.4,
48        'scenario_id':'T1R5',
49        'gauge_names':['B','1','2','3','4','5','7'],
50        'gauge_x':[-0.68, 1.569, 2.568, 3.566, 4.564, 5.562, 7.559],
51        'gauge_bed_elevation':[-0.400000, -0.293158,
52                               -0.234473, -0.175788, -0.117104,
53                               -0.058419, 0.058950],
54        'start_slope_x':4,
55        'finish_slope_x':6,
56        'break_times':[28.68, 33.18, 37.68, 42.18, 47.38, 52.18],
57        'break_xs':[5.45, 5.58, 5.29, 5.245, 5.21, 5.21],
58        'break_type':['none', 'plunge', 'plunge', 'plunge', 'plunge', \
59                      'plunge'],
60        'axis':[0,80,-0.04,0.04],
61        'axis_maximum_x':6.0,
62        'ANUGA_start_time':0.38,
63        'band_offset':-0.5,
64        'wave_times':[20.0,59.0]
65        }
66scenarios.append(data)
67
68
69
70# #T2R7
71# xleft is different
72data = {'xleft':[-4.586,0.0],  # Av' of ADV and Gauge A
73        'xtoe':[0.0,0.0],
74        'xbeach':[1.285,0.090],
75        'xright':[8,.4843334],
76        'offshore_water_depth':.4,
77        'scenario_id':'T2R7',
78        'gauge_names':['B','1','2','3','4','5'],
79        'gauge_x':[-0.68, 1.569, 2.568, 3.566, 4.564, 5.562],
80        'gauge_bed_elevation':[-0.400000, -0.293158,
81                               -0.234473, -0.175788, -0.117104,
82                               -0.058419],
83        'start_slope_x':5,
84        'finish_slope_x':6.5,
85        'break_times':[33.95, 41.25, 49.55, 56.75], # last 2 removed
86        'break_xs':[5.93,5.93,5.907,5.78], # since depth finishes at 65 sec
87        'break_type':['none', 'front steepened', 'front steepened', 'spill'],
88        'axis':[0,80,-0.040,0.040],
89        'axis_maximum_x':6.0,
90        'ANUGA_start_time':0.05,
91        'band_offset':2.0,
92        'wave_times':[15.0,60.0]
93                 }
94scenarios.append(data)
95
96# #T2R8
97# xleft is different
98data = {'xleft':[-4.586,0.0],  # Av' of ADV and Gauge A
99        'xtoe':[0.0,0.0],
100        'xbeach':[1.285,0.090],
101        'xright':[8,.4843334],
102        'offshore_water_depth':.4,
103        'scenario_id':'T2R8',
104        'gauge_names':['B','1','2','3','4','5','7'],
105        'gauge_x':[-0.68, 1.569, 2.568, 3.566, 4.564, 5.562, 7.559],
106        'gauge_bed_elevation':[-0.400000, -0.293158,
107                               -0.234473, -0.175788, -0.117104,
108                               -0.058419, 0.058950],
109        'start_slope_x':5,
110        'finish_slope_x':6.5,
111        'break_times':[47.00,55.00,62.00,70.00], # last 2 removed
112        'break_xs':[6.32,6.32,6.033,5.935],  # since depth finishes at 75 sec
113        'break_type':['none', 'front steepened', 'front steepened',
114                      'weak break'],
115        'axis':[0,80,-0.040,0.040],
116        'axis_maximum_x':6.0,
117        'ANUGA_start_time':0.04,
118        'band_offset':-2.0,
119        'wave_times':[34.0,70.0]
120        }
121scenarios.append(data)
122
123# #T3R28
124# xleft is different
125data = {'xleft':[-3.875,0.0],  # Av' of ADV and Gauge A
126        'xtoe':[0.0,0.0],
127        'xbeach':[1.285,0.090],
128        'xright':[14.,.3903881],
129        'offshore_water_depth':.336,
130        'scenario_id':'T3R28',
131        'gauge_names':['B','1','2','3','5','7','8',
132                       '9','10','11','12'],
133
134        'gauge_x':[-0.325, 1.572, 2.571, 3.571, 5.57,
135                   7.57, 8.57, 9.569, 10.569, 11.569,
136                   12.569],
137
138        # remove
139        'gauge_bed_elevation':[-0.336000, -0.237263, -0.213789, -0.190315,
140                               -0.143368,
141                               -0.096420, -0.072946, -0.049472,
142                               -0.025998, -0.002524, 0.020949],
143        'start_slope_x':8.,
144        'finish_slope_x':9.5,
145        'break_times':[61.21,68.51,76.11,84.11],
146        'break_xs':[9.17,9.135,9.135,9.105],
147        'break_type':['collapse', 'collapse', 'collapse',
148                      'collapse'],
149        'axis':[0,80,-0.040,0.040],
150        'axis_maximum_x':12.0,
151        'ANUGA_start_time':12.18,
152        'band_offset':-0.5,
153        'wave_times':[30.0,65.0]
154        }
155scenarios.append(data)
156
157# #T3R29
158data = {'xleft':[-3.875,0.0],  # Av' of ADV and Gauge A
159        'xtoe':[0.0,0.0],
160        'xbeach':[1.285,0.090],
161        'xright':[14.,.3903881],
162        'offshore_water_depth':.336,
163        'scenario_id':'T3R29',
164        'gauge_names':['B','1','2','3','5','7','8',
165                       '9','10','11','12'],
166       
167        'gauge_x':[-0.325, 1.572, 2.571, 3.571, 5.57,
168                   7.57, 8.57, 9.569, 10.569, 11.569,
169                   12.569],
170        # remove
171        'gauge_bed_elevation':[-0.336000, -0.237263, -0.213789, -0.190315,
172                               -0.143368,
173                               -0.096420, -0.072946, -0.049472,
174                               -0.025998, -0.002524, 0.020949],       
175        'start_slope_x':8.,
176        'finish_slope_x':9.5,
177        'break_times':[61.61,66.61,74.31,81.71],
178        'break_xs':[9.063,9.063,9.043,9.043],
179        'break_type':['none','collapse', 'collapse', 'collapse'],
180        'axis':[0,80,-0.040,0.040],
181        'axis_maximum_x':12.0,
182        'ANUGA_start_time':10.48,
183        'band_offset':-2.0,
184        'wave_times':[30.0,65.0]
185                 }
186scenarios.append(data)
187
188# #T4R31
189# xleft is different
190data = {'xleft':[-2.43,0.0],  # Av' of ADV and Gauge A
191        'xtoe':[0.0,0.0],
192        'xbeach':[1.285,0.090],
193        'xright':[14.,.3903881],
194        'offshore_water_depth':.336,
195        'scenario_id':'T4R31',       
196        'gauge_names':['B','1','2','3','5','7','8',
197                       '9','10','11','12'],
198       
199        'gauge_x':[-0.325, 1.572, 2.571, 3.571, 5.57,
200                   7.57, 8.57, 9.569, 10.569, 11.569,
201                   12.569],
202        # remove
203        'gauge_bed_elevation':[-0.336000, -0.237263, -0.213789, -0.190315,
204                               -0.143368,
205                               -0.096420, -0.072946, -0.049472,
206                               -0.025998, -0.002524, 0.020949],
207        'start_slope_x':6,
208        'finish_slope_x':9,
209        'break_times':[65.99,69.89,75.49,81.49,86.19],
210        'break_xs':[8.53,7.46,7.492,7.492,7.444],
211        'break_type':['collapse', 'spill', 'spill', 'spill', 'spill'],
212        'axis':[0,80,-0.040,0.040],
213        'axis_maximum_x':12.0,
214        'ANUGA_start_time':11.63,
215        'band_offset':-0.5,
216        'wave_times':[34.0,70.0]
217        }
218scenarios.append(data)
219
220# #T4R32
221data = {'xleft':[-2.43,0.0],  # Av' of ADV and Gauge A
222        'xtoe':[0.0,0.0],
223        'xbeach':[1.285,0.090],
224        'xright':[14.,.3903881],
225        'offshore_water_depth':.336,
226        'scenario_id':'T4R32',     
227        'gauge_names':['B','1','2','3','5','7','8',
228                       '9','10','11','12'],
229       
230        'gauge_x':[-0.325, 1.572, 2.571, 3.571, 5.57,
231                   7.57, 8.57, 9.569, 10.569, 11.569,
232                   12.569],
233        # remove
234        'gauge_bed_elevation':[-0.336000, -0.237263, -0.213789, -0.190315,
235                               -0.143368,
236                               -0.096420, -0.072946, -0.049472,
237                               -0.025998, -0.002524, 0.020949],
238        'start_slope_x':6,
239        'finish_slope_x':9,
240        # The ANUGA_start_time has not been subtracted from these values
241        'break_times':[64.29,68.69,73.49,79.39,84.69], # last wave removed
242        'break_xs':[7.673,7.673,7.43,7.448,7.448], # Pressure info ends early
243        'break_type':['none','spill', 'spill', 'spill', 'spill'],
244        'axis':[0,80,-0.040,0.040],
245        'axis_maximum_x':12.0,
246        'ANUGA_start_time':12.68,
247        'band_offset':-1.0,
248        'wave_times':[34.0,70.0]
249        }
250scenarios.append(data)
Note: See TracBrowser for help on using the repository browser.