source: palm/trunk/SOURCE/header.f90 @ 132

Last change on this file since 132 was 132, checked in by letzel, 16 years ago

Vertical profiles now based on nzb_s_inner; they are divided by
ngp_2dh_s_inner (scalars, procucts of scalars and velocity components) and
ngp_2dh (staggered velocity components and their products), respectively.

Allow new case bc_uv_t = 'dirichlet_0' for channel flow.

  • Property svn:keywords set to Id
File size: 59.2 KB
Line 
1 SUBROUTINE header
2
3!------------------------------------------------------------------------------!
4! Actual revisions:
5! -----------------
6! Allow new case bc_uv_t = 'dirichlet_0' for channel flow.
7! Allow two instead of one digit to specify isosurface and slicer variables.
8! Output of sorting frequency of particles
9!
10! Former revisions:
11! -----------------
12! $Id: header.f90 132 2007-11-20 09:46:11Z letzel $
13!
14! 108 2007-08-24 15:10:38Z letzel
15! Output of informations for coupled model runs (boundary conditions etc.)
16! + output of momentumfluxes at the top boundary
17! Rayleigh damping for ocean, e_init
18!
19! 97 2007-06-21 08:23:15Z raasch
20! Adjustments for the ocean version.
21! use_pt_reference renamed use_reference
22!
23! 87 2007-05-22 15:46:47Z raasch
24! Bugfix: output of use_upstream_for_tke
25!
26! 82 2007-04-16 15:40:52Z raasch
27! Preprocessor strings for different linux clusters changed to "lc",
28! routine local_flush is used for buffer flushing
29!
30! 76 2007-03-29 00:58:32Z raasch
31! Output of netcdf_64bit_3d, particles-package is now part of the default code,
32! output of the loop optimization method, moisture renamed humidity,
33! output of subversion revision number
34!
35! 19 2007-02-23 04:53:48Z raasch
36! Output of scalar flux applied at top boundary
37!
38! RCS Log replace by Id keyword, revision history cleaned up
39!
40! Revision 1.63  2006/08/22 13:53:13  raasch
41! Output of dz_max
42!
43! Revision 1.1  1997/08/11 06:17:20  raasch
44! Initial revision
45!
46!
47! Description:
48! ------------
49! Writing a header with all important informations about the actual run.
50! This subroutine is called three times, two times at the beginning
51! (writing information on files RUN_CONTROL and HEADER) and one time at the
52! end of the run, then writing additional information about CPU-usage on file
53! header.
54!------------------------------------------------------------------------------!
55
56    USE arrays_3d
57    USE control_parameters
58    USE cloud_parameters
59    USE cpulog
60    USE dvrp_variables
61    USE grid_variables
62    USE indices
63    USE model_1d
64    USE particle_attributes
65    USE pegrid
66    USE spectrum
67
68    IMPLICIT NONE
69
70    CHARACTER (LEN=1)  ::  prec
71    CHARACTER (LEN=2)  ::  do2d_mode
72    CHARACTER (LEN=5)  ::  section_chr
73    CHARACTER (LEN=9)  ::  time_to_string
74    CHARACTER (LEN=10) ::  coor_chr, host_chr
75    CHARACTER (LEN=16) ::  begin_chr
76    CHARACTER (LEN=21) ::  ver_rev
77    CHARACTER (LEN=40) ::  output_format
78    CHARACTER (LEN=70) ::  char1, char2, coordinates, gradients, dopr_chr, &
79                           do2d_xy, do2d_xz, do2d_yz, do3d_chr, &
80                           run_classification, slices, temperatures, &
81                           ugcomponent, vgcomponent
82    CHARACTER (LEN=85) ::  roben, runten
83
84    INTEGER ::  av, bh, blx, bly, bxl, bxr, byn, bys, i, ihost, io, j, l, ll
85    REAL    ::  cpuseconds_per_simulated_second
86
87!
88!-- Open the output file. At the end of the simulation, output is directed
89!-- to unit 19.
90    IF ( ( runnr == 0 .OR. force_print_header )  .AND. &
91         .NOT. simulated_time_at_begin /= simulated_time )  THEN
92       io = 15   !  header output on file RUN_CONTROL
93    ELSE
94       io = 19   !  header output on file HEADER
95    ENDIF
96    CALL check_open( io )
97
98!
99!-- At the end of the run, output file (HEADER) will be rewritten with
100!-- new informations
101    IF ( io == 19 .AND. simulated_time_at_begin /= simulated_time ) REWIND( 19 )
102
103!
104!-- Determine kind of model run
105    IF ( TRIM( initializing_actions ) == 'read_restart_data' )  THEN
106       run_classification = '3D - restart run'
107    ELSE
108       IF ( INDEX( initializing_actions, 'set_constant_profiles' ) /= 0 )  THEN
109          run_classification = '3D - run without 1D - prerun'
110       ELSEIF ( INDEX(initializing_actions, 'set_1d-model_profiles') /= 0 ) THEN
111          run_classification = '3D - run with 1D - prerun'
112       ELSE
113          PRINT*,'+++ header:  unknown action(s): ',initializing_actions
114       ENDIF
115    ENDIF
116    IF ( ocean )  THEN
117       run_classification = 'ocean - ' // run_classification
118    ELSE
119       run_classification = 'atmosphere - ' // run_classification
120    ENDIF
121
122!
123!-- Run-identification, date, time, host
124    host_chr = host(1:10)
125    ver_rev = TRIM( version ) // '  ' // TRIM( revision )
126    WRITE ( io, 100 )  ver_rev, TRIM( run_classification )
127    IF ( coupling_mode /= 'uncoupled' )  WRITE ( io, 101 )  coupling_mode
128    WRITE ( io, 102 )  run_date, run_identifier, run_time, runnr, &
129                       ADJUSTR( host_chr )
130#if defined( __parallel )
131    IF ( npex == -1  .AND.  pdims(2) /= 1 )  THEN
132       char1 = 'calculated'
133    ELSEIF ( ( host(1:3) == 'ibm'  .OR.  host(1:3) == 'nec'  .OR.  &
134               host(1:2) == 'lc' )  .AND.                          &
135             npex == -1  .AND.  pdims(2) == 1 )  THEN
136       char1 = 'forced'
137    ELSE
138       char1 = 'predefined'
139    ENDIF
140    IF ( threads_per_task == 1 )  THEN
141       WRITE ( io, 103 )  numprocs, pdims(1), pdims(2), TRIM( char1 )
142    ELSE
143       WRITE ( io, 104 )  numprocs*threads_per_task, numprocs, &
144                          threads_per_task, pdims(1), pdims(2), TRIM( char1 )
145    ENDIF
146    IF ( ( host(1:3) == 'ibm'  .OR.  host(1:3) == 'nec'  .OR.    &
147           host(1:2) == 'lc'   .OR.  host(1:3) == 'dec' )  .AND. &
148         npex == -1  .AND.  pdims(2) == 1 )                      &
149    THEN
150       WRITE ( io, 106 )
151    ELSEIF ( pdims(2) == 1 )  THEN
152       WRITE ( io, 107 )  'x'
153    ELSEIF ( pdims(1) == 1 )  THEN
154       WRITE ( io, 107 )  'y'
155    ENDIF
156    IF ( use_seperate_pe_for_dvrp_output )  WRITE ( io, 105 )
157#endif
158    WRITE ( io, 99 )
159
160!
161!-- Numerical schemes
162    WRITE ( io, 110 )
163    IF ( psolver(1:7) == 'poisfft' )  THEN
164       WRITE ( io, 111 )  TRIM( fft_method )
165       IF ( psolver == 'poisfft_hybrid' )  WRITE ( io, 138 )
166    ELSEIF ( psolver == 'sor' )  THEN
167       WRITE ( io, 112 )  nsor_ini, nsor, omega_sor
168    ELSEIF ( psolver == 'multigrid' )  THEN
169       WRITE ( io, 135 )  cycle_mg, maximum_grid_level, ngsrb
170       IF ( mg_cycles == -1 )  THEN
171          WRITE ( io, 140 )  residual_limit
172       ELSE
173          WRITE ( io, 141 )  mg_cycles
174       ENDIF
175       IF ( mg_switch_to_pe0_level == 0 )  THEN
176          WRITE ( io, 136 )  nxr_mg(1)-nxl_mg(1)+1, nyn_mg(1)-nys_mg(1)+1, &
177                             nzt_mg(1)
178       ELSE
179          WRITE ( io, 137 )  mg_switch_to_pe0_level,            &
180                             mg_loc_ind(2,0)-mg_loc_ind(1,0)+1, &
181                             mg_loc_ind(4,0)-mg_loc_ind(3,0)+1, &
182                             nzt_mg(mg_switch_to_pe0_level),    &
183                             nxr_mg(1)-nxl_mg(1)+1, nyn_mg(1)-nys_mg(1)+1, &
184                             nzt_mg(1)
185       ENDIF
186    ENDIF
187    IF ( call_psolver_at_all_substeps  .AND. timestep_scheme(1:5) == 'runge' ) &
188    THEN
189       WRITE ( io, 142 )
190    ENDIF
191
192    IF ( momentum_advec == 'pw-scheme' )  THEN
193       WRITE ( io, 113 )
194    ELSE
195       WRITE ( io, 114 )
196       IF ( cut_spline_overshoot )  WRITE ( io, 124 )
197       IF ( overshoot_limit_u /= 0.0  .OR.  overshoot_limit_v /= 0.0  .OR. &
198            overshoot_limit_w /= 0.0 )  THEN
199          WRITE ( io, 127 )  overshoot_limit_u, overshoot_limit_v, &
200                             overshoot_limit_w
201       ENDIF
202       IF ( ups_limit_u /= 0.0  .OR.  ups_limit_v /= 0.0  .OR. &
203            ups_limit_w /= 0.0 )                               &
204       THEN
205          WRITE ( io, 125 )  ups_limit_u, ups_limit_v, ups_limit_w
206       ENDIF
207       IF ( long_filter_factor /= 0.0 )  WRITE ( io, 115 )  long_filter_factor
208    ENDIF
209    IF ( scalar_advec == 'pw-scheme' )  THEN
210       WRITE ( io, 116 )
211    ELSEIF ( scalar_advec == 'ups-scheme' )  THEN
212       WRITE ( io, 117 )
213       IF ( cut_spline_overshoot )  WRITE ( io, 124 )
214       IF ( overshoot_limit_e /= 0.0  .OR.  overshoot_limit_pt /= 0.0 )  THEN
215          WRITE ( io, 128 )  overshoot_limit_e, overshoot_limit_pt
216       ENDIF
217       IF ( ups_limit_e /= 0.0  .OR.  ups_limit_pt /= 0.0 )  THEN
218          WRITE ( io, 126 )  ups_limit_e, ups_limit_pt
219       ENDIF
220    ELSE
221       WRITE ( io, 118 )
222    ENDIF
223
224    WRITE ( io, 139 )  TRIM( loop_optimization )
225
226    IF ( galilei_transformation )  THEN
227       IF ( use_ug_for_galilei_tr )  THEN
228          char1 = 'geostrophic wind'
229       ELSE
230          char1 = 'mean wind in model domain'
231       ENDIF
232       IF ( simulated_time_at_begin == simulated_time )  THEN
233          char2 = 'at the start of the run'
234       ELSE
235          char2 = 'at the end of the run'
236       ENDIF
237       WRITE ( io, 119 )  TRIM( char1 ), TRIM( char2 ), &
238                          advected_distance_x/1000.0, advected_distance_y/1000.0
239    ENDIF
240    IF ( timestep_scheme == 'leapfrog' )  THEN
241       WRITE ( io, 120 )
242    ELSEIF ( timestep_scheme == 'leapfrog+euler' )  THEN
243       WRITE ( io, 121 )
244    ELSE
245       WRITE ( io, 122 )  timestep_scheme
246    ENDIF
247    IF ( use_upstream_for_tke )  WRITE ( io, 143 )
248    IF ( rayleigh_damping_factor /= 0.0 )  THEN
249       IF ( .NOT. ocean )  THEN
250          WRITE ( io, 123 )  'above', rayleigh_damping_height, &
251               rayleigh_damping_factor
252       ELSE
253          WRITE ( io, 123 )  'below', rayleigh_damping_height, &
254               rayleigh_damping_factor
255       ENDIF
256    ENDIF
257    IF ( humidity )  THEN
258       IF ( .NOT. cloud_physics )  THEN
259          WRITE ( io, 129 )
260       ELSE
261          WRITE ( io, 130 )
262          WRITE ( io, 131 )
263          IF ( radiation )      WRITE ( io, 132 )
264          IF ( precipitation )  WRITE ( io, 133 )
265       ENDIF
266    ENDIF
267    IF ( passive_scalar )  WRITE ( io, 134 )
268    IF ( conserve_volume_flow )  WRITE ( io, 150 )
269    WRITE ( io, 99 )
270
271!
272!-- Runtime and timestep informations
273    WRITE ( io, 200 )
274    IF ( .NOT. dt_fixed )  THEN
275       WRITE ( io, 201 )  dt_max, cfl_factor
276    ELSE
277       WRITE ( io, 202 )  dt
278    ENDIF
279    WRITE ( io, 203 )  simulated_time_at_begin, end_time
280
281    IF ( time_restart /= 9999999.9  .AND. &
282         simulated_time_at_begin == simulated_time )  THEN
283       IF ( dt_restart == 9999999.9 )  THEN
284          WRITE ( io, 204 )  ' Restart at:       ',time_restart
285       ELSE
286          WRITE ( io, 205 )  ' Restart at:       ',time_restart, dt_restart
287       ENDIF
288    ENDIF
289
290    IF ( simulated_time_at_begin /= simulated_time )  THEN
291       i = MAX ( log_point_s(10)%counts, 1 )
292       IF ( ( simulated_time - simulated_time_at_begin ) == 0.0 )  THEN
293          cpuseconds_per_simulated_second = 0.0
294       ELSE
295          cpuseconds_per_simulated_second = log_point_s(10)%sum / &
296                                            ( simulated_time -    &
297                                              simulated_time_at_begin )
298       ENDIF
299       WRITE ( io, 206 )  simulated_time, log_point_s(10)%sum, &
300                          log_point_s(10)%sum / REAL( i ),     &
301                          cpuseconds_per_simulated_second
302       IF ( time_restart /= 9999999.9  .AND.  time_restart < end_time )  THEN
303          IF ( dt_restart == 9999999.9 )  THEN
304             WRITE ( io, 204 )  ' Next restart at:  ',time_restart
305          ELSE
306             WRITE ( io, 205 )  ' Next restart at:  ',time_restart, dt_restart
307          ENDIF
308       ENDIF
309    ENDIF
310
311!
312!-- Computational grid
313    IF ( .NOT. ocean )  THEN
314       WRITE ( io, 250 )  dx, dy, dz, (nx+1)*dx, (ny+1)*dy, zu(nzt+1)
315       IF ( dz_stretch_level_index < nzt+1 )  THEN
316          WRITE ( io, 252 )  dz_stretch_level, dz_stretch_level_index, &
317                             dz_stretch_factor, dz_max
318       ENDIF
319    ELSE
320       WRITE ( io, 250 )  dx, dy, dz, (nx+1)*dx, (ny+1)*dy, zu(0)
321       IF ( dz_stretch_level_index > 0 )  THEN
322          WRITE ( io, 252 )  dz_stretch_level, dz_stretch_level_index, &
323                             dz_stretch_factor, dz_max
324       ENDIF
325    ENDIF
326    WRITE ( io, 254 )  nx, ny, nzt+1, MIN( nnx, nx+1 ), MIN( nny, ny+1 ), &
327                       MIN( nnz+2, nzt+2 )
328    IF ( numprocs > 1 )  THEN
329       IF ( nxa == nx  .AND.  nya == ny  .AND.  nza == nz )  THEN
330          WRITE ( io, 255 )
331       ELSE
332          WRITE ( io, 256 )  nnx-(nxa-nx), nny-(nya-ny), nzt+2
333       ENDIF
334    ENDIF
335    IF ( sloping_surface )  WRITE ( io, 260 )  alpha_surface
336
337!
338!-- Topography
339    WRITE ( io, 270 )  topography
340    SELECT CASE ( TRIM( topography ) )
341
342       CASE ( 'flat' )
343          ! no actions necessary
344
345       CASE ( 'single_building' )
346          blx = INT( building_length_x / dx )
347          bly = INT( building_length_y / dy )
348          bh  = INT( building_height / dz )
349
350          IF ( building_wall_left == 9999999.9 )  THEN
351             building_wall_left = ( nx + 1 - blx ) / 2 * dx
352          ENDIF
353          bxl = INT ( building_wall_left / dx + 0.5 )
354          bxr = bxl + blx
355
356          IF ( building_wall_south == 9999999.9 )  THEN
357             building_wall_south = ( ny + 1 - bly ) / 2 * dy
358          ENDIF
359          bys = INT ( building_wall_south / dy + 0.5 )
360          byn = bys + bly
361
362          WRITE ( io, 271 )  building_length_x, building_length_y, &
363                             building_height, bxl, bxr, bys, byn
364
365    END SELECT
366
367!
368!-- Boundary conditions
369    IF ( ibc_p_b == 0 )  THEN
370       runten = 'p(0)     = 0      |'
371    ELSEIF ( ibc_p_b == 1 )  THEN
372       runten = 'p(0)     = p(1)   |'
373    ELSE
374       runten = 'p(0)     = p(1) +R|'
375    ENDIF
376    IF ( ibc_p_t == 0 )  THEN
377       roben  = 'p(nzt+1) = 0      |'
378    ELSE
379       roben  = 'p(nzt+1) = p(nzt) |'
380    ENDIF
381
382    IF ( ibc_uv_b == 0 )  THEN
383       runten = TRIM( runten ) // ' uv(0)     = -uv(1)                |'
384    ELSE
385       runten = TRIM( runten ) // ' uv(0)     = uv(1)                 |'
386    ENDIF
387    IF ( TRIM( bc_uv_t ) == 'dirichlet_0' )  THEN
388       roben  = TRIM( roben  ) // ' uv(nzt+1) = 0                     |'
389    ELSEIF ( ibc_uv_t == 0 )  THEN
390       roben  = TRIM( roben  ) // ' uv(nzt+1) = ug(nzt+1), vg(nzt+1)  |'
391    ELSE
392       roben  = TRIM( roben  ) // ' uv(nzt+1) = uv(nzt)               |'
393    ENDIF
394
395    IF ( ibc_pt_b == 0 )  THEN
396       runten = TRIM( runten ) // ' pt(0)   = pt_surface'
397    ELSEIF ( ibc_pt_b == 1 )  THEN
398       runten = TRIM( runten ) // ' pt(0)   = pt(1)'
399    ELSEIF ( ibc_pt_b == 2 )  THEN
400       runten = TRIM( runten ) // ' pt(0) = from coupled model'
401    ENDIF
402    IF ( ibc_pt_t == 0 )  THEN
403       roben  = TRIM( roben  ) // ' pt(nzt+1) = pt_top'
404    ELSEIF( ibc_pt_t == 1 )  THEN
405       roben  = TRIM( roben  ) // ' pt(nzt+1) = pt(nzt)'
406    ELSEIF( ibc_pt_t == 2 )  THEN
407       roben  = TRIM( roben  ) // ' pt(nzt+1) = pt(nzt) + dpt/dz_ini'
408    ENDIF
409
410    WRITE ( io, 300 )  runten, roben
411
412    IF ( .NOT. constant_diffusion )  THEN
413       IF ( ibc_e_b == 1 )  THEN
414          runten = 'e(0)     = e(1)'
415       ELSE
416          runten = 'e(0)     = e(1) = (u*/0.1)**2'
417       ENDIF
418       roben = 'e(nzt+1) = e(nzt) = e(nzt-1)'
419
420       WRITE ( io, 301 )  'e', runten, roben       
421
422    ENDIF
423
424    IF ( ocean )  THEN
425       runten = 'sa(0)    = sa(1)'
426       IF ( ibc_sa_t == 0 )  THEN
427          roben =  'sa(nzt+1) = sa_surface'
428       ELSE
429          roben =  'sa(nzt+1) = sa(nzt)'
430       ENDIF
431       WRITE ( io, 301 ) 'sa', runten, roben
432    ENDIF
433
434    IF ( humidity )  THEN
435       IF ( ibc_q_b == 0 )  THEN
436          runten = 'q(0)     = q_surface'
437       ELSE
438          runten = 'q(0)     = q(1)'
439       ENDIF
440       IF ( ibc_q_t == 0 )  THEN
441          roben =  'q(nzt)   = q_top'
442       ELSE
443          roben =  'q(nzt)   = q(nzt-1) + dq/dz'
444       ENDIF
445       WRITE ( io, 301 ) 'q', runten, roben
446    ENDIF
447
448    IF ( passive_scalar )  THEN
449       IF ( ibc_q_b == 0 )  THEN
450          runten = 's(0)     = s_surface'
451       ELSE
452          runten = 's(0)     = s(1)'
453       ENDIF
454       IF ( ibc_q_t == 0 )  THEN
455          roben =  's(nzt)   = s_top'
456       ELSE
457          roben =  's(nzt)   = s(nzt-1) + ds/dz'
458       ENDIF
459       WRITE ( io, 301 ) 's', runten, roben
460    ENDIF
461
462    IF ( use_surface_fluxes )  THEN
463       WRITE ( io, 303 )
464       IF ( constant_heatflux )  THEN
465          WRITE ( io, 306 )  surface_heatflux
466          IF ( random_heatflux )  WRITE ( io, 307 )
467       ENDIF
468       IF ( humidity  .AND.  constant_waterflux )  THEN
469          WRITE ( io, 311 ) surface_waterflux
470       ENDIF
471       IF ( passive_scalar  .AND.  constant_waterflux )  THEN
472          WRITE ( io, 313 ) surface_waterflux
473       ENDIF
474    ENDIF
475
476    IF ( use_top_fluxes )  THEN
477       WRITE ( io, 304 )
478       IF ( coupling_mode == 'uncoupled' )  THEN
479          WRITE ( io, 319 )  top_momentumflux_u, top_momentumflux_v
480          IF ( constant_top_heatflux )  THEN
481             WRITE ( io, 306 )  top_heatflux
482          ENDIF
483       ELSEIF ( coupling_mode == 'ocean_to_atmosphere' )  THEN
484          WRITE ( io, 316 )
485       ENDIF
486       IF ( ocean  .AND.  constant_top_salinityflux )  THEN
487          WRITE ( io, 309 )  top_salinityflux
488       ENDIF
489       IF ( humidity  .OR.  passive_scalar )  THEN
490          WRITE ( io, 315 )
491       ENDIF
492    ENDIF
493
494    IF ( prandtl_layer )  THEN
495       WRITE ( io, 305 )  0.5 * (zu(1)-zu(0)), roughness_length, kappa, &
496                          rif_min, rif_max
497       IF ( .NOT. constant_heatflux )  WRITE ( io, 308 )
498       IF ( humidity  .AND.  .NOT. constant_waterflux )  THEN
499          WRITE ( io, 312 )
500       ENDIF
501       IF ( passive_scalar  .AND.  .NOT. constant_waterflux )  THEN
502          WRITE ( io, 314 )
503       ENDIF
504    ELSE
505       IF ( INDEX(initializing_actions, 'set_1d-model_profiles') /= 0 )  THEN
506          WRITE ( io, 310 )  rif_min, rif_max
507       ENDIF
508    ENDIF
509
510    WRITE ( io, 317 )  bc_lr, bc_ns
511    IF ( bc_lr /= 'cyclic'  .OR.  bc_ns /= 'cyclic' )  THEN
512       WRITE ( io, 318 )  outflow_damping_width, km_damp_max
513    ENDIF
514
515!
516!-- Listing of 1D-profiles
517    WRITE ( io, 320 )  dt_dopr_listing
518    IF ( averaging_interval_pr /= 0.0 )  THEN
519       WRITE ( io, 321 )  averaging_interval_pr, dt_averaging_input_pr
520    ENDIF
521
522!
523!-- DATA output
524    WRITE ( io, 330 )
525    IF ( averaging_interval_pr /= 0.0 )  THEN
526       WRITE ( io, 321 )  averaging_interval_pr, dt_averaging_input_pr
527    ENDIF
528
529!
530!-- 1D-profiles
531    dopr_chr = 'Profile:'
532    IF ( dopr_n /= 0 )  THEN
533       WRITE ( io, 331 )
534
535       output_format = ''
536       IF ( netcdf_output )  THEN
537          IF ( netcdf_64bit )  THEN
538             output_format = 'netcdf (64 bit offset)'
539          ELSE
540             output_format = 'netcdf'
541          ENDIF
542       ENDIF
543       IF ( profil_output )  THEN
544          IF ( netcdf_output )  THEN
545             output_format = TRIM( output_format ) // ' and profil'
546          ELSE
547             output_format = 'profil'
548          ENDIF
549       ENDIF
550       WRITE ( io, 345 )  output_format
551
552       DO  i = 1, dopr_n
553          dopr_chr = TRIM( dopr_chr ) // ' ' // TRIM( data_output_pr(i) ) // ','
554          IF ( LEN_TRIM( dopr_chr ) >= 60 )  THEN
555             WRITE ( io, 332 )  dopr_chr
556             dopr_chr = '       :'
557          ENDIF
558       ENDDO
559
560       IF ( dopr_chr /= '' )  THEN
561          WRITE ( io, 332 )  dopr_chr
562       ENDIF
563       WRITE ( io, 333 )  dt_dopr, averaging_interval_pr, dt_averaging_input_pr
564       IF ( skip_time_dopr /= 0.0 )  WRITE ( io, 339 )  skip_time_dopr
565    ENDIF
566
567!
568!-- 2D-arrays
569    DO  av = 0, 1
570
571       i = 1
572       do2d_xy = ''
573       do2d_xz = ''
574       do2d_yz = ''
575       DO  WHILE ( do2d(av,i) /= ' ' )
576
577          l = MAX( 2, LEN_TRIM( do2d(av,i) ) )
578          do2d_mode = do2d(av,i)(l-1:l)
579
580          SELECT CASE ( do2d_mode )
581             CASE ( 'xy' )
582                ll = LEN_TRIM( do2d_xy )
583                do2d_xy = do2d_xy(1:ll) // ' ' // do2d(av,i)(1:l-3) // ','
584             CASE ( 'xz' )
585                ll = LEN_TRIM( do2d_xz )
586                do2d_xz = do2d_xz(1:ll) // ' ' // do2d(av,i)(1:l-3) // ','
587             CASE ( 'yz' )
588                ll = LEN_TRIM( do2d_yz )
589                do2d_yz = do2d_yz(1:ll) // ' ' // do2d(av,i)(1:l-3) // ','
590          END SELECT
591
592          i = i + 1
593
594       ENDDO
595
596       IF ( ( ( do2d_xy /= ''  .AND.  section(1,1) /= -9999 )  .OR.    &
597              ( do2d_xz /= ''  .AND.  section(1,2) /= -9999 )  .OR.    &
598              ( do2d_yz /= ''  .AND.  section(1,3) /= -9999 ) )  .AND. &
599            ( netcdf_output  .OR.  iso2d_output ) )  THEN
600
601          IF (  av == 0 )  THEN
602             WRITE ( io, 334 )  ''
603          ELSE
604             WRITE ( io, 334 )  '(time-averaged)'
605          ENDIF
606
607          IF ( do2d_at_begin )  THEN
608             begin_chr = 'and at the start'
609          ELSE
610             begin_chr = ''
611          ENDIF
612
613          output_format = ''
614          IF ( netcdf_output )  THEN
615             IF ( netcdf_64bit )  THEN
616                output_format = 'netcdf (64 bit offset)'
617             ELSE
618                output_format = 'netcdf'
619             ENDIF
620          ENDIF
621          IF ( iso2d_output )  THEN
622             IF ( netcdf_output )  THEN
623                output_format = TRIM( output_format ) // ' and iso2d'
624             ELSE
625                output_format = 'iso2d'
626             ENDIF
627          ENDIF
628          WRITE ( io, 345 )  output_format
629
630          IF ( do2d_xy /= ''  .AND.  section(1,1) /= -9999 )  THEN
631             i = 1
632             slices = '/'
633             coordinates = '/'
634!
635!--          Building strings with index and coordinate informations of the
636!--          slices
637             DO  WHILE ( section(i,1) /= -9999 )
638
639                WRITE (section_chr,'(I5)')  section(i,1)
640                section_chr = ADJUSTL( section_chr )
641                slices = TRIM( slices ) // TRIM( section_chr ) // '/'
642
643                WRITE (coor_chr,'(F10.1)')  zu(section(i,1))
644                coor_chr = ADJUSTL( coor_chr )
645                coordinates = TRIM( coordinates ) // TRIM( coor_chr ) // '/'
646
647                i = i + 1
648             ENDDO
649             IF ( av == 0 )  THEN
650                WRITE ( io, 335 )  'XY', do2d_xy, dt_do2d_xy, &
651                                   TRIM( begin_chr ), 'k', TRIM( slices ), &
652                                   TRIM( coordinates )
653                IF ( skip_time_do2d_xy /= 0.0 )  THEN
654                   WRITE ( io, 339 )  skip_time_do2d_xy
655                ENDIF
656             ELSE
657                WRITE ( io, 342 )  'XY', do2d_xy, dt_data_output_av, &
658                                   TRIM( begin_chr ), averaging_interval, &
659                                   dt_averaging_input, 'k', TRIM( slices ), &
660                                   TRIM( coordinates )
661                IF ( skip_time_data_output_av /= 0.0 )  THEN
662                   WRITE ( io, 339 )  skip_time_data_output_av
663                ENDIF
664             ENDIF
665
666          ENDIF
667
668          IF ( do2d_xz /= ''  .AND.  section(1,2) /= -9999 )  THEN
669             i = 1
670             slices = '/'
671             coordinates = '/'
672!
673!--          Building strings with index and coordinate informations of the
674!--          slices
675             DO  WHILE ( section(i,2) /= -9999 )
676
677                WRITE (section_chr,'(I5)')  section(i,2)
678                section_chr = ADJUSTL( section_chr )
679                slices = TRIM( slices ) // TRIM( section_chr ) // '/'
680
681                WRITE (coor_chr,'(F10.1)')  section(i,2) * dy
682                coor_chr = ADJUSTL( coor_chr )
683                coordinates = TRIM( coordinates ) // TRIM( coor_chr ) // '/'
684
685                i = i + 1
686             ENDDO
687             IF ( av == 0 )  THEN
688                WRITE ( io, 335 )  'XZ', do2d_xz, dt_do2d_xz, &
689                                   TRIM( begin_chr ), 'j', TRIM( slices ), &
690                                   TRIM( coordinates )
691                IF ( skip_time_do2d_xz /= 0.0 )  THEN
692                   WRITE ( io, 339 )  skip_time_do2d_xz
693                ENDIF
694             ELSE
695                WRITE ( io, 342 )  'XZ', do2d_xz, dt_data_output_av, &
696                                   TRIM( begin_chr ), averaging_interval, &
697                                   dt_averaging_input, 'j', TRIM( slices ), &
698                                   TRIM( coordinates )
699                IF ( skip_time_data_output_av /= 0.0 )  THEN
700                   WRITE ( io, 339 )  skip_time_data_output_av
701                ENDIF
702             ENDIF
703          ENDIF
704
705          IF ( do2d_yz /= ''  .AND.  section(1,3) /= -9999 )  THEN
706             i = 1
707             slices = '/'
708             coordinates = '/'
709!
710!--          Building strings with index and coordinate informations of the
711!--          slices
712             DO  WHILE ( section(i,3) /= -9999 )
713
714                WRITE (section_chr,'(I5)')  section(i,3)
715                section_chr = ADJUSTL( section_chr )
716                slices = TRIM( slices ) // TRIM( section_chr ) // '/'
717
718                WRITE (coor_chr,'(F10.1)')  section(i,3) * dx
719                coor_chr = ADJUSTL( coor_chr )
720                coordinates = TRIM( coordinates ) // TRIM( coor_chr ) // '/'
721
722                i = i + 1
723             ENDDO
724             IF ( av == 0 )  THEN
725                WRITE ( io, 335 )  'YZ', do2d_yz, dt_do2d_yz, &
726                                   TRIM( begin_chr ), 'i', TRIM( slices ), &
727                                   TRIM( coordinates )
728                IF ( skip_time_do2d_yz /= 0.0 )  THEN
729                   WRITE ( io, 339 )  skip_time_do2d_yz
730                ENDIF
731             ELSE
732                WRITE ( io, 342 )  'YZ', do2d_yz, dt_data_output_av, &
733                                   TRIM( begin_chr ), averaging_interval, &
734                                   dt_averaging_input, 'i', TRIM( slices ), &
735                                   TRIM( coordinates )
736                IF ( skip_time_data_output_av /= 0.0 )  THEN
737                   WRITE ( io, 339 )  skip_time_data_output_av
738                ENDIF
739             ENDIF
740          ENDIF
741
742       ENDIF
743
744    ENDDO
745
746!
747!-- 3d-arrays
748    DO  av = 0, 1
749
750       i = 1
751       do3d_chr = ''
752       DO  WHILE ( do3d(av,i) /= ' ' )
753
754          do3d_chr = TRIM( do3d_chr ) // ' ' // TRIM( do3d(av,i) ) // ','
755          i = i + 1
756
757       ENDDO
758
759       IF ( do3d_chr /= '' )  THEN
760          IF ( av == 0 )  THEN
761             WRITE ( io, 336 )  ''
762          ELSE
763             WRITE ( io, 336 )  '(time-averaged)'
764          ENDIF
765
766          output_format = ''
767          IF ( netcdf_output )  THEN
768             IF ( netcdf_64bit .AND. netcdf_64bit_3d )  THEN
769                output_format = 'netcdf (64 bit offset)'
770             ELSE
771                output_format = 'netcdf'
772             ENDIF
773          ENDIF
774          IF ( avs_output )  THEN
775             IF ( netcdf_output )  THEN
776                output_format = TRIM( output_format ) // ' and avs'
777             ELSE
778                output_format = 'avs'
779             ENDIF
780          ENDIF
781          WRITE ( io, 345 )  output_format
782
783          IF ( do3d_at_begin )  THEN
784             begin_chr = 'and at the start'
785          ELSE
786             begin_chr = ''
787          ENDIF
788          IF ( av == 0 )  THEN
789             WRITE ( io, 337 )  do3d_chr, dt_do3d, TRIM( begin_chr ), &
790                                zu(nz_do3d), nz_do3d
791          ELSE
792             WRITE ( io, 343 )  do3d_chr, dt_data_output_av,           &
793                                TRIM( begin_chr ), averaging_interval, &
794                                dt_averaging_input, zu(nz_do3d), nz_do3d
795          ENDIF
796
797          IF ( do3d_compress )  THEN
798             do3d_chr = ''
799             i = 1
800             DO WHILE ( do3d(av,i) /= ' ' )
801
802                SELECT CASE ( do3d(av,i) )
803                   CASE ( 'u' )
804                      j = 1
805                   CASE ( 'v' )
806                      j = 2
807                   CASE ( 'w' )
808                      j = 3
809                   CASE ( 'p' )
810                      j = 4
811                   CASE ( 'pt' )
812                      j = 5
813                END SELECT
814                WRITE ( prec, '(I1)' )  plot_3d_precision(j)%precision
815                do3d_chr = TRIM( do3d_chr ) // ' ' // TRIM( do3d(av,i) ) // &
816                           ':' // prec // ','
817                i = i + 1
818
819             ENDDO
820             WRITE ( io, 338 )  do3d_chr
821
822          ENDIF
823
824          IF ( av == 0 )  THEN
825             IF ( skip_time_do3d /= 0.0 )  THEN
826                WRITE ( io, 339 )  skip_time_do3d
827             ENDIF
828          ELSE
829             IF ( skip_time_data_output_av /= 0.0 )  THEN
830                WRITE ( io, 339 )  skip_time_data_output_av
831             ENDIF
832          ENDIF
833
834       ENDIF
835
836    ENDDO
837
838!
839!-- Timeseries
840    IF ( dt_dots /= 9999999.9 )  THEN
841       WRITE ( io, 340 )
842
843       output_format = ''
844       IF ( netcdf_output )  THEN
845          IF ( netcdf_64bit )  THEN
846             output_format = 'netcdf (64 bit offset)'
847          ELSE
848             output_format = 'netcdf'
849          ENDIF
850       ENDIF
851       IF ( profil_output )  THEN
852          IF ( netcdf_output )  THEN
853             output_format = TRIM( output_format ) // ' and profil'
854          ELSE
855             output_format = 'profil'
856          ENDIF
857       ENDIF
858       WRITE ( io, 345 )  output_format
859       WRITE ( io, 341 )  dt_dots
860    ENDIF
861
862#if defined( __dvrp_graphics )
863!
864!-- Dvrp-output
865    IF ( dt_dvrp /= 9999999.9 )  THEN
866       WRITE ( io, 360 )  dt_dvrp, TRIM( dvrp_output ), TRIM( dvrp_host ), &
867                          TRIM( dvrp_username ), TRIM( dvrp_directory )
868       i = 1
869       l = 0
870       DO WHILE ( mode_dvrp(i) /= ' ' )
871          IF ( mode_dvrp(i)(1:10) == 'isosurface' )  THEN
872             READ ( mode_dvrp(i), '(10X,I2)' )  j
873             l = l + 1
874             IF ( do3d(0,j) /= ' ' )  THEN
875                WRITE ( io, 361 )  TRIM( do3d(0,j) ), threshold(l)
876             ENDIF
877          ELSEIF ( mode_dvrp(i)(1:6) == 'slicer' )  THEN
878             READ ( mode_dvrp(i), '(6X,I2)' )  j
879             IF ( do2d(0,j) /= ' ' )  WRITE ( io, 362 )  TRIM( do2d(0,j) )
880          ELSEIF ( mode_dvrp(i)(1:9) == 'particles' )  THEN
881             WRITE ( io, 363 )
882          ENDIF
883          i = i + 1
884       ENDDO
885    ENDIF
886#endif
887
888#if defined( __spectra )
889!
890!-- Spectra output
891    IF ( dt_dosp /= 9999999.9 ) THEN
892       WRITE ( io, 370 )
893
894       output_format = ''
895       IF ( netcdf_output )  THEN
896          IF ( netcdf_64bit )  THEN
897             output_format = 'netcdf (64 bit offset)'
898          ELSE
899             output_format = 'netcdf'
900          ENDIF
901       ENDIF
902       IF ( profil_output )  THEN
903          IF ( netcdf_output )  THEN
904             output_format = TRIM( output_format ) // ' and profil'
905          ELSE
906             output_format = 'profil'
907          ENDIF
908       ENDIF
909       WRITE ( io, 345 )  output_format
910       WRITE ( io, 371 )  dt_dosp
911       IF ( skip_time_dosp /= 0.0 )  WRITE ( io, 339 )  skip_time_dosp
912       WRITE ( io, 372 )  ( data_output_sp(i), i = 1,10 ),     &
913                          ( spectra_direction(i), i = 1,10 ),  &
914                          ( comp_spectra_level(i), i = 1,10 ), &
915                          ( plot_spectra_level(i), i = 1,10 ), &
916                          averaging_interval_sp, dt_averaging_input_pr
917    ENDIF
918#endif
919
920    WRITE ( io, 99 )
921
922!
923!-- Physical quantities
924    WRITE ( io, 400 )
925
926!
927!-- Geostrophic parameters
928    WRITE ( io, 410 )  omega, phi, f, fs
929
930!
931!-- Other quantities
932    WRITE ( io, 411 )  g
933    IF ( use_reference )  THEN
934       IF ( ocean )  THEN
935          WRITE ( io, 412 )  prho_reference
936       ELSE
937          WRITE ( io, 413 )  pt_reference
938       ENDIF
939    ENDIF
940
941!
942!-- Cloud physics parameters
943    IF ( cloud_physics ) THEN
944       WRITE ( io, 415 )
945       WRITE ( io, 416 ) surface_pressure, r_d, rho_surface, cp, l_v
946    ENDIF
947
948!-- Profile of the geostrophic wind (component ug)
949!-- Building output strings
950    WRITE ( ugcomponent, '(F6.2)' )  ug_surface
951    gradients = '------'
952    slices = '     0'
953    coordinates = '   0.0'
954    i = 1
955    DO  WHILE ( ug_vertical_gradient_level_ind(i) /= -9999 )
956     
957       WRITE (coor_chr,'(F6.2,4X)')  ug(ug_vertical_gradient_level_ind(i))
958       ugcomponent = TRIM( ugcomponent ) // '  ' // TRIM( coor_chr )
959
960       WRITE (coor_chr,'(F6.2,4X)')  ug_vertical_gradient(i)
961       gradients = TRIM( gradients ) // '  ' // TRIM( coor_chr )
962
963       WRITE (coor_chr,'(I6,4X)')  ug_vertical_gradient_level_ind(i)
964       slices = TRIM( slices ) // '  ' // TRIM( coor_chr )
965
966       WRITE (coor_chr,'(F6.1,4X)')  ug_vertical_gradient_level(i)
967       coordinates = TRIM( coordinates ) // '  ' // TRIM( coor_chr )
968
969       i = i + 1
970    ENDDO
971
972    WRITE ( io, 423 )  TRIM( coordinates ), TRIM( ugcomponent ), &
973                       TRIM( gradients ), TRIM( slices )
974
975!-- Profile of the geostrophic wind (component vg)
976!-- Building output strings
977    WRITE ( vgcomponent, '(F6.2)' )  vg_surface
978    gradients = '------'
979    slices = '     0'
980    coordinates = '   0.0'
981    i = 1
982    DO  WHILE ( vg_vertical_gradient_level_ind(i) /= -9999 )
983
984       WRITE (coor_chr,'(F6.2,4X)')  vg(vg_vertical_gradient_level_ind(i))
985       vgcomponent = TRIM( vgcomponent ) // '  ' // TRIM( coor_chr )
986
987       WRITE (coor_chr,'(F6.2,4X)')  vg_vertical_gradient(i)
988       gradients = TRIM( gradients ) // '  ' // TRIM( coor_chr )
989
990       WRITE (coor_chr,'(I6,4X)')  vg_vertical_gradient_level_ind(i)
991       slices = TRIM( slices ) // '  ' // TRIM( coor_chr )
992
993       WRITE (coor_chr,'(F6.1,4X)')  vg_vertical_gradient_level(i)
994       coordinates = TRIM( coordinates ) // '  ' // TRIM( coor_chr )
995
996       i = i + 1 
997    ENDDO
998
999    WRITE ( io, 424 )  TRIM( coordinates ), TRIM( vgcomponent ), &
1000                       TRIM( gradients ), TRIM( slices )
1001
1002!
1003!-- Initial temperature profile
1004!-- Building output strings, starting with surface temperature
1005    WRITE ( temperatures, '(F6.2)' )  pt_surface
1006    gradients = '------'
1007    slices = '     0'
1008    coordinates = '   0.0'
1009    i = 1
1010    DO  WHILE ( pt_vertical_gradient_level_ind(i) /= -9999 )
1011
1012       WRITE (coor_chr,'(F7.2)')  pt_init(pt_vertical_gradient_level_ind(i))
1013       temperatures = TRIM( temperatures ) // ' ' // TRIM( coor_chr )
1014
1015       WRITE (coor_chr,'(F7.2)')  pt_vertical_gradient(i)
1016       gradients = TRIM( gradients ) // ' ' // TRIM( coor_chr )
1017
1018       WRITE (coor_chr,'(I7)')  pt_vertical_gradient_level_ind(i)
1019       slices = TRIM( slices ) // ' ' // TRIM( coor_chr )
1020
1021       WRITE (coor_chr,'(F7.1)')  pt_vertical_gradient_level(i)
1022       coordinates = TRIM( coordinates ) // ' '  // TRIM( coor_chr )
1023
1024       i = i + 1
1025    ENDDO
1026
1027    WRITE ( io, 420 )  TRIM( coordinates ), TRIM( temperatures ), &
1028                       TRIM( gradients ), TRIM( slices )
1029
1030!
1031!-- Initial humidity profile
1032!-- Building output strings, starting with surface humidity
1033    IF ( humidity  .OR.  passive_scalar )  THEN
1034       WRITE ( temperatures, '(E8.1)' )  q_surface
1035       gradients = '--------'
1036       slices = '       0'
1037       coordinates = '     0.0'
1038       i = 1
1039       DO  WHILE ( q_vertical_gradient_level_ind(i) /= -9999 )
1040         
1041          WRITE (coor_chr,'(E8.1,4X)')  q_init(q_vertical_gradient_level_ind(i))
1042          temperatures = TRIM( temperatures ) // '  ' // TRIM( coor_chr )
1043
1044          WRITE (coor_chr,'(E8.1,4X)')  q_vertical_gradient(i)
1045          gradients = TRIM( gradients ) // '  ' // TRIM( coor_chr )
1046         
1047          WRITE (coor_chr,'(I8,4X)')  q_vertical_gradient_level_ind(i)
1048          slices = TRIM( slices ) // '  ' // TRIM( coor_chr )
1049         
1050          WRITE (coor_chr,'(F8.1,4X)')  q_vertical_gradient_level(i)
1051          coordinates = TRIM( coordinates ) // '  '  // TRIM( coor_chr )
1052
1053          i = i + 1
1054       ENDDO
1055
1056       IF ( humidity )  THEN
1057          WRITE ( io, 421 )  TRIM( coordinates ), TRIM( temperatures ), &
1058                             TRIM( gradients ), TRIM( slices )
1059       ELSE
1060          WRITE ( io, 422 )  TRIM( coordinates ), TRIM( temperatures ), &
1061                             TRIM( gradients ), TRIM( slices )
1062       ENDIF
1063    ENDIF
1064
1065!
1066!-- Initial salinity profile
1067!-- Building output strings, starting with surface salinity
1068    IF ( ocean )  THEN
1069       WRITE ( temperatures, '(F6.2)' )  sa_surface
1070       gradients = '------'
1071       slices = '     0'
1072       coordinates = '   0.0'
1073       i = 1
1074       DO  WHILE ( sa_vertical_gradient_level_ind(i) /= -9999 )
1075
1076          WRITE (coor_chr,'(F7.2)')  sa_init(sa_vertical_gradient_level_ind(i))
1077          temperatures = TRIM( temperatures ) // ' ' // TRIM( coor_chr )
1078
1079          WRITE (coor_chr,'(F7.2)')  sa_vertical_gradient(i)
1080          gradients = TRIM( gradients ) // ' ' // TRIM( coor_chr )
1081
1082          WRITE (coor_chr,'(I7)')  sa_vertical_gradient_level_ind(i)
1083          slices = TRIM( slices ) // ' ' // TRIM( coor_chr )
1084
1085          WRITE (coor_chr,'(F7.1)')  sa_vertical_gradient_level(i)
1086          coordinates = TRIM( coordinates ) // ' '  // TRIM( coor_chr )
1087
1088          i = i + 1
1089       ENDDO
1090
1091       WRITE ( io, 425 )  TRIM( coordinates ), TRIM( temperatures ), &
1092                          TRIM( gradients ), TRIM( slices )
1093    ENDIF
1094
1095!
1096!-- LES / turbulence parameters
1097    WRITE ( io, 450 )
1098
1099!--
1100! ... LES-constants used must still be added here
1101!--
1102    IF ( constant_diffusion )  THEN
1103       WRITE ( io, 451 )  km_constant, km_constant/prandtl_number, &
1104                          prandtl_number
1105    ENDIF
1106    IF ( .NOT. constant_diffusion)  THEN
1107       IF ( e_init > 0.0 )  WRITE ( io, 455 )  e_init
1108       IF ( e_min > 0.0 )  WRITE ( io, 454 )  e_min
1109       IF ( wall_adjustment )  WRITE ( io, 453 )  wall_adjustment_factor
1110       IF ( adjust_mixing_length  .AND.  prandtl_layer )  WRITE ( io, 452 )
1111    ENDIF
1112
1113!
1114!-- Special actions during the run
1115    WRITE ( io, 470 )
1116    IF ( create_disturbances )  THEN
1117       WRITE ( io, 471 )  dt_disturb, disturbance_amplitude,                   &
1118                          zu(disturbance_level_ind_b), disturbance_level_ind_b,&
1119                          zu(disturbance_level_ind_t), disturbance_level_ind_t
1120       IF ( bc_lr /= 'cyclic'  .OR.  bc_ns /= 'cyclic' )  THEN
1121          WRITE ( io, 472 )  inflow_disturbance_begin, inflow_disturbance_end
1122       ELSE
1123          WRITE ( io, 473 )  disturbance_energy_limit
1124       ENDIF
1125       WRITE ( io, 474 )  TRIM( random_generator )
1126    ENDIF
1127    IF ( pt_surface_initial_change /= 0.0 )  THEN
1128       WRITE ( io, 475 )  pt_surface_initial_change
1129    ENDIF
1130    IF ( humidity  .AND.  q_surface_initial_change /= 0.0 )  THEN
1131       WRITE ( io, 476 )  q_surface_initial_change       
1132    ENDIF
1133    IF ( passive_scalar  .AND.  q_surface_initial_change /= 0.0 )  THEN
1134       WRITE ( io, 477 )  q_surface_initial_change       
1135    ENDIF
1136
1137    IF ( particle_advection )  THEN
1138!
1139!--    Particle attributes
1140       WRITE ( io, 480 )  particle_advection_start, dt_prel, bc_par_lr, &
1141                          bc_par_ns, bc_par_b, bc_par_t, particle_maximum_age, &
1142                          end_time_prel, dt_sort_particles
1143       IF ( use_sgs_for_particles )  WRITE ( io, 488 )  dt_min_part
1144       IF ( random_start_position )  WRITE ( io, 481 )
1145       IF ( particles_per_point > 1 )  WRITE ( io, 489 )  particles_per_point
1146       WRITE ( io, 495 )  total_number_of_particles
1147       IF ( .NOT. vertical_particle_advection )  WRITE ( io, 482 )
1148       IF ( maximum_number_of_tailpoints /= 0 )  THEN
1149          WRITE ( io, 483 )  maximum_number_of_tailpoints
1150          IF ( minimum_tailpoint_distance /= 0 )  THEN
1151             WRITE ( io, 484 )  total_number_of_tails,      &
1152                                minimum_tailpoint_distance, &
1153                                maximum_tailpoint_age
1154          ENDIF
1155       ENDIF
1156       IF ( dt_write_particle_data /= 9999999.9 )  THEN
1157          WRITE ( io, 485 )  dt_write_particle_data
1158          output_format = ''
1159          IF ( netcdf_output )  THEN
1160             IF ( netcdf_64bit )  THEN
1161                output_format = 'netcdf (64 bit offset) and binary'
1162             ELSE
1163                output_format = 'netcdf and binary'
1164             ENDIF
1165          ELSE
1166             output_format = 'binary'
1167          ENDIF
1168          WRITE ( io, 345 )  output_format
1169       ENDIF
1170       IF ( dt_dopts /= 9999999.9 )  WRITE ( io, 494 )  dt_dopts
1171       IF ( write_particle_statistics )  WRITE ( io, 486 )
1172
1173       WRITE ( io, 487 )  number_of_particle_groups
1174
1175       DO  i = 1, number_of_particle_groups
1176          IF ( i == 1  .AND.  density_ratio(i) == 9999999.9 )  THEN
1177             WRITE ( io, 490 )  i, 0.0
1178             WRITE ( io, 492 )
1179          ELSE
1180             WRITE ( io, 490 )  i, radius(i)
1181             IF ( density_ratio(i) /= 0.0 )  THEN
1182                WRITE ( io, 491 )  density_ratio(i)
1183             ELSE
1184                WRITE ( io, 492 )
1185             ENDIF
1186          ENDIF
1187          WRITE ( io, 493 )  psl(i), psr(i), pss(i), psn(i), psb(i), pst(i), &
1188                             pdx(i), pdy(i), pdz(i)
1189       ENDDO
1190
1191    ENDIF
1192
1193
1194!
1195!-- Parameters of 1D-model
1196    IF ( INDEX( initializing_actions, 'set_1d-model_profiles' ) /= 0 )  THEN
1197       WRITE ( io, 500 )  end_time_1d, dt_run_control_1d, dt_pr_1d, &
1198                          mixing_length_1d, dissipation_1d
1199       IF ( damp_level_ind_1d /= nzt+1 )  THEN
1200          WRITE ( io, 502 )  zu(damp_level_ind_1d), damp_level_ind_1d
1201       ENDIF
1202    ENDIF
1203
1204!
1205!-- User-defined informations
1206    CALL user_header( io )
1207
1208    WRITE ( io, 99 )
1209
1210!
1211!-- Write buffer contents to disc immediately
1212    CALL local_flush( io )
1213
1214!
1215!-- Here the FORMATs start
1216
1217 99 FORMAT (1X,78('-'))
1218100 FORMAT (/1X,'*************************',11X,42('-')/        &
1219            1X,'* ',A,' *',11X,A/                               &
1220            1X,'*************************',11X,42('-'))
1221101 FORMAT (37X,'coupled run: ',A/ &
1222            37X,42('-'))
1223102 FORMAT (/' Date:            ',A8,11X,'Run:       ',A20/      &
1224            ' Time:            ',A8,11X,'Run-No.:   ',I2.2/     &
1225            ' Run on host:   ',A10)
1226#if defined( __parallel )
1227103 FORMAT (' Number of PEs:',7X,I4,11X,'Processor grid (x,y): (',I3,',',I3, &
1228              ')',1X,A)
1229104 FORMAT (' Number of PEs:',7X,I4,11X,'Tasks:',I4,'   threads per task:',I4/ &
1230              37X,'Processor grid (x,y): (',I3,',',I3,')',1X,A)
1231105 FORMAT (37X,'One additional PE is used to handle'/37X,'the dvrp output!')
1232106 FORMAT (37X,'A 1d-decomposition along x is forced'/ &
1233            37X,'because the job is running on an SMP-cluster')
1234107 FORMAT (37X,'A 1d-decomposition along ',A,' is used')
1235#endif
1236110 FORMAT (/' Numerical Schemes:'/ &
1237             ' -----------------'/)
1238111 FORMAT (' --> Solve perturbation pressure via FFT using ',A,' routines')
1239112 FORMAT (' --> Solve perturbation pressure via SOR-Red/Black-Schema'/ &
1240            '     Iterations (initial/other): ',I3,'/',I3,'  omega = ',F5.3)
1241113 FORMAT (' --> Momentum advection via Piascek-Williams-Scheme (Form C3)', &
1242                  ' or Upstream')
1243114 FORMAT (' --> Momentum advection via Upstream-Spline-Scheme')
1244115 FORMAT ('     Tendencies are smoothed via Long-Filter with factor ',F5.3) 
1245116 FORMAT (' --> Scalar advection via Piascek-Williams-Scheme (Form C3)', &
1246                  ' or Upstream')
1247117 FORMAT (' --> Scalar advection via Upstream-Spline-Scheme')
1248118 FORMAT (' --> Scalar advection via Bott-Chlond-Scheme')
1249119 FORMAT (' --> Galilei-Transform applied to horizontal advection', &
1250            '     Translation velocity = ',A/ &
1251            '     distance advected ',A,':  ',F8.3,' km(x)  ',F8.3,' km(y)')
1252120 FORMAT (' --> Time differencing scheme: leapfrog only (no euler in case', &
1253                  ' of timestep changes)')
1254121 FORMAT (' --> Time differencing scheme: leapfrog + euler in case of', &
1255                  ' timestep changes')
1256122 FORMAT (' --> Time differencing scheme: ',A)
1257123 FORMAT (' --> Rayleigh-Damping active, starts ',A,' z = ',F8.2,' m'/ &
1258            '     maximum damping coefficient: ',F5.3, ' 1/s')
1259124 FORMAT ('     Spline-overshoots are being suppressed')
1260125 FORMAT ('     Upstream-Scheme is used if Upstream-differences fall short', &
1261                  ' of'/                                                       &
1262            '     delta_u = ',F6.4,4X,'delta_v = ',F6.4,4X,'delta_w = ',F6.4)
1263126 FORMAT ('     Upstream-Scheme is used if Upstream-differences fall short', &
1264                  ' of'/                                                       &
1265            '     delta_e = ',F6.4,4X,'delta_pt = ',F6.4)
1266127 FORMAT ('     The following absolute overshoot differences are tolerated:'/&
1267            '     delta_u = ',F6.4,4X,'delta_v = ',F6.4,4X,'delta_w = ',F6.4)
1268128 FORMAT ('     The following absolute overshoot differences are tolerated:'/&
1269            '     delta_e = ',F6.4,4X,'delta_pt = ',F6.4)
1270129 FORMAT (' --> Additional prognostic equation for the specific humidity')
1271130 FORMAT (' --> Additional prognostic equation for the total water content')
1272131 FORMAT (' --> Parameterization of condensation processes via (0%-or100%)')
1273132 FORMAT (' --> Parameterization of long-wave radiation processes via'/ &
1274            '     effective emissivity scheme')
1275133 FORMAT (' --> Precipitation parameterization via Kessler-Scheme')
1276134 FORMAT (' --> Additional prognostic equation for a passive scalar')
1277135 FORMAT (' --> Solve perturbation pressure via multigrid method (', &
1278                  A,'-cycle)'/ &
1279            '     number of grid levels:                   ',I2/ &
1280            '     Gauss-Seidel red/black iterations:       ',I2)
1281136 FORMAT ('     gridpoints of coarsest subdomain (x,y,z): (',I3,',',I3,',', &
1282                  I3,')')
1283137 FORMAT ('     level data gathered on PE0 at level:     ',I2/ &
1284            '     gridpoints of coarsest subdomain (x,y,z): (',I3,',',I3,',', &
1285                  I3,')'/ &
1286            '     gridpoints of coarsest domain (x,y,z):    (',I3,',',I3,',', &
1287                  I3,')')
1288138 FORMAT ('     Using hybrid version for 1d-domain-decomposition')
1289139 FORMAT (' --> Loop optimization method: ',A)
1290140 FORMAT ('     maximum residual allowed:                ',E10.3)
1291141 FORMAT ('     fixed number of multigrid cycles:        ',I4)
1292142 FORMAT ('     perturbation pressure is calculated at every Runge-Kutta ', &
1293                  'step')
1294143 FORMAT ('     Euler/upstream scheme is used for the SGS turbulent ', &
1295                  'kinetic energy')
1296150 FORMAT (' --> Volume flow at the right and north boundary will be ', &
1297                  'conserved')
1298200 FORMAT (//' Run time and time step information:'/ &
1299             ' ----------------------------------'/)
1300201 FORMAT ( ' Timestep:          variable     maximum value: ',F6.3,' s', &
1301             '    CFL-factor: ',F4.2)
1302202 FORMAT ( ' Timestep:       dt = ',F6.3,' s'/)
1303203 FORMAT ( ' Start time:       ',F9.3,' s'/ &
1304             ' End time:         ',F9.3,' s')
1305204 FORMAT ( A,F9.3,' s')
1306205 FORMAT ( A,F9.3,' s',5X,'restart every',17X,F9.3,' s')
1307206 FORMAT (/' Time reached:     ',F9.3,' s'/ &
1308             ' CPU-time used:    ',F9.3,' s     per timestep:               ', &
1309               '  ',F9.3,' s'/                                                 &
1310             '                                   per second of simulated tim', &
1311               'e: ',F9.3,' s')
1312250 FORMAT (//' Computational grid and domain size:'/ &
1313              ' ----------------------------------'// &
1314              ' Grid length:      dx =    ',F7.3,' m    dy =    ',F7.3, &
1315              ' m    dz =    ',F7.3,' m'/ &
1316              ' Domain size:       x = ',F10.3,' m     y = ',F10.3, &
1317              ' m  z(u) = ',F10.3,' m'/)
1318252 FORMAT (' dz constant up to ',F10.3,' m (k=',I4,'), then stretched by', &
1319              ' factor: ',F5.3/ &
1320            ' maximum dz not to be exceeded is dz_max = ',F10.3,' m'/)
1321254 FORMAT (' Number of gridpoints (x,y,z):  (0:',I4,', 0:',I4,', 0:',I4,')'/ &
1322            ' Subdomain size (x,y,z):        (  ',I4,',   ',I4,',   ',I4,')'/)
1323255 FORMAT (' Subdomains have equal size')
1324256 FORMAT (' Subdomains at the upper edges of the virtual processor grid ', &
1325              'have smaller sizes'/                                          &
1326            ' Size of smallest subdomain:    (  ',I4,',   ',I4,',   ',I4,')')
1327260 FORMAT (/' The model has a slope in x-direction. Inclination angle: ',F6.2,&
1328             ' degrees')
1329270 FORMAT (//' Topography informations:'/ &
1330              ' -----------------------'// &
1331              1X,'Topography: ',A)
1332271 FORMAT (  ' Building size (x/y/z) in m: ',F5.1,' / ',F5.1,' / ',F5.1/ &
1333              ' Horizontal index bounds (l/r/s/n): ',I4,' / ',I4,' / ',I4, &
1334                ' / ',I4)
1335300 FORMAT (//' Boundary conditions:'/ &
1336             ' -------------------'// &
1337             '                     p                    uv             ', &
1338             '                   pt'// &
1339             ' B. bound.: ',A/ &
1340             ' T. bound.: ',A)
1341301 FORMAT (/'                     ',A// &
1342             ' B. bound.: ',A/ &
1343             ' T. bound.: ',A)
1344303 FORMAT (/' Bottom surface fluxes are used in diffusion terms at k=1')
1345304 FORMAT (/' Top surface fluxes are used in diffusion terms at k=nzt')
1346305 FORMAT (//'    Prandtl-Layer between bottom surface and first ', &
1347               'computational u,v-level:'// &
1348             '       zp = ',F6.2,' m   z0 = ',F6.4,' m   kappa = ',F4.2/ &
1349             '       Rif value range:   ',F6.2,' <= rif <=',F6.2)
1350306 FORMAT ('       Predefined constant heatflux:   ',F9.6,' K m/s')
1351307 FORMAT ('       Heatflux has a random normal distribution')
1352308 FORMAT ('       Predefined surface temperature')
1353309 FORMAT ('       Predefined constant salinityflux:   ',F9.6,' psu m/s')
1354310 FORMAT (//'    1D-Model:'// &
1355             '       Rif value range:   ',F6.2,' <= rif <=',F6.2)
1356311 FORMAT ('       Predefined constant humidity flux: ',E10.3,' m/s')
1357312 FORMAT ('       Predefined surface humidity')
1358313 FORMAT ('       Predefined constant scalar flux: ',E10.3,' kg/(m**2 s)')
1359314 FORMAT ('       Predefined scalar value at the surface')
1360315 FORMAT ('       Humidity / scalar flux at top surface is 0.0')
1361316 FORMAT ('       Sensible heatflux and momentum flux from coupled ', &
1362                    'atmosphere model')
1363317 FORMAT (//' Lateral boundaries:'/ &
1364            '       left/right:  ',A/    &
1365            '       north/south: ',A)
1366318 FORMAT (/'       outflow damping layer width: ',I3,' gridpoints with km_', &
1367                    'max =',F5.1,' m**2/s')
1368319 FORMAT ('       Predefined constant momentumflux:  u: ',F9.6,' m**2/s**2'/ &
1369            '                                          v: ',F9.6,' m**2/s**2')
1370320 FORMAT (//' List output:'/ &
1371             ' -----------'//  &
1372            '    1D-Profiles:'/    &
1373            '       Output every             ',F8.2,' s')
1374321 FORMAT ('       Time averaged over       ',F8.2,' s'/ &
1375            '       Averaging input every    ',F8.2,' s')
1376330 FORMAT (//' Data output:'/ &
1377             ' -----------'/)
1378331 FORMAT (/'    1D-Profiles:')
1379332 FORMAT (/'       ',A)
1380333 FORMAT ('       Output every             ',F8.2,' s',/ &
1381            '       Time averaged over       ',F8.2,' s'/ &
1382            '       Averaging input every    ',F8.2,' s')
1383334 FORMAT (/'    2D-Arrays',A,':')
1384335 FORMAT (/'       ',A2,'-cross-section  Arrays: ',A/ &
1385            '       Output every             ',F8.2,' s  ',A/ &
1386            '       Cross sections at ',A1,' = ',A/ &
1387            '       scalar-coordinates:   ',A,' m'/)
1388336 FORMAT (/'    3D-Arrays',A,':')
1389337 FORMAT (/'       Arrays: ',A/ &
1390            '       Output every             ',F8.2,' s  ',A/ &
1391            '       Upper output limit at    ',F8.2,' m  (GP ',I4,')'/)
1392338 FORMAT ('       Compressed data output'/ &
1393            '       Decimal precision: ',A/)
1394339 FORMAT ('       No output during initial ',F8.2,' s')
1395340 FORMAT (/'    Time series:')
1396341 FORMAT ('       Output every             ',F8.2,' s'/)
1397342 FORMAT (/'       ',A2,'-cross-section  Arrays: ',A/ &
1398            '       Output every             ',F8.2,' s  ',A/ &
1399            '       Time averaged over       ',F8.2,' s'/ &
1400            '       Averaging input every    ',F8.2,' s'/ &
1401            '       Cross sections at ',A1,' = ',A/ &
1402            '       scalar-coordinates:   ',A,' m'/)
1403343 FORMAT (/'       Arrays: ',A/ &
1404            '       Output every             ',F8.2,' s  ',A/ &
1405            '       Time averaged over       ',F8.2,' s'/ &
1406            '       Averaging input every    ',F8.2,' s'/ &
1407            '       Upper output limit at    ',F8.2,' m  (GP ',I4,')'/)
1408345 FORMAT ('       Output format: ',A/)
1409#if defined( __dvrp_graphics )
1410360 FORMAT ('    Plot-Sequence with dvrp-software:'/ &
1411            '       Output every      ',F7.1,' s'/ &
1412            '       Output mode:      ',A/ &
1413            '       Host / User:      ',A,' / ',A/ &
1414            '       Directory:        ',A// &
1415            '       The sequence contains:')
1416361 FORMAT ('       Isosurface of ',A,'  Threshold value: ', E12.3)
1417362 FORMAT ('       Sectional plane ',A)
1418363 FORMAT ('       Particles')
1419#endif
1420#if defined( __spectra )
1421370 FORMAT ('    Spectra:')
1422371 FORMAT ('       Output every ',F7.1,' s'/)
1423372 FORMAT ('       Arrays:     ', 10(A5,',')/                         &
1424            '       Directions: ', 10(A5,',')/                         &
1425            '       height levels  k = ', 9(I3,','),I3,'.'/            &
1426            '       height levels selected for standard plot:'/        &
1427            '                      k = ', 9(I3,','),I3,'.'/            &
1428            '       Time averaged over ', F7.1, ' s,' /                &
1429            '       Profiles for the time averaging are taken every ', &
1430                    F6.1,' s')
1431#endif
1432400 FORMAT (//' Physical quantities:'/ &
1433              ' -------------------'/)
1434410 FORMAT ('    Angular velocity    :   omega = ',E9.3,' rad/s'/  &
1435            '    Geograph. latitude  :   phi   = ',F4.1,' degr'/   &
1436            '    Coriolis parameter  :   f     = ',F9.6,' 1/s'/    &
1437            '                            f*    = ',F9.6,' 1/s')
1438411 FORMAT (/'    Gravity             :   g     = ',F4.1,' m/s**2')
1439412 FORMAT (/'    Reference density in buoyancy terms: ',F8.3,' kg/m**3')
1440413 FORMAT (/'    Reference temperature in buoyancy terms: ',F8.4,' K')
1441415 FORMAT (/'    Cloud physics parameters:'/ &
1442             '    ------------------------'/)
1443416 FORMAT ('        Surface pressure   :   p_0   = ',F7.2,' hPa'/      &
1444            '        Gas constant       :   R     = ',F5.1,' J/(kg K)'/ &
1445            '        Density of air     :   rho_0 = ',F5.3,' kg/m**3'/  &
1446            '        Specific heat cap. :   c_p   = ',F6.1,' J/(kg K)'/ &
1447            '        Vapourization heat :   L_v   = ',E8.2,' J/kg')
1448420 FORMAT (/'    Characteristic levels of the initial temperature profile:'// &
1449            '       Height:        ',A,'  m'/ &
1450            '       Temperature:   ',A,'  K'/ &
1451            '       Gradient:      ',A,'  K/100m'/ &
1452            '       Gridpoint:     ',A)
1453421 FORMAT (/'    Characteristic levels of the initial humidity profile:'// &
1454            '       Height:      ',A,'  m'/ &
1455            '       Humidity:    ',A,'  kg/kg'/ &
1456            '       Gradient:    ',A,'  (kg/kg)/100m'/ &
1457            '       Gridpoint:   ',A)
1458422 FORMAT (/'    Characteristic levels of the initial scalar profile:'// &
1459            '       Height:                  ',A,'  m'/ &
1460            '       Scalar concentration:    ',A,'  kg/m**3'/ &
1461            '       Gradient:                ',A,'  (kg/m**3)/100m'/ &
1462            '       Gridpoint:               ',A)
1463423 FORMAT (/'    Characteristic levels of the geo. wind component ug:'// &
1464            '       Height:      ',A,'  m'/ &
1465            '       ug:          ',A,'  m/s'/ &
1466            '       Gradient:    ',A,'  1/100s'/ &
1467            '       Gridpoint:   ',A)
1468424 FORMAT (/'    Characteristic levels of the geo. wind component vg:'// &
1469            '       Height:      ',A,'  m'/ &
1470            '       vg:          ',A,'  m/s'/ &
1471            '       Gradient:    ',A,'  1/100s'/ &
1472            '       Gridpoint:   ',A)
1473425 FORMAT (/'    Characteristic levels of the initial salinity profile:'// &
1474            '       Height:     ',A,'  m'/ &
1475            '       Salinity:   ',A,'  psu'/ &
1476            '       Gradient:   ',A,'  psu/100m'/ &
1477            '       Gridpoint:  ',A)
1478450 FORMAT (//' LES / Turbulence quantities:'/ &
1479              ' ---------------------------'/)
1480451 FORMAT ('   Diffusion coefficients are constant:'/ &
1481            '   Km = ',F6.2,' m**2/s   Kh = ',F6.2,' m**2/s   Pr = ',F5.2)
1482452 FORMAT ('   Mixing length is limited to the Prandtl mixing lenth.')
1483453 FORMAT ('   Mixing length is limited to ',F4.2,' * z')
1484454 FORMAT ('   TKE is not allowed to fall below ',E9.2,' (m/s)**2')
1485455 FORMAT ('   initial TKE is prescribed as ',E9.2,' (m/s)**2')
1486470 FORMAT (//' Actions during the simulation:'/ &
1487              ' -----------------------------'/)
1488471 FORMAT ('    Disturbance impulse (u,v) every :   ',F6.2,' s'/            &
1489            '    Disturbance amplitude           :     ',F4.2, ' m/s'/       &
1490            '    Lower disturbance level         : ',F8.2,' m (GP ',I4,')'/  &
1491            '    Upper disturbance level         : ',F8.2,' m (GP ',I4,')')
1492472 FORMAT ('    Disturbances continued during the run from i/j =',I4, &
1493                 ' to i/j =',I4)
1494473 FORMAT ('    Disturbances cease as soon as the disturbance energy exceeds',&
1495                 1X,F5.3, ' m**2/s**2')
1496474 FORMAT ('    Random number generator used    : ',A/)
1497475 FORMAT ('    The surface temperature is increased (or decreased, ', &
1498                 'respectively, if'/ &
1499            '    the value is negative) by ',F5.2,' K at the beginning of the',&
1500                 ' 3D-simulation'/)
1501476 FORMAT ('    The surface humidity is increased (or decreased, ',&
1502                 'respectively, if the'/ &
1503            '    value is negative) by ',E8.1,' kg/kg at the beginning of', &
1504                 ' the 3D-simulation'/)
1505477 FORMAT ('    The scalar value is increased at the surface (or decreased, ',&
1506                 'respectively, if the'/ &
1507            '    value is negative) by ',E8.1,' kg/m**3 at the beginning of', &
1508                 ' the 3D-simulation'/)
1509480 FORMAT ('    Particles:'/ &
1510            '    ---------'// &
1511            '       Particle advection is active (switched on at t = ', F7.1, &
1512                    ' s)'/ &
1513            '       Start of new particle generations every  ',F6.1,' s'/ &
1514            '       Boundary conditions: left/right: ', A, ' north/south: ', A/&
1515            '                            bottom:     ', A, ' top:         ', A/&
1516            '       Maximum particle age:                 ',F9.1,' s'/ &
1517            '       Advection stopped at t = ',F9.1,' s'/ &
1518            '       Particles are sorted every ',F9.1,' s'/)
1519481 FORMAT ('       Particles have random start positions'/)
1520482 FORMAT ('       Particles are advected only horizontally'/)
1521483 FORMAT ('       Particles have tails with a maximum of ',I3,' points')
1522484 FORMAT ('            Number of tails of the total domain: ',I10/ &
1523            '            Minimum distance between tailpoints: ',F8.2,' m'/ &
1524            '            Maximum age of the end of the tail:  ',F8.2,' s')
1525485 FORMAT ('       Particle data are written on file every ', F9.1, ' s')
1526486 FORMAT ('       Particle statistics are written on file'/)
1527487 FORMAT ('       Number of particle groups: ',I2/)
1528488 FORMAT ('       SGS velocity components are used for particle advection'/ &
1529            '          minimum timestep for advection: ', F7.5/)
1530489 FORMAT ('       Number of particles simultaneously released at each ', &
1531                    'point: ', I5/)
1532490 FORMAT ('       Particle group ',I2,':'/ &
1533            '          Particle radius: ',E10.3, 'm')
1534491 FORMAT ('          Particle inertia is activated'/ &
1535            '             density_ratio (rho_fluid/rho_particle) = ',F5.3/)
1536492 FORMAT ('          Particles are advected only passively (no inertia)'/)
1537493 FORMAT ('          Boundaries of particle source: x:',F8.1,' - ',F8.1,' m'/&
1538            '                                         y:',F8.1,' - ',F8.1,' m'/&
1539            '                                         z:',F8.1,' - ',F8.1,' m'/&
1540            '          Particle distances:  dx = ',F8.1,' m  dy = ',F8.1, &
1541                       ' m  dz = ',F8.1,' m'/)
1542494 FORMAT ('       Output of particle time series in NetCDF format every ', &
1543                    F8.2,' s'/)
1544495 FORMAT ('       Number of particles in total domain: ',I10/)
1545500 FORMAT (//' 1D-Model parameters:'/                           &
1546              ' -------------------'//                           &
1547            '    Simulation time:                   ',F8.1,' s'/ &
1548            '    Run-controll output every:         ',F8.1,' s'/ &
1549            '    Vertical profile output every:     ',F8.1,' s'/ &
1550            '    Mixing length calculation:         ',A/         &
1551            '    Dissipation calculation:           ',A/)
1552502 FORMAT ('    Damping layer starts from ',F7.1,' m (GP ',I4,')'/)
1553
1554
1555 END SUBROUTINE header
Note: See TracBrowser for help on using the repository browser.