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