1 | SUBROUTINE write_var_list |
---|
2 | |
---|
3 | !------------------------------------------------------------------------------! |
---|
4 | ! Actual revisions: |
---|
5 | ! ----------------- |
---|
6 | ! +loop_optimization, pt_refrence |
---|
7 | ! |
---|
8 | ! Former revisions: |
---|
9 | ! ----------------- |
---|
10 | ! $Id: write_var_list.f90 63 2007-03-13 03:52:49Z raasch $ |
---|
11 | ! |
---|
12 | ! 20 2007-02-26 00:12:32Z raasch |
---|
13 | ! +top_heatflux, use_top_fluxes |
---|
14 | ! |
---|
15 | ! RCS Log replace by Id keyword, revision history cleaned up |
---|
16 | ! |
---|
17 | ! Revision 1.34 2006/08/22 14:30:52 raasch |
---|
18 | ! +dz_max |
---|
19 | ! |
---|
20 | ! Revision 1.1 1998/03/18 20:20:38 raasch |
---|
21 | ! Initial revision |
---|
22 | ! |
---|
23 | ! |
---|
24 | ! Description: |
---|
25 | ! ------------ |
---|
26 | ! Writing values of control variables to restart-file (binary format) |
---|
27 | !------------------------------------------------------------------------------! |
---|
28 | |
---|
29 | USE arrays_3d |
---|
30 | USE averaging |
---|
31 | USE grid_variables |
---|
32 | USE indices |
---|
33 | USE model_1d |
---|
34 | USE pegrid |
---|
35 | USE profil_parameter |
---|
36 | USE statistics |
---|
37 | USE control_parameters |
---|
38 | |
---|
39 | IMPLICIT NONE |
---|
40 | |
---|
41 | CHARACTER (LEN=10) :: binary_version |
---|
42 | |
---|
43 | |
---|
44 | |
---|
45 | binary_version = '3.0' |
---|
46 | |
---|
47 | WRITE ( 14 ) binary_version ! opened in write_3d_binary |
---|
48 | |
---|
49 | WRITE ( 14 ) 'nz ' |
---|
50 | WRITE ( 14 ) nz |
---|
51 | WRITE ( 14 ) 'statistic_regions ' |
---|
52 | WRITE ( 14 ) statistic_regions |
---|
53 | |
---|
54 | ! |
---|
55 | !-- Caution: After changes in the following parameter-list, the |
---|
56 | !-- ------- version number stored in the variable binary_version has to be |
---|
57 | !-- increased. The same changes must also be done in the parameter- |
---|
58 | !-- list in read_var_list. |
---|
59 | |
---|
60 | WRITE ( 14 ) 'adjust_mixing_length ' |
---|
61 | WRITE ( 14 ) adjust_mixing_length |
---|
62 | WRITE ( 14 ) 'advected_distance_x ' |
---|
63 | WRITE ( 14 ) advected_distance_x |
---|
64 | WRITE ( 14 ) 'advected_distance_y ' |
---|
65 | WRITE ( 14 ) advected_distance_y |
---|
66 | WRITE ( 14 ) 'alpha_surface ' |
---|
67 | WRITE ( 14 ) alpha_surface |
---|
68 | WRITE ( 14 ) 'average_count_pr ' |
---|
69 | WRITE ( 14 ) average_count_pr |
---|
70 | WRITE ( 14 ) 'average_count_sp ' |
---|
71 | WRITE ( 14 ) average_count_sp |
---|
72 | WRITE ( 14 ) 'average_count_3d ' |
---|
73 | WRITE ( 14 ) average_count_3d |
---|
74 | WRITE ( 14 ) 'bc_e_b ' |
---|
75 | WRITE ( 14 ) bc_e_b |
---|
76 | WRITE ( 14 ) 'bc_lr ' |
---|
77 | WRITE ( 14 ) bc_lr |
---|
78 | WRITE ( 14 ) 'bc_ns ' |
---|
79 | WRITE ( 14 ) bc_ns |
---|
80 | WRITE ( 14 ) 'bc_p_b ' |
---|
81 | WRITE ( 14 ) bc_p_b |
---|
82 | WRITE ( 14 ) 'bc_p_t ' |
---|
83 | WRITE ( 14 ) bc_p_t |
---|
84 | WRITE ( 14 ) 'bc_pt_b ' |
---|
85 | WRITE ( 14 ) bc_pt_b |
---|
86 | WRITE ( 14 ) 'bc_pt_t ' |
---|
87 | WRITE ( 14 ) bc_pt_t |
---|
88 | WRITE ( 14 ) 'bc_pt_t_val ' |
---|
89 | WRITE ( 14 ) bc_pt_t_val |
---|
90 | WRITE ( 14 ) 'bc_q_b ' |
---|
91 | WRITE ( 14 ) bc_q_b |
---|
92 | WRITE ( 14 ) 'bc_q_t ' |
---|
93 | WRITE ( 14 ) bc_q_t |
---|
94 | WRITE ( 14 ) 'bc_q_t_val ' |
---|
95 | WRITE ( 14 ) bc_q_t_val |
---|
96 | WRITE ( 14 ) 'bc_s_b ' |
---|
97 | WRITE ( 14 ) bc_s_b |
---|
98 | WRITE ( 14 ) 'bc_s_t ' |
---|
99 | WRITE ( 14 ) bc_s_t |
---|
100 | WRITE ( 14 ) 'bc_uv_b ' |
---|
101 | WRITE ( 14 ) bc_uv_b |
---|
102 | WRITE ( 14 ) 'bc_uv_t ' |
---|
103 | WRITE ( 14 ) bc_uv_t |
---|
104 | WRITE ( 14 ) 'building_height ' |
---|
105 | WRITE ( 14 ) building_height |
---|
106 | WRITE ( 14 ) 'building_length_x ' |
---|
107 | WRITE ( 14 ) building_length_x |
---|
108 | WRITE ( 14 ) 'building_length_y ' |
---|
109 | WRITE ( 14 ) building_length_y |
---|
110 | WRITE ( 14 ) 'building_wall_left ' |
---|
111 | WRITE ( 14 ) building_wall_left |
---|
112 | WRITE ( 14 ) 'building_wall_south ' |
---|
113 | WRITE ( 14 ) building_wall_south |
---|
114 | WRITE ( 14 ) 'cloud_droplets ' |
---|
115 | WRITE ( 14 ) cloud_droplets |
---|
116 | WRITE ( 14 ) 'cloud_physics ' |
---|
117 | WRITE ( 14 ) cloud_physics |
---|
118 | WRITE ( 14 ) 'conserve_volume_flow ' |
---|
119 | WRITE ( 14 ) conserve_volume_flow |
---|
120 | WRITE ( 14 ) 'current_timestep_number ' |
---|
121 | WRITE ( 14 ) current_timestep_number |
---|
122 | WRITE ( 14 ) 'cut_spline_overshoot ' |
---|
123 | WRITE ( 14 ) cut_spline_overshoot |
---|
124 | WRITE ( 14 ) 'damp_level_1d ' |
---|
125 | WRITE ( 14 ) damp_level_1d |
---|
126 | WRITE ( 14 ) 'dissipation_1d ' |
---|
127 | WRITE ( 14 ) dissipation_1d |
---|
128 | WRITE ( 14 ) 'dt_fixed ' |
---|
129 | WRITE ( 14 ) dt_fixed |
---|
130 | WRITE ( 14 ) 'dt_pr_1d ' |
---|
131 | WRITE ( 14 ) dt_pr_1d |
---|
132 | WRITE ( 14 ) 'dt_run_control_1d ' |
---|
133 | WRITE ( 14 ) dt_run_control_1d |
---|
134 | WRITE ( 14 ) 'dt_3d ' |
---|
135 | WRITE ( 14 ) dt_3d |
---|
136 | WRITE ( 14 ) 'dvrp_filecount ' |
---|
137 | WRITE ( 14 ) dvrp_filecount |
---|
138 | WRITE ( 14 ) 'dx ' |
---|
139 | WRITE ( 14 ) dx |
---|
140 | WRITE ( 14 ) 'dy ' |
---|
141 | WRITE ( 14 ) dy |
---|
142 | WRITE ( 14 ) 'dz ' |
---|
143 | WRITE ( 14 ) dz |
---|
144 | WRITE ( 14 ) 'dz_max ' |
---|
145 | WRITE ( 14 ) dz_max |
---|
146 | WRITE ( 14 ) 'dz_stretch_factor ' |
---|
147 | WRITE ( 14 ) dz_stretch_factor |
---|
148 | WRITE ( 14 ) 'dz_stretch_level ' |
---|
149 | WRITE ( 14 ) dz_stretch_level |
---|
150 | WRITE ( 14 ) 'e_min ' |
---|
151 | WRITE ( 14 ) e_min |
---|
152 | WRITE ( 14 ) 'end_time_1d ' |
---|
153 | WRITE ( 14 ) end_time_1d |
---|
154 | WRITE ( 14 ) 'fft_method ' |
---|
155 | WRITE ( 14 ) fft_method |
---|
156 | WRITE ( 14 ) 'first_call_advec_particles ' |
---|
157 | WRITE ( 14 ) first_call_advec_particles |
---|
158 | WRITE ( 14 ) 'galilei_transformation ' |
---|
159 | WRITE ( 14 ) galilei_transformation |
---|
160 | WRITE ( 14 ) 'grid_matching ' |
---|
161 | WRITE ( 14 ) grid_matching |
---|
162 | WRITE ( 14 ) 'hom ' |
---|
163 | WRITE ( 14 ) hom |
---|
164 | WRITE ( 14 ) 'inflow_disturbance_begin ' |
---|
165 | WRITE ( 14 ) inflow_disturbance_begin |
---|
166 | WRITE ( 14 ) 'inflow_disturbance_end ' |
---|
167 | WRITE ( 14 ) inflow_disturbance_end |
---|
168 | WRITE ( 14 ) 'km_constant ' |
---|
169 | WRITE ( 14 ) km_constant |
---|
170 | WRITE ( 14 ) 'km_damp_max ' |
---|
171 | WRITE ( 14 ) km_damp_max |
---|
172 | WRITE ( 14 ) 'last_dt_change ' |
---|
173 | WRITE ( 14 ) last_dt_change |
---|
174 | WRITE ( 14 ) 'long_filter_factor ' |
---|
175 | WRITE ( 14 ) long_filter_factor |
---|
176 | WRITE ( 14 ) 'loop_optimization ' |
---|
177 | WRITE ( 14 ) loop_optimization |
---|
178 | WRITE ( 14 ) 'mixing_length_1d ' |
---|
179 | WRITE ( 14 ) mixing_length_1d |
---|
180 | WRITE ( 14 ) 'moisture ' |
---|
181 | WRITE ( 14 ) moisture |
---|
182 | WRITE ( 14 ) 'momentum_advec ' |
---|
183 | WRITE ( 14 ) momentum_advec |
---|
184 | WRITE ( 14 ) 'netcdf_precision ' |
---|
185 | WRITE ( 14 ) netcdf_precision |
---|
186 | WRITE ( 14 ) 'npex ' |
---|
187 | WRITE ( 14 ) npex |
---|
188 | WRITE ( 14 ) 'npey ' |
---|
189 | WRITE ( 14 ) npey |
---|
190 | WRITE ( 14 ) 'nsor_ini ' |
---|
191 | WRITE ( 14 ) nsor_ini |
---|
192 | WRITE ( 14 ) 'nx ' |
---|
193 | WRITE ( 14 ) nx |
---|
194 | WRITE ( 14 ) 'ny ' |
---|
195 | WRITE ( 14 ) ny |
---|
196 | WRITE ( 14 ) 'old_dt ' |
---|
197 | WRITE ( 14 ) old_dt |
---|
198 | WRITE ( 14 ) 'omega ' |
---|
199 | WRITE ( 14 ) omega |
---|
200 | WRITE ( 14 ) 'outflow_damping_width ' |
---|
201 | WRITE ( 14 ) outflow_damping_width |
---|
202 | WRITE ( 14 ) 'overshoot_limit_e ' |
---|
203 | WRITE ( 14 ) overshoot_limit_e |
---|
204 | WRITE ( 14 ) 'overshoot_limit_pt ' |
---|
205 | WRITE ( 14 ) overshoot_limit_pt |
---|
206 | WRITE ( 14 ) 'overshoot_limit_u ' |
---|
207 | WRITE ( 14 ) overshoot_limit_u |
---|
208 | WRITE ( 14 ) 'overshoot_limit_v ' |
---|
209 | WRITE ( 14 ) overshoot_limit_v |
---|
210 | WRITE ( 14 ) 'overshoot_limit_w ' |
---|
211 | WRITE ( 14 ) overshoot_limit_w |
---|
212 | WRITE ( 14 ) 'passive_scalar ' |
---|
213 | WRITE ( 14 ) passive_scalar |
---|
214 | WRITE ( 14 ) 'phi ' |
---|
215 | WRITE ( 14 ) phi |
---|
216 | WRITE ( 14 ) 'prandtl_layer ' |
---|
217 | WRITE ( 14 ) prandtl_layer |
---|
218 | WRITE ( 14 ) 'precipitation ' |
---|
219 | WRITE ( 14 ) precipitation |
---|
220 | WRITE ( 14 ) 'pt_init ' |
---|
221 | WRITE ( 14 ) pt_init |
---|
222 | WRITE ( 14 ) 'pt_reference ' |
---|
223 | WRITE ( 14 ) pt_reference |
---|
224 | WRITE ( 14 ) 'pt_surface ' |
---|
225 | WRITE ( 14 ) pt_surface |
---|
226 | WRITE ( 14 ) 'pt_surface_initial_change ' |
---|
227 | WRITE ( 14 ) pt_surface_initial_change |
---|
228 | WRITE ( 14 ) 'pt_vertical_gradient ' |
---|
229 | WRITE ( 14 ) pt_vertical_gradient |
---|
230 | WRITE ( 14 ) 'pt_vertical_gradient_level ' |
---|
231 | WRITE ( 14 ) pt_vertical_gradient_level |
---|
232 | WRITE ( 14 ) 'pt_vertical_gradient_level_ind' |
---|
233 | WRITE ( 14 ) pt_vertical_gradient_level_ind |
---|
234 | WRITE ( 14 ) 'q_init ' |
---|
235 | WRITE ( 14 ) q_init |
---|
236 | WRITE ( 14 ) 'q_surface ' |
---|
237 | WRITE ( 14 ) q_surface |
---|
238 | WRITE ( 14 ) 'q_surface_initial_change ' |
---|
239 | WRITE ( 14 ) q_surface_initial_change |
---|
240 | WRITE ( 14 ) 'q_vertical_gradient ' |
---|
241 | WRITE ( 14 ) q_vertical_gradient |
---|
242 | WRITE ( 14 ) 'q_vertical_gradient_level ' |
---|
243 | WRITE ( 14 ) q_vertical_gradient_level |
---|
244 | WRITE ( 14 ) 'q_vertical_gradient_level_ind ' |
---|
245 | WRITE ( 14 ) q_vertical_gradient_level_ind |
---|
246 | WRITE ( 14 ) 'radiation ' |
---|
247 | WRITE ( 14 ) radiation |
---|
248 | WRITE ( 14 ) 'random_generator ' |
---|
249 | WRITE ( 14 ) random_generator |
---|
250 | WRITE ( 14 ) 'random_heatflux ' |
---|
251 | WRITE ( 14 ) random_heatflux |
---|
252 | WRITE ( 14 ) 'rif_max ' |
---|
253 | WRITE ( 14 ) rif_max |
---|
254 | WRITE ( 14 ) 'rif_min ' |
---|
255 | WRITE ( 14 ) rif_min |
---|
256 | WRITE ( 14 ) 'roughness_length ' |
---|
257 | WRITE ( 14 ) roughness_length |
---|
258 | WRITE ( 14 ) 'runnr ' |
---|
259 | WRITE ( 14 ) runnr |
---|
260 | WRITE ( 14 ) 'scalar_advec ' |
---|
261 | WRITE ( 14 ) scalar_advec |
---|
262 | WRITE ( 14 ) 'simulated_time ' |
---|
263 | WRITE ( 14 ) simulated_time |
---|
264 | WRITE ( 14 ) 'surface_heatflux ' |
---|
265 | WRITE ( 14 ) surface_heatflux |
---|
266 | WRITE ( 14 ) 'surface_pressure ' |
---|
267 | WRITE ( 14 ) surface_pressure |
---|
268 | WRITE ( 14 ) 'surface_scalarflux ' |
---|
269 | WRITE ( 14 ) surface_scalarflux |
---|
270 | WRITE ( 14 ) 'surface_waterflux ' |
---|
271 | WRITE ( 14 ) surface_waterflux |
---|
272 | WRITE ( 14 ) 's_surface ' |
---|
273 | WRITE ( 14 ) s_surface |
---|
274 | WRITE ( 14 ) 's_surface_initial_change ' |
---|
275 | WRITE ( 14 ) s_surface_initial_change |
---|
276 | WRITE ( 14 ) 's_vertical_gradient ' |
---|
277 | WRITE ( 14 ) s_vertical_gradient |
---|
278 | WRITE ( 14 ) 's_vertical_gradient_level ' |
---|
279 | WRITE ( 14 ) s_vertical_gradient_level |
---|
280 | WRITE ( 14 ) 'time_disturb ' |
---|
281 | WRITE ( 14 ) time_disturb |
---|
282 | WRITE ( 14 ) 'time_dopr ' |
---|
283 | WRITE ( 14 ) time_dopr |
---|
284 | WRITE ( 14 ) 'time_dopr_av ' |
---|
285 | WRITE ( 14 ) time_dopr_av |
---|
286 | WRITE ( 14 ) 'time_dopr_listing ' |
---|
287 | WRITE ( 14 ) time_dopr_listing |
---|
288 | WRITE ( 14 ) 'time_dopts ' |
---|
289 | WRITE ( 14 ) time_dopts |
---|
290 | WRITE ( 14 ) 'time_dosp ' |
---|
291 | WRITE ( 14 ) time_dosp |
---|
292 | WRITE ( 14 ) 'time_dots ' |
---|
293 | WRITE ( 14 ) time_dots |
---|
294 | WRITE ( 14 ) 'time_do2d_xy ' |
---|
295 | WRITE ( 14 ) time_do2d_xy |
---|
296 | WRITE ( 14 ) 'time_do2d_xz ' |
---|
297 | WRITE ( 14 ) time_do2d_xz |
---|
298 | WRITE ( 14 ) 'time_do2d_yz ' |
---|
299 | WRITE ( 14 ) time_do2d_yz |
---|
300 | WRITE ( 14 ) 'time_do3d ' |
---|
301 | WRITE ( 14 ) time_do3d |
---|
302 | WRITE ( 14 ) 'time_do_av ' |
---|
303 | WRITE ( 14 ) time_do_av |
---|
304 | WRITE ( 14 ) 'time_do_sla ' |
---|
305 | WRITE ( 14 ) time_do_sla |
---|
306 | WRITE ( 14 ) 'time_dvrp ' |
---|
307 | WRITE ( 14 ) time_dvrp |
---|
308 | WRITE ( 14 ) 'time_restart ' |
---|
309 | WRITE ( 14 ) time_restart |
---|
310 | WRITE ( 14 ) 'time_run_control ' |
---|
311 | WRITE ( 14 ) time_run_control |
---|
312 | WRITE ( 14 ) 'timestep_scheme ' |
---|
313 | WRITE ( 14 ) timestep_scheme |
---|
314 | WRITE ( 14 ) 'topography ' |
---|
315 | WRITE ( 14 ) topography |
---|
316 | WRITE ( 14 ) 'top_heatflux ' |
---|
317 | WRITE ( 14 ) top_heatflux |
---|
318 | WRITE ( 14 ) 'tsc ' |
---|
319 | WRITE ( 14 ) tsc |
---|
320 | WRITE ( 14 ) 'u_init ' |
---|
321 | WRITE ( 14 ) u_init |
---|
322 | WRITE ( 14 ) 'u_max ' |
---|
323 | WRITE ( 14 ) u_max |
---|
324 | WRITE ( 14 ) 'u_max_ijk ' |
---|
325 | WRITE ( 14 ) u_max_ijk |
---|
326 | WRITE ( 14 ) 'ug ' |
---|
327 | WRITE ( 14 ) ug |
---|
328 | WRITE ( 14 ) 'ug_surface ' |
---|
329 | WRITE ( 14 ) ug_surface |
---|
330 | WRITE ( 14 ) 'ug_vertical_gradient ' |
---|
331 | WRITE ( 14 ) ug_vertical_gradient |
---|
332 | WRITE ( 14 ) 'ug_vertical_gradient_level ' |
---|
333 | WRITE ( 14 ) ug_vertical_gradient_level |
---|
334 | WRITE ( 14 ) 'ug_vertical_gradient_level_ind' |
---|
335 | WRITE ( 14 ) ug_vertical_gradient_level_ind |
---|
336 | WRITE ( 14 ) 'ups_limit_e ' |
---|
337 | WRITE ( 14 ) ups_limit_e |
---|
338 | WRITE ( 14 ) 'ups_limit_pt ' |
---|
339 | WRITE ( 14 ) ups_limit_pt |
---|
340 | WRITE ( 14 ) 'ups_limit_u ' |
---|
341 | WRITE ( 14 ) ups_limit_u |
---|
342 | WRITE ( 14 ) 'ups_limit_v ' |
---|
343 | WRITE ( 14 ) ups_limit_v |
---|
344 | WRITE ( 14 ) 'ups_limit_w ' |
---|
345 | WRITE ( 14 ) ups_limit_w |
---|
346 | WRITE ( 14 ) 'use_surface_fluxes ' |
---|
347 | WRITE ( 14 ) use_surface_fluxes |
---|
348 | WRITE ( 14 ) 'use_top_fluxes ' |
---|
349 | WRITE ( 14 ) use_top_fluxes |
---|
350 | WRITE ( 14 ) 'use_ug_for_galilei_tr ' |
---|
351 | WRITE ( 14 ) use_ug_for_galilei_tr |
---|
352 | WRITE ( 14 ) 'use_upstream_for_tke ' |
---|
353 | WRITE ( 14 ) use_upstream_for_tke |
---|
354 | WRITE ( 14 ) 'v_init ' |
---|
355 | WRITE ( 14 ) v_init |
---|
356 | WRITE ( 14 ) 'v_max ' |
---|
357 | WRITE ( 14 ) v_max |
---|
358 | WRITE ( 14 ) 'v_max_ijk ' |
---|
359 | WRITE ( 14 ) v_max_ijk |
---|
360 | WRITE ( 14 ) 'vg ' |
---|
361 | WRITE ( 14 ) vg |
---|
362 | WRITE ( 14 ) 'vg_surface ' |
---|
363 | WRITE ( 14 ) vg_surface |
---|
364 | WRITE ( 14 ) 'vg_vertical_gradient ' |
---|
365 | WRITE ( 14 ) vg_vertical_gradient |
---|
366 | WRITE ( 14 ) 'vg_vertical_gradient_level ' |
---|
367 | WRITE ( 14 ) vg_vertical_gradient_level |
---|
368 | WRITE ( 14 ) 'vg_vertical_gradient_level_ind' |
---|
369 | WRITE ( 14 ) vg_vertical_gradient_level_ind |
---|
370 | WRITE ( 14 ) 'wall_adjustment ' |
---|
371 | WRITE ( 14 ) wall_adjustment |
---|
372 | WRITE ( 14 ) 'w_max ' |
---|
373 | WRITE ( 14 ) w_max |
---|
374 | WRITE ( 14 ) 'w_max_ijk ' |
---|
375 | WRITE ( 14 ) w_max_ijk |
---|
376 | WRITE ( 14 ) 'time-series-quantities ' |
---|
377 | WRITE ( 14 ) cross_ts_uymax, cross_ts_uymax_computed, cross_ts_uymin, & |
---|
378 | cross_ts_uymin_computed |
---|
379 | |
---|
380 | ! |
---|
381 | !-- Set the end-of-file mark |
---|
382 | WRITE ( 14 ) '*** end *** ' |
---|
383 | |
---|
384 | |
---|
385 | END SUBROUTINE write_var_list |
---|