[2894] | 1 | !> @file write_restart_data_mod.f90 |
---|
| 2 | !------------------------------------------------------------------------------! |
---|
| 3 | ! This file is part of the PALM model system. |
---|
| 4 | ! |
---|
| 5 | ! PALM is free software: you can redistribute it and/or modify it under the |
---|
| 6 | ! terms of the GNU General Public License as published by the Free Software |
---|
| 7 | ! Foundation, either version 3 of the License, or (at your option) any later |
---|
| 8 | ! version. |
---|
| 9 | ! |
---|
| 10 | ! PALM is distributed in the hope that it will be useful, but WITHOUT ANY |
---|
| 11 | ! WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR |
---|
| 12 | ! A PARTICULAR PURPOSE. See the GNU General Public License for more details. |
---|
| 13 | ! |
---|
| 14 | ! You should have received a copy of the GNU General Public License along with |
---|
| 15 | ! PALM. If not, see <http://www.gnu.org/licenses/>. |
---|
| 16 | ! |
---|
[3655] | 17 | ! Copyright 1997-2019 Leibniz Universitaet Hannover |
---|
[2894] | 18 | !------------------------------------------------------------------------------! |
---|
| 19 | ! |
---|
| 20 | ! Current revisions: |
---|
| 21 | ! ----------------- |
---|
| 22 | ! |
---|
| 23 | ! |
---|
| 24 | ! Former revisions: |
---|
| 25 | ! ----------------- |
---|
| 26 | ! $Id: write_restart_data_mod.f90 4039 2019-06-18 10:32:41Z suehring $ |
---|
[4039] | 27 | ! Modularize diagnostic output |
---|
| 28 | ! |
---|
| 29 | ! 4017 2019-06-06 12:16:46Z schwenkel |
---|
[3994] | 30 | ! output of turbulence intensity added |
---|
| 31 | ! |
---|
| 32 | ! 3988 2019-05-22 11:32:37Z kanani |
---|
[3988] | 33 | ! + time_virtual_measurement (to enable steering of output interval) |
---|
| 34 | ! |
---|
| 35 | ! 3936 2019-04-26 15:38:02Z kanani |
---|
[3936] | 36 | ! Enable time-averaged output of theta_2m* with restarts |
---|
| 37 | ! |
---|
| 38 | ! 3668 2019-01-14 12:49:24Z maronga |
---|
[3637] | 39 | ! Implementation of the PALM module interface |
---|
| 40 | ! |
---|
| 41 | ! 3589 2018-11-30 15:09:51Z suehring |
---|
[3589] | 42 | ! Move the control parameter "salsa" from salsa_mod to control_parameters |
---|
| 43 | ! (M. Kurppa) |
---|
| 44 | ! |
---|
| 45 | ! |
---|
| 46 | ! 3582 2018-11-29 19:16:36Z suehring |
---|
[3467] | 47 | ! Implementation of a new aerosol module salsa. |
---|
| 48 | ! |
---|
| 49 | ! 3355 2018-10-16 14:03:34Z knoop |
---|
[3294] | 50 | ! changes concerning modularization of ocean option |
---|
| 51 | ! |
---|
| 52 | ! 3274 2018-09-24 15:42:55Z knoop |
---|
[3274] | 53 | ! Modularization of all bulk cloud physics code components |
---|
| 54 | ! |
---|
| 55 | ! 3065 2018-06-12 07:03:02Z Giersch |
---|
[3065] | 56 | ! New parameters concerning vertical grid stretching have been added |
---|
| 57 | ! |
---|
| 58 | ! 3004 2018-04-27 12:33:25Z Giersch |
---|
[3004] | 59 | ! precipitation_rate_av removed |
---|
| 60 | ! |
---|
| 61 | ! 3003 2018-04-23 10:22:58Z Giersch |
---|
[3003] | 62 | ! z_i is also written out to use the last known inversion height from the |
---|
| 63 | ! initial run as the first inversion height which is written into the |
---|
| 64 | ! run control file |
---|
| 65 | ! |
---|
| 66 | ! 2956 2018-04-10 11:01:03Z Giersch |
---|
[2956] | 67 | ! spectrum_x and spectrum_y have been moved to global data |
---|
| 68 | ! |
---|
| 69 | ! 2921 2018-03-22 15:05:23Z Giersch |
---|
[2921] | 70 | ! spinup_time, day_of_year_init and time_utc_init are also written out now |
---|
| 71 | ! |
---|
| 72 | ! 2912 2018-03-20 13:00:05Z knoop |
---|
[2912] | 73 | ! Added gust module interface calls |
---|
| 74 | ! |
---|
| 75 | ! 2894 2018-03-15 09:17:58Z Giersch |
---|
[2894] | 76 | ! Initial revision |
---|
| 77 | ! |
---|
| 78 | ! |
---|
| 79 | ! Description: |
---|
| 80 | ! ------------ |
---|
| 81 | !> Writes restart data into binary file(s) for restart runs. |
---|
| 82 | !------------------------------------------------------------------------------! |
---|
| 83 | MODULE write_restart_data_mod |
---|
| 84 | |
---|
| 85 | |
---|
[3637] | 86 | USE arrays_3d, & |
---|
| 87 | ONLY: inflow_damping_factor, mean_inflow_profiles, pt_init, & |
---|
| 88 | q_init, ref_state, s_init, u_init, ug, v_init, vg, & |
---|
| 89 | e, kh, km, p, pt, q, ql, s, u, u_m_l, u_m_n, u_m_r, & |
---|
| 90 | u_m_s, v, v_m_l, v_m_n, v_m_r, v_m_s, vpt, w, w_m_l, w_m_n, & |
---|
| 91 | w_m_r, w_m_s |
---|
| 92 | |
---|
| 93 | USE averaging |
---|
| 94 | |
---|
[2894] | 95 | USE control_parameters |
---|
| 96 | |
---|
[3637] | 97 | USE date_and_time_mod, & |
---|
| 98 | ONLY: day_of_year_init, time_utc_init |
---|
| 99 | |
---|
| 100 | USE grid_variables, & |
---|
| 101 | ONLY: dx, dy |
---|
| 102 | |
---|
| 103 | USE indices, & |
---|
| 104 | ONLY: nx, nxl, nxr, ny, nys, nyn, nz, nzb, nzt |
---|
| 105 | |
---|
| 106 | USE kinds |
---|
| 107 | |
---|
| 108 | USE model_1d_mod, & |
---|
| 109 | ONLY: damp_level_1d, dt_pr_1d, dt_run_control_1d, end_time_1d |
---|
| 110 | |
---|
| 111 | USE module_interface, & |
---|
| 112 | ONLY: module_interface_wrd_global, & |
---|
| 113 | module_interface_wrd_local |
---|
| 114 | |
---|
| 115 | USE netcdf_interface, & |
---|
| 116 | ONLY: netcdf_precision, output_for_t0 |
---|
| 117 | |
---|
[2894] | 118 | USE pegrid, & |
---|
[3637] | 119 | ONLY: collective_wait, hor_index_bounds, myid, numprocs |
---|
[2894] | 120 | |
---|
[3637] | 121 | USE radiation_model_mod, & |
---|
| 122 | ONLY: time_radiation |
---|
| 123 | |
---|
| 124 | USE random_function_mod, & |
---|
| 125 | ONLY: random_iv, random_iy |
---|
| 126 | |
---|
| 127 | USE random_generator_parallel, & |
---|
| 128 | ONLY: id_random_array, seq_random_array |
---|
| 129 | |
---|
| 130 | USE spectra_mod, & |
---|
| 131 | ONLY: average_count_sp, spectrum_x, spectrum_y |
---|
| 132 | |
---|
| 133 | USE statistics, & |
---|
| 134 | ONLY: statistic_regions, hom, hom_sum, u_max, u_max_ijk, v_max, & |
---|
| 135 | v_max_ijk, w_max, w_max_ijk, z_i |
---|
| 136 | |
---|
| 137 | USE surface_mod, & |
---|
| 138 | ONLY : surface_wrd_local |
---|
| 139 | |
---|
| 140 | USE vertical_nesting_mod, & |
---|
| 141 | ONLY: vnest_init |
---|
| 142 | |
---|
[3988] | 143 | USE virtual_measurement_mod, & |
---|
| 144 | ONLY: time_virtual_measurement |
---|
[3637] | 145 | |
---|
[3988] | 146 | |
---|
[2894] | 147 | IMPLICIT NONE |
---|
| 148 | |
---|
| 149 | |
---|
| 150 | INTERFACE wrd_global |
---|
| 151 | MODULE PROCEDURE wrd_global |
---|
| 152 | END INTERFACE wrd_global |
---|
| 153 | |
---|
| 154 | INTERFACE wrd_local |
---|
| 155 | MODULE PROCEDURE wrd_local |
---|
| 156 | END INTERFACE wrd_local |
---|
| 157 | |
---|
| 158 | |
---|
| 159 | PUBLIC wrd_local, wrd_global |
---|
| 160 | |
---|
| 161 | |
---|
| 162 | CONTAINS |
---|
| 163 | |
---|
| 164 | |
---|
| 165 | ! Description: |
---|
| 166 | ! ------------ |
---|
| 167 | !> Global data of control variables and arrays is written out for |
---|
| 168 | !> restarts (binary format). |
---|
| 169 | !> This information is only written to the file opened by PE0. |
---|
| 170 | !------------------------------------------------------------------------------! |
---|
| 171 | SUBROUTINE wrd_global |
---|
| 172 | |
---|
| 173 | |
---|
| 174 | CHARACTER (LEN=10) :: binary_version_global !< |
---|
| 175 | |
---|
| 176 | |
---|
[3668] | 177 | binary_version_global = '4.8' |
---|
[2894] | 178 | |
---|
| 179 | CALL wrd_write_string( 'binary_version_global' ) |
---|
| 180 | WRITE ( 14 ) binary_version_global |
---|
| 181 | |
---|
| 182 | CALL wrd_write_string( 'numprocs' ) |
---|
| 183 | WRITE ( 14 ) numprocs |
---|
| 184 | |
---|
| 185 | CALL wrd_write_string( 'hor_index_bounds' ) |
---|
| 186 | WRITE ( 14 ) hor_index_bounds |
---|
| 187 | |
---|
| 188 | CALL wrd_write_string( 'nz' ) |
---|
| 189 | WRITE ( 14 ) nz |
---|
| 190 | |
---|
| 191 | CALL wrd_write_string( 'max_pr_user' ) |
---|
| 192 | WRITE ( 14 ) max_pr_user |
---|
| 193 | |
---|
| 194 | CALL wrd_write_string( 'statistic_regions' ) |
---|
| 195 | WRITE ( 14 ) statistic_regions |
---|
| 196 | |
---|
| 197 | ! |
---|
| 198 | !-- Caution: After changes in the following parameter-list, the |
---|
| 199 | !-- ------- version number stored in the variable binary_version_global has to |
---|
| 200 | !-- be increased. The same changes must also be done in the parameter- |
---|
| 201 | !-- list in rrd_global. |
---|
| 202 | |
---|
| 203 | CALL wrd_write_string( 'advected_distance_x' ) |
---|
| 204 | WRITE ( 14 ) advected_distance_x |
---|
| 205 | |
---|
| 206 | CALL wrd_write_string( 'advected_distance_y' ) |
---|
| 207 | WRITE ( 14 ) advected_distance_y |
---|
| 208 | |
---|
| 209 | CALL wrd_write_string( 'alpha_surface' ) |
---|
| 210 | WRITE ( 14 ) alpha_surface |
---|
| 211 | |
---|
| 212 | CALL wrd_write_string( 'average_count_pr' ) |
---|
| 213 | WRITE ( 14 ) average_count_pr |
---|
| 214 | |
---|
| 215 | CALL wrd_write_string( 'average_count_sp' ) |
---|
| 216 | WRITE ( 14 ) average_count_sp |
---|
| 217 | |
---|
| 218 | CALL wrd_write_string( 'average_count_3d' ) |
---|
| 219 | WRITE ( 14 ) average_count_3d |
---|
| 220 | |
---|
| 221 | CALL wrd_write_string( 'bc_e_b' ) |
---|
| 222 | WRITE ( 14 ) bc_e_b |
---|
| 223 | |
---|
| 224 | CALL wrd_write_string( 'bc_lr' ) |
---|
| 225 | WRITE ( 14 ) bc_lr |
---|
| 226 | |
---|
| 227 | CALL wrd_write_string( 'bc_ns' ) |
---|
| 228 | WRITE ( 14 ) bc_ns |
---|
| 229 | |
---|
| 230 | CALL wrd_write_string( 'bc_p_b' ) |
---|
| 231 | WRITE ( 14 ) bc_p_b |
---|
| 232 | |
---|
| 233 | CALL wrd_write_string( 'bc_p_t' ) |
---|
| 234 | WRITE ( 14 ) bc_p_t |
---|
| 235 | |
---|
| 236 | CALL wrd_write_string( 'bc_pt_b' ) |
---|
| 237 | WRITE ( 14 ) bc_pt_b |
---|
| 238 | |
---|
| 239 | CALL wrd_write_string( 'bc_pt_t' ) |
---|
| 240 | WRITE ( 14 ) bc_pt_t |
---|
| 241 | |
---|
| 242 | CALL wrd_write_string( 'bc_pt_t_val' ) |
---|
| 243 | WRITE ( 14 ) bc_pt_t_val |
---|
| 244 | |
---|
| 245 | CALL wrd_write_string( 'bc_q_b' ) |
---|
| 246 | WRITE ( 14 ) bc_q_b |
---|
| 247 | |
---|
| 248 | CALL wrd_write_string( 'bc_q_t' ) |
---|
| 249 | WRITE ( 14 ) bc_q_t |
---|
| 250 | |
---|
| 251 | CALL wrd_write_string( 'bc_q_t_val' ) |
---|
| 252 | WRITE ( 14 ) bc_q_t_val |
---|
| 253 | |
---|
| 254 | CALL wrd_write_string( 'bc_s_b' ) |
---|
| 255 | WRITE ( 14 ) bc_s_b |
---|
| 256 | |
---|
| 257 | CALL wrd_write_string( 'bc_s_t' ) |
---|
| 258 | WRITE ( 14 ) bc_s_t |
---|
| 259 | |
---|
| 260 | CALL wrd_write_string( 'bc_uv_b' ) |
---|
| 261 | WRITE ( 14 ) bc_uv_b |
---|
| 262 | |
---|
| 263 | CALL wrd_write_string( 'bc_uv_t' ) |
---|
| 264 | WRITE ( 14 ) bc_uv_t |
---|
| 265 | |
---|
| 266 | CALL wrd_write_string( 'building_height' ) |
---|
| 267 | WRITE ( 14 ) building_height |
---|
| 268 | |
---|
| 269 | CALL wrd_write_string( 'building_length_x' ) |
---|
| 270 | WRITE ( 14 ) building_length_x |
---|
| 271 | |
---|
| 272 | CALL wrd_write_string( 'building_length_y' ) |
---|
| 273 | WRITE ( 14 ) building_length_y |
---|
| 274 | |
---|
| 275 | CALL wrd_write_string( 'building_wall_left' ) |
---|
| 276 | WRITE ( 14 ) building_wall_left |
---|
| 277 | |
---|
| 278 | CALL wrd_write_string( 'building_wall_south' ) |
---|
| 279 | WRITE ( 14 ) building_wall_south |
---|
| 280 | |
---|
| 281 | CALL wrd_write_string( 'call_psolver_at_all_substeps' ) |
---|
| 282 | WRITE ( 14 ) call_psolver_at_all_substeps |
---|
| 283 | |
---|
| 284 | CALL wrd_write_string( 'canyon_height' ) |
---|
| 285 | WRITE ( 14 ) canyon_height |
---|
| 286 | |
---|
| 287 | CALL wrd_write_string( 'canyon_wall_left' ) |
---|
| 288 | WRITE ( 14 ) canyon_wall_left |
---|
| 289 | |
---|
| 290 | CALL wrd_write_string( 'canyon_wall_south' ) |
---|
| 291 | WRITE ( 14 ) canyon_wall_south |
---|
| 292 | |
---|
| 293 | CALL wrd_write_string( 'canyon_width_x' ) |
---|
| 294 | WRITE ( 14 ) canyon_width_x |
---|
| 295 | |
---|
| 296 | CALL wrd_write_string( 'canyon_width_y' ) |
---|
| 297 | WRITE ( 14 ) canyon_width_y |
---|
| 298 | |
---|
| 299 | CALL wrd_write_string( 'cfl_factor' ) |
---|
| 300 | WRITE ( 14 ) cfl_factor |
---|
| 301 | |
---|
| 302 | CALL wrd_write_string( 'cloud_droplets' ) |
---|
| 303 | WRITE ( 14 ) cloud_droplets |
---|
| 304 | |
---|
| 305 | CALL wrd_write_string( 'collective_wait' ) |
---|
| 306 | WRITE ( 14 ) collective_wait |
---|
| 307 | |
---|
| 308 | CALL wrd_write_string( 'conserve_volume_flow' ) |
---|
| 309 | WRITE ( 14 ) conserve_volume_flow |
---|
| 310 | |
---|
| 311 | CALL wrd_write_string( 'conserve_volume_flow_mode' ) |
---|
| 312 | WRITE ( 14 ) conserve_volume_flow_mode |
---|
| 313 | |
---|
| 314 | CALL wrd_write_string( 'constant_flux_layer' ) |
---|
| 315 | WRITE ( 14 ) constant_flux_layer |
---|
| 316 | |
---|
| 317 | CALL wrd_write_string( 'coupling_start_time' ) |
---|
| 318 | WRITE ( 14 ) coupling_start_time |
---|
| 319 | |
---|
| 320 | CALL wrd_write_string( 'current_timestep_number' ) |
---|
| 321 | WRITE ( 14 ) current_timestep_number |
---|
| 322 | |
---|
| 323 | CALL wrd_write_string( 'cycle_mg' ) |
---|
| 324 | WRITE ( 14 ) cycle_mg |
---|
| 325 | |
---|
| 326 | CALL wrd_write_string( 'damp_level_1d' ) |
---|
| 327 | WRITE ( 14 ) damp_level_1d |
---|
| 328 | |
---|
[2921] | 329 | CALL wrd_write_string( 'day_of_year_init' ) |
---|
| 330 | WRITE ( 14 ) day_of_year_init |
---|
| 331 | |
---|
[2894] | 332 | CALL wrd_write_string( 'dissipation_1d' ) |
---|
| 333 | WRITE ( 14 ) dissipation_1d |
---|
| 334 | |
---|
| 335 | CALL wrd_write_string( 'do2d_xy_time_count' ) |
---|
| 336 | WRITE ( 14 ) do2d_xy_time_count |
---|
| 337 | |
---|
| 338 | CALL wrd_write_string( 'do2d_xz_time_count' ) |
---|
| 339 | WRITE ( 14 ) do2d_xz_time_count |
---|
| 340 | |
---|
| 341 | CALL wrd_write_string( 'do2d_yz_time_count' ) |
---|
| 342 | WRITE ( 14 ) do2d_yz_time_count |
---|
| 343 | |
---|
| 344 | CALL wrd_write_string( 'do3d_time_count' ) |
---|
| 345 | WRITE ( 14 ) do3d_time_count |
---|
| 346 | |
---|
| 347 | CALL wrd_write_string( 'dp_external' ) |
---|
| 348 | WRITE ( 14 ) dp_external |
---|
| 349 | |
---|
| 350 | CALL wrd_write_string( 'dp_level_b' ) |
---|
| 351 | WRITE ( 14 ) dp_level_b |
---|
| 352 | |
---|
| 353 | CALL wrd_write_string( 'dp_smooth' ) |
---|
| 354 | WRITE ( 14 ) dp_smooth |
---|
| 355 | |
---|
| 356 | CALL wrd_write_string( 'dpdxy' ) |
---|
| 357 | WRITE ( 14 ) dpdxy |
---|
| 358 | |
---|
| 359 | CALL wrd_write_string( 'dt_3d' ) |
---|
| 360 | WRITE ( 14 ) dt_3d |
---|
| 361 | |
---|
| 362 | CALL wrd_write_string( 'dt_pr_1d' ) |
---|
| 363 | WRITE ( 14 ) dt_pr_1d |
---|
| 364 | |
---|
| 365 | CALL wrd_write_string( 'dt_run_control_1d' ) |
---|
| 366 | WRITE ( 14 ) dt_run_control_1d |
---|
| 367 | |
---|
| 368 | CALL wrd_write_string( 'dx' ) |
---|
| 369 | WRITE ( 14 ) dx |
---|
| 370 | |
---|
| 371 | CALL wrd_write_string( 'dy' ) |
---|
| 372 | WRITE ( 14 ) dy |
---|
| 373 | |
---|
| 374 | CALL wrd_write_string( 'dz' ) |
---|
| 375 | WRITE ( 14 ) dz |
---|
[3065] | 376 | |
---|
[2894] | 377 | CALL wrd_write_string( 'dz_max' ) |
---|
| 378 | WRITE ( 14 ) dz_max |
---|
| 379 | |
---|
| 380 | CALL wrd_write_string( 'dz_stretch_factor' ) |
---|
| 381 | WRITE ( 14 ) dz_stretch_factor |
---|
[3065] | 382 | |
---|
| 383 | CALL wrd_write_string( 'dz_stretch_factor_array' ) |
---|
| 384 | WRITE ( 14 ) dz_stretch_factor_array |
---|
| 385 | |
---|
[2894] | 386 | CALL wrd_write_string( 'dz_stretch_level' ) |
---|
| 387 | WRITE ( 14 ) dz_stretch_level |
---|
| 388 | |
---|
[3065] | 389 | CALL wrd_write_string( 'dz_stretch_level_end' ) |
---|
| 390 | WRITE ( 14 ) dz_stretch_level_end |
---|
| 391 | |
---|
| 392 | CALL wrd_write_string( 'dz_stretch_level_start' ) |
---|
| 393 | WRITE ( 14 ) dz_stretch_level_start |
---|
| 394 | |
---|
[2894] | 395 | CALL wrd_write_string( 'e_min' ) |
---|
| 396 | WRITE ( 14 ) e_min |
---|
| 397 | |
---|
| 398 | CALL wrd_write_string( 'end_time_1d' ) |
---|
| 399 | WRITE ( 14 ) end_time_1d |
---|
| 400 | |
---|
| 401 | CALL wrd_write_string( 'fft_method' ) |
---|
| 402 | WRITE ( 14 ) fft_method |
---|
| 403 | |
---|
| 404 | CALL wrd_write_string( 'first_call_lpm' ) |
---|
| 405 | WRITE ( 14 ) first_call_lpm |
---|
| 406 | |
---|
| 407 | CALL wrd_write_string( 'galilei_transformation' ) |
---|
| 408 | WRITE ( 14 ) galilei_transformation |
---|
| 409 | |
---|
| 410 | CALL wrd_write_string( 'hom' ) |
---|
| 411 | WRITE ( 14 ) hom |
---|
| 412 | |
---|
| 413 | CALL wrd_write_string( 'hom_sum' ) |
---|
| 414 | WRITE ( 14 ) hom_sum |
---|
| 415 | |
---|
| 416 | CALL wrd_write_string( 'humidity' ) |
---|
| 417 | WRITE ( 14 ) humidity |
---|
| 418 | |
---|
| 419 | IF ( ALLOCATED( inflow_damping_factor ) ) THEN |
---|
| 420 | CALL wrd_write_string( 'inflow_damping_factor' ) |
---|
| 421 | WRITE ( 14 ) inflow_damping_factor |
---|
| 422 | ENDIF |
---|
| 423 | |
---|
| 424 | CALL wrd_write_string( 'inflow_damping_height' ) |
---|
| 425 | WRITE ( 14 ) inflow_damping_height |
---|
| 426 | |
---|
| 427 | CALL wrd_write_string( 'inflow_damping_width' ) |
---|
| 428 | WRITE ( 14 ) inflow_damping_width |
---|
| 429 | |
---|
| 430 | CALL wrd_write_string( 'inflow_disturbance_begin' ) |
---|
| 431 | WRITE ( 14 ) inflow_disturbance_begin |
---|
| 432 | |
---|
| 433 | CALL wrd_write_string( 'inflow_disturbance_end' ) |
---|
| 434 | WRITE ( 14 ) inflow_disturbance_end |
---|
| 435 | |
---|
| 436 | CALL wrd_write_string( 'km_constant' ) |
---|
| 437 | WRITE ( 14 ) km_constant |
---|
| 438 | |
---|
| 439 | CALL wrd_write_string( 'large_scale_forcing' ) |
---|
| 440 | WRITE ( 14 ) large_scale_forcing |
---|
| 441 | |
---|
| 442 | CALL wrd_write_string( 'large_scale_subsidence' ) |
---|
| 443 | WRITE ( 14 ) large_scale_subsidence |
---|
| 444 | |
---|
| 445 | CALL wrd_write_string( 'latitude' ) |
---|
| 446 | WRITE ( 14 ) latitude |
---|
| 447 | |
---|
| 448 | CALL wrd_write_string( 'longitude' ) |
---|
| 449 | WRITE ( 14 ) longitude |
---|
| 450 | |
---|
| 451 | CALL wrd_write_string( 'loop_optimization' ) |
---|
| 452 | WRITE ( 14 ) loop_optimization |
---|
| 453 | |
---|
| 454 | CALL wrd_write_string( 'masking_method' ) |
---|
| 455 | WRITE ( 14 ) masking_method |
---|
| 456 | |
---|
| 457 | IF ( ALLOCATED( mean_inflow_profiles ) ) THEN |
---|
| 458 | CALL wrd_write_string( 'mean_inflow_profiles' ) |
---|
| 459 | WRITE ( 14 ) mean_inflow_profiles |
---|
| 460 | ENDIF |
---|
| 461 | |
---|
| 462 | CALL wrd_write_string( 'mg_cycles' ) |
---|
| 463 | WRITE ( 14 ) mg_cycles |
---|
| 464 | |
---|
| 465 | CALL wrd_write_string( 'mg_switch_to_pe0_level' ) |
---|
| 466 | WRITE ( 14 ) mg_switch_to_pe0_level |
---|
| 467 | |
---|
| 468 | CALL wrd_write_string( 'mixing_length_1d' ) |
---|
| 469 | WRITE ( 14 ) mixing_length_1d |
---|
| 470 | |
---|
| 471 | CALL wrd_write_string( 'momentum_advec' ) |
---|
| 472 | WRITE ( 14 ) momentum_advec |
---|
| 473 | |
---|
| 474 | CALL wrd_write_string( 'netcdf_precision' ) |
---|
| 475 | WRITE ( 14 ) netcdf_precision |
---|
| 476 | |
---|
| 477 | CALL wrd_write_string( 'neutral' ) |
---|
| 478 | WRITE ( 14 ) neutral |
---|
| 479 | |
---|
| 480 | CALL wrd_write_string( 'ngsrb' ) |
---|
| 481 | WRITE ( 14 ) ngsrb |
---|
| 482 | |
---|
| 483 | CALL wrd_write_string( 'nsor' ) |
---|
| 484 | WRITE ( 14 ) nsor |
---|
| 485 | |
---|
| 486 | CALL wrd_write_string( 'nsor_ini' ) |
---|
| 487 | WRITE ( 14 ) nsor_ini |
---|
| 488 | |
---|
| 489 | CALL wrd_write_string( 'nudging' ) |
---|
| 490 | WRITE ( 14 ) nudging |
---|
| 491 | |
---|
| 492 | CALL wrd_write_string( 'num_leg' ) |
---|
| 493 | WRITE ( 14 ) num_leg |
---|
| 494 | |
---|
| 495 | CALL wrd_write_string( 'nx' ) |
---|
| 496 | WRITE ( 14 ) nx |
---|
| 497 | |
---|
| 498 | CALL wrd_write_string( 'ny' ) |
---|
| 499 | WRITE ( 14 ) ny |
---|
| 500 | |
---|
[3294] | 501 | CALL wrd_write_string( 'ocean_mode' ) |
---|
| 502 | WRITE ( 14 ) ocean_mode |
---|
[2894] | 503 | |
---|
| 504 | CALL wrd_write_string( 'old_dt' ) |
---|
| 505 | WRITE ( 14 ) old_dt |
---|
| 506 | |
---|
| 507 | CALL wrd_write_string( 'omega' ) |
---|
| 508 | WRITE ( 14 ) omega |
---|
| 509 | |
---|
| 510 | CALL wrd_write_string( 'omega_sor' ) |
---|
| 511 | WRITE ( 14 ) omega_sor |
---|
| 512 | |
---|
| 513 | CALL wrd_write_string( 'output_for_t0' ) |
---|
| 514 | WRITE ( 14 ) output_for_t0 |
---|
| 515 | |
---|
| 516 | CALL wrd_write_string( 'passive_scalar' ) |
---|
| 517 | WRITE ( 14 ) passive_scalar |
---|
| 518 | |
---|
| 519 | CALL wrd_write_string( 'prandtl_number' ) |
---|
| 520 | WRITE ( 14 ) prandtl_number |
---|
| 521 | |
---|
| 522 | CALL wrd_write_string( 'psolver' ) |
---|
| 523 | WRITE ( 14 ) psolver |
---|
| 524 | |
---|
| 525 | CALL wrd_write_string( 'pt_damping_factor' ) |
---|
| 526 | WRITE ( 14 ) pt_damping_factor |
---|
| 527 | |
---|
| 528 | CALL wrd_write_string( 'pt_damping_width' ) |
---|
| 529 | WRITE ( 14 ) pt_damping_width |
---|
| 530 | |
---|
| 531 | CALL wrd_write_string( 'pt_init' ) |
---|
| 532 | WRITE ( 14 ) pt_init |
---|
| 533 | |
---|
| 534 | CALL wrd_write_string( 'pt_reference' ) |
---|
| 535 | WRITE ( 14 ) pt_reference |
---|
| 536 | |
---|
| 537 | CALL wrd_write_string( 'pt_surface' ) |
---|
| 538 | WRITE ( 14 ) pt_surface |
---|
| 539 | |
---|
| 540 | CALL wrd_write_string( 'pt_surface_initial_change' ) |
---|
| 541 | WRITE ( 14 ) pt_surface_initial_change |
---|
| 542 | |
---|
| 543 | CALL wrd_write_string( 'pt_vertical_gradient' ) |
---|
| 544 | WRITE ( 14 ) pt_vertical_gradient |
---|
| 545 | |
---|
| 546 | CALL wrd_write_string( 'pt_vertical_gradient_level' ) |
---|
| 547 | WRITE ( 14 ) pt_vertical_gradient_level |
---|
| 548 | |
---|
| 549 | CALL wrd_write_string( 'pt_vertical_gradient_level_ind' ) |
---|
| 550 | WRITE ( 14 ) pt_vertical_gradient_level_ind |
---|
| 551 | |
---|
| 552 | CALL wrd_write_string( 'q_init' ) |
---|
| 553 | WRITE ( 14 ) q_init |
---|
| 554 | |
---|
| 555 | CALL wrd_write_string( 'q_surface' ) |
---|
| 556 | WRITE ( 14 ) q_surface |
---|
| 557 | |
---|
| 558 | CALL wrd_write_string( 'q_surface_initial_change' ) |
---|
| 559 | WRITE ( 14 ) q_surface_initial_change |
---|
| 560 | |
---|
| 561 | CALL wrd_write_string( 'q_vertical_gradient' ) |
---|
| 562 | WRITE ( 14 ) q_vertical_gradient |
---|
| 563 | |
---|
| 564 | CALL wrd_write_string( 'q_vertical_gradient_level' ) |
---|
| 565 | WRITE ( 14 ) q_vertical_gradient_level |
---|
| 566 | |
---|
| 567 | CALL wrd_write_string( 'q_vertical_gradient_level_ind' ) |
---|
| 568 | WRITE ( 14 ) q_vertical_gradient_level_ind |
---|
| 569 | |
---|
| 570 | CALL wrd_write_string( 'random_generator' ) |
---|
| 571 | WRITE ( 14 ) random_generator |
---|
| 572 | |
---|
| 573 | CALL wrd_write_string( 'random_heatflux' ) |
---|
| 574 | WRITE ( 14 ) random_heatflux |
---|
| 575 | |
---|
| 576 | CALL wrd_write_string( 'rans_mode' ) |
---|
| 577 | WRITE ( 14 ) rans_mode |
---|
| 578 | |
---|
| 579 | CALL wrd_write_string( 'rayleigh_damping_factor' ) |
---|
| 580 | WRITE ( 14 ) rayleigh_damping_factor |
---|
| 581 | |
---|
| 582 | CALL wrd_write_string( 'rayleigh_damping_height' ) |
---|
| 583 | WRITE ( 14 ) rayleigh_damping_height |
---|
| 584 | |
---|
| 585 | CALL wrd_write_string( 'recycling_width' ) |
---|
| 586 | WRITE ( 14 ) recycling_width |
---|
| 587 | |
---|
| 588 | CALL wrd_write_string( 'recycling_yshift' ) |
---|
| 589 | WRITE ( 14 ) recycling_yshift |
---|
| 590 | |
---|
| 591 | CALL wrd_write_string( 'ref_state' ) |
---|
| 592 | WRITE ( 14 ) ref_state |
---|
| 593 | |
---|
| 594 | CALL wrd_write_string( 'reference_state' ) |
---|
| 595 | WRITE ( 14 ) reference_state |
---|
| 596 | |
---|
| 597 | CALL wrd_write_string( 'residual_limit' ) |
---|
| 598 | WRITE ( 14 ) residual_limit |
---|
| 599 | |
---|
| 600 | CALL wrd_write_string( 'roughness_length' ) |
---|
| 601 | WRITE ( 14 ) roughness_length |
---|
| 602 | |
---|
| 603 | CALL wrd_write_string( 'run_coupled' ) |
---|
| 604 | WRITE ( 14 ) run_coupled |
---|
| 605 | |
---|
| 606 | CALL wrd_write_string( 'runnr' ) |
---|
| 607 | WRITE ( 14 ) runnr |
---|
| 608 | |
---|
| 609 | CALL wrd_write_string( 's_init' ) |
---|
| 610 | WRITE ( 14 ) s_init |
---|
| 611 | |
---|
| 612 | CALL wrd_write_string( 's_surface' ) |
---|
| 613 | WRITE ( 14 ) s_surface |
---|
| 614 | |
---|
| 615 | CALL wrd_write_string( 's_surface_initial_change' ) |
---|
| 616 | WRITE ( 14 ) s_surface_initial_change |
---|
| 617 | |
---|
| 618 | CALL wrd_write_string( 's_vertical_gradient' ) |
---|
| 619 | WRITE ( 14 ) s_vertical_gradient |
---|
| 620 | |
---|
| 621 | CALL wrd_write_string( 's_vertical_gradient_level' ) |
---|
| 622 | WRITE ( 14 ) s_vertical_gradient_level |
---|
| 623 | |
---|
| 624 | CALL wrd_write_string( 's_vertical_gradient_level_ind' ) |
---|
| 625 | WRITE ( 14 ) s_vertical_gradient_level_ind |
---|
| 626 | |
---|
| 627 | CALL wrd_write_string( 'scalar_advec' ) |
---|
| 628 | WRITE ( 14 ) scalar_advec |
---|
| 629 | |
---|
| 630 | CALL wrd_write_string( 'simulated_time' ) |
---|
| 631 | WRITE ( 14 ) simulated_time |
---|
| 632 | |
---|
[2956] | 633 | IF ( ALLOCATED( spectrum_x ) ) THEN |
---|
| 634 | CALL wrd_write_string( 'spectrum_x' ) |
---|
| 635 | WRITE ( 14 ) spectrum_x |
---|
| 636 | CALL wrd_write_string( 'spectrum_y' ) |
---|
| 637 | WRITE ( 14 ) spectrum_y |
---|
| 638 | ENDIF |
---|
| 639 | |
---|
[2921] | 640 | CALL wrd_write_string( 'spinup_time ' ) |
---|
| 641 | WRITE ( 14 ) spinup_time |
---|
| 642 | |
---|
[2894] | 643 | CALL wrd_write_string( 'surface_heatflux' ) |
---|
| 644 | WRITE ( 14 ) surface_heatflux |
---|
| 645 | |
---|
| 646 | CALL wrd_write_string( 'surface_pressure' ) |
---|
| 647 | WRITE ( 14 ) surface_pressure |
---|
| 648 | |
---|
| 649 | CALL wrd_write_string( 'surface_scalarflux' ) |
---|
| 650 | WRITE ( 14 ) surface_scalarflux |
---|
| 651 | |
---|
| 652 | CALL wrd_write_string( 'surface_waterflux' ) |
---|
| 653 | WRITE ( 14 ) surface_waterflux |
---|
| 654 | |
---|
| 655 | CALL wrd_write_string( 'time_coupling' ) |
---|
| 656 | WRITE ( 14 ) time_coupling |
---|
| 657 | |
---|
| 658 | CALL wrd_write_string( 'time_disturb' ) |
---|
| 659 | WRITE ( 14 ) time_disturb |
---|
| 660 | |
---|
| 661 | CALL wrd_write_string( 'time_do2d_xy' ) |
---|
| 662 | WRITE ( 14 ) time_do2d_xy |
---|
| 663 | |
---|
| 664 | CALL wrd_write_string( 'time_do2d_xz' ) |
---|
| 665 | WRITE ( 14 ) time_do2d_xz |
---|
| 666 | |
---|
| 667 | CALL wrd_write_string( 'time_do2d_yz' ) |
---|
| 668 | WRITE ( 14 ) time_do2d_yz |
---|
| 669 | |
---|
| 670 | CALL wrd_write_string( 'time_do3d' ) |
---|
| 671 | WRITE ( 14 ) time_do3d |
---|
| 672 | |
---|
| 673 | CALL wrd_write_string( 'time_do_av' ) |
---|
| 674 | WRITE ( 14 ) time_do_av |
---|
| 675 | |
---|
| 676 | CALL wrd_write_string( 'time_do_sla' ) |
---|
| 677 | WRITE ( 14 ) time_do_sla |
---|
| 678 | |
---|
| 679 | CALL wrd_write_string( 'time_domask' ) |
---|
| 680 | WRITE ( 14 ) time_domask |
---|
| 681 | |
---|
| 682 | CALL wrd_write_string( 'time_dopr' ) |
---|
| 683 | WRITE ( 14 ) time_dopr |
---|
| 684 | |
---|
| 685 | CALL wrd_write_string( 'time_dopr_av' ) |
---|
| 686 | WRITE ( 14 ) time_dopr_av |
---|
| 687 | |
---|
| 688 | CALL wrd_write_string( 'time_dopr_listing' ) |
---|
| 689 | WRITE ( 14 ) time_dopr_listing |
---|
| 690 | |
---|
| 691 | CALL wrd_write_string( 'time_dopts' ) |
---|
| 692 | WRITE ( 14 ) time_dopts |
---|
| 693 | |
---|
| 694 | CALL wrd_write_string( 'time_dosp' ) |
---|
| 695 | WRITE ( 14 ) time_dosp |
---|
| 696 | |
---|
| 697 | CALL wrd_write_string( 'time_dots' ) |
---|
| 698 | WRITE ( 14 ) time_dots |
---|
| 699 | |
---|
| 700 | CALL wrd_write_string( 'time_radiation' ) |
---|
| 701 | WRITE ( 14 ) time_radiation |
---|
| 702 | |
---|
| 703 | CALL wrd_write_string( 'time_restart' ) |
---|
| 704 | WRITE ( 14 ) time_restart |
---|
| 705 | |
---|
| 706 | CALL wrd_write_string( 'time_run_control' ) |
---|
| 707 | WRITE ( 14 ) time_run_control |
---|
| 708 | |
---|
| 709 | CALL wrd_write_string( 'time_since_reference_point' ) |
---|
| 710 | WRITE ( 14 ) time_since_reference_point |
---|
| 711 | |
---|
[2921] | 712 | CALL wrd_write_string( 'time_utc_init' ) |
---|
| 713 | WRITE ( 14 ) time_utc_init |
---|
| 714 | |
---|
[3988] | 715 | CALL wrd_write_string( 'time_virtual_measurement' ) |
---|
| 716 | WRITE ( 14 ) time_virtual_measurement |
---|
| 717 | |
---|
[2894] | 718 | CALL wrd_write_string( 'timestep_scheme' ) |
---|
| 719 | WRITE ( 14 ) timestep_scheme |
---|
| 720 | |
---|
| 721 | CALL wrd_write_string( 'top_heatflux' ) |
---|
| 722 | WRITE ( 14 ) top_heatflux |
---|
| 723 | |
---|
| 724 | CALL wrd_write_string( 'top_momentumflux_u' ) |
---|
| 725 | WRITE ( 14 ) top_momentumflux_u |
---|
| 726 | |
---|
| 727 | CALL wrd_write_string( 'top_momentumflux_v' ) |
---|
| 728 | WRITE ( 14 ) top_momentumflux_v |
---|
| 729 | |
---|
| 730 | CALL wrd_write_string( 'top_scalarflux' ) |
---|
| 731 | WRITE ( 14 ) top_scalarflux |
---|
| 732 | |
---|
| 733 | CALL wrd_write_string( 'topography' ) |
---|
| 734 | WRITE ( 14 ) topography |
---|
| 735 | |
---|
| 736 | CALL wrd_write_string( 'topography_grid_convention' ) |
---|
| 737 | WRITE ( 14 ) topography_grid_convention |
---|
| 738 | |
---|
| 739 | CALL wrd_write_string( 'tsc' ) |
---|
| 740 | WRITE ( 14 ) tsc |
---|
| 741 | |
---|
| 742 | CALL wrd_write_string( 'tunnel_height' ) |
---|
| 743 | WRITE ( 14 ) tunnel_height |
---|
| 744 | |
---|
| 745 | CALL wrd_write_string( 'tunnel_length' ) |
---|
| 746 | WRITE ( 14 ) tunnel_length |
---|
| 747 | |
---|
| 748 | CALL wrd_write_string( 'tunnel_wall_depth' ) |
---|
| 749 | WRITE ( 14 ) tunnel_wall_depth |
---|
| 750 | |
---|
| 751 | CALL wrd_write_string( 'tunnel_width_x' ) |
---|
| 752 | WRITE ( 14 ) tunnel_width_x |
---|
| 753 | |
---|
| 754 | CALL wrd_write_string( 'tunnel_width_y' ) |
---|
| 755 | WRITE ( 14 ) tunnel_width_y |
---|
| 756 | |
---|
| 757 | CALL wrd_write_string( 'turbulence_closure' ) |
---|
| 758 | WRITE ( 14 ) turbulence_closure |
---|
| 759 | |
---|
| 760 | CALL wrd_write_string( 'turbulent_inflow' ) |
---|
| 761 | WRITE ( 14 ) turbulent_inflow |
---|
| 762 | |
---|
| 763 | CALL wrd_write_string( 'u_bulk' ) |
---|
| 764 | WRITE ( 14 ) u_bulk |
---|
| 765 | |
---|
| 766 | CALL wrd_write_string( 'u_init' ) |
---|
| 767 | WRITE ( 14 ) u_init |
---|
| 768 | |
---|
| 769 | CALL wrd_write_string( 'u_max' ) |
---|
| 770 | WRITE ( 14 ) u_max |
---|
| 771 | |
---|
| 772 | CALL wrd_write_string( 'u_max_ijk' ) |
---|
| 773 | WRITE ( 14 ) u_max_ijk |
---|
| 774 | |
---|
| 775 | CALL wrd_write_string( 'ug' ) |
---|
| 776 | WRITE ( 14 ) ug |
---|
| 777 | |
---|
| 778 | CALL wrd_write_string( 'ug_surface' ) |
---|
| 779 | WRITE ( 14 ) ug_surface |
---|
| 780 | |
---|
| 781 | CALL wrd_write_string( 'ug_vertical_gradient' ) |
---|
| 782 | WRITE ( 14 ) ug_vertical_gradient |
---|
| 783 | |
---|
| 784 | CALL wrd_write_string( 'ug_vertical_gradient_level' ) |
---|
| 785 | WRITE ( 14 ) ug_vertical_gradient_level |
---|
| 786 | |
---|
| 787 | CALL wrd_write_string( 'ug_vertical_gradient_level_ind' ) |
---|
| 788 | WRITE ( 14 ) ug_vertical_gradient_level_ind |
---|
| 789 | |
---|
| 790 | CALL wrd_write_string( 'use_surface_fluxes' ) |
---|
| 791 | WRITE ( 14 ) use_surface_fluxes |
---|
| 792 | |
---|
| 793 | CALL wrd_write_string( 'use_top_fluxes' ) |
---|
| 794 | WRITE ( 14 ) use_top_fluxes |
---|
| 795 | |
---|
| 796 | CALL wrd_write_string( 'use_ug_for_galilei_tr' ) |
---|
| 797 | WRITE ( 14 ) use_ug_for_galilei_tr |
---|
| 798 | |
---|
| 799 | CALL wrd_write_string( 'use_upstream_for_tke' ) |
---|
| 800 | WRITE ( 14 ) use_upstream_for_tke |
---|
| 801 | |
---|
| 802 | CALL wrd_write_string( 'v_bulk' ) |
---|
| 803 | WRITE ( 14 ) v_bulk |
---|
| 804 | |
---|
| 805 | CALL wrd_write_string( 'v_init' ) |
---|
| 806 | WRITE ( 14 ) v_init |
---|
| 807 | |
---|
| 808 | CALL wrd_write_string( 'v_max' ) |
---|
| 809 | WRITE ( 14 ) v_max |
---|
| 810 | |
---|
| 811 | CALL wrd_write_string( 'v_max_ijk' ) |
---|
| 812 | WRITE ( 14 ) v_max_ijk |
---|
| 813 | |
---|
| 814 | CALL wrd_write_string( 'vg' ) |
---|
| 815 | WRITE ( 14 ) vg |
---|
| 816 | |
---|
| 817 | CALL wrd_write_string( 'vg_surface' ) |
---|
| 818 | WRITE ( 14 ) vg_surface |
---|
| 819 | |
---|
| 820 | CALL wrd_write_string( 'vg_vertical_gradient' ) |
---|
| 821 | WRITE ( 14 ) vg_vertical_gradient |
---|
| 822 | |
---|
| 823 | CALL wrd_write_string( 'vg_vertical_gradient_level' ) |
---|
| 824 | WRITE ( 14 ) vg_vertical_gradient_level |
---|
| 825 | |
---|
| 826 | CALL wrd_write_string( 'vg_vertical_gradient_level_ind' ) |
---|
| 827 | WRITE ( 14 ) vg_vertical_gradient_level_ind |
---|
| 828 | |
---|
| 829 | CALL wrd_write_string( 'virtual_flight' ) |
---|
| 830 | WRITE ( 14 ) virtual_flight |
---|
| 831 | |
---|
| 832 | CALL wrd_write_string( 'vnest_init' ) |
---|
| 833 | WRITE ( 14 ) vnest_init |
---|
| 834 | |
---|
| 835 | CALL wrd_write_string( 'volume_flow_area' ) |
---|
| 836 | WRITE ( 14 ) volume_flow_area |
---|
| 837 | |
---|
| 838 | CALL wrd_write_string( 'volume_flow_initial' ) |
---|
| 839 | WRITE ( 14 ) volume_flow_initial |
---|
| 840 | |
---|
| 841 | CALL wrd_write_string( 'subs_vertical_gradient' ) |
---|
| 842 | WRITE ( 14 ) subs_vertical_gradient |
---|
| 843 | |
---|
| 844 | CALL wrd_write_string( 'subs_vertical_gradient_level' ) |
---|
| 845 | WRITE ( 14 ) subs_vertical_gradient_level |
---|
| 846 | |
---|
| 847 | CALL wrd_write_string( 'subs_vertical_gradient_level_i' ) |
---|
| 848 | WRITE ( 14 ) subs_vertical_gradient_level_i |
---|
| 849 | |
---|
| 850 | CALL wrd_write_string( 'w_max' ) |
---|
| 851 | WRITE ( 14 ) w_max |
---|
| 852 | |
---|
| 853 | CALL wrd_write_string( 'w_max_ijk' ) |
---|
| 854 | WRITE ( 14 ) w_max_ijk |
---|
| 855 | |
---|
| 856 | CALL wrd_write_string( 'wall_adjustment' ) |
---|
| 857 | WRITE ( 14 ) wall_adjustment |
---|
| 858 | |
---|
| 859 | CALL wrd_write_string( 'wall_heatflux' ) |
---|
| 860 | WRITE ( 14 ) wall_heatflux |
---|
| 861 | |
---|
| 862 | CALL wrd_write_string( 'wall_humidityflux' ) |
---|
| 863 | WRITE ( 14 ) wall_humidityflux |
---|
| 864 | |
---|
| 865 | CALL wrd_write_string( 'wall_scalarflux' ) |
---|
| 866 | WRITE ( 14 ) wall_scalarflux |
---|
| 867 | |
---|
| 868 | CALL wrd_write_string( 'y_shift' ) |
---|
| 869 | WRITE ( 14 ) y_shift |
---|
| 870 | |
---|
| 871 | CALL wrd_write_string( 'z0h_factor' ) |
---|
| 872 | WRITE ( 14 ) z0h_factor |
---|
| 873 | |
---|
| 874 | CALL wrd_write_string( 'zeta_max' ) |
---|
| 875 | WRITE ( 14 ) zeta_max |
---|
| 876 | |
---|
| 877 | CALL wrd_write_string( 'zeta_min' ) |
---|
| 878 | WRITE ( 14 ) zeta_min |
---|
| 879 | |
---|
[3003] | 880 | CALL wrd_write_string( 'z_i' ) |
---|
| 881 | WRITE ( 14 ) z_i |
---|
[2894] | 882 | |
---|
| 883 | ! |
---|
[3294] | 884 | !-- Write restart data of the other modules |
---|
[3637] | 885 | CALL module_interface_wrd_global |
---|
[2894] | 886 | |
---|
| 887 | |
---|
| 888 | END SUBROUTINE wrd_global |
---|
| 889 | |
---|
| 890 | |
---|
| 891 | !------------------------------------------------------------------------------! |
---|
| 892 | ! Description: |
---|
| 893 | ! ------------ |
---|
| 894 | !> Processor specific data of variables and arrays is written out for |
---|
| 895 | !> restarts (binary format). |
---|
| 896 | !> This information is written to the file opened by each PE. |
---|
| 897 | !------------------------------------------------------------------------------! |
---|
| 898 | SUBROUTINE wrd_local |
---|
| 899 | |
---|
| 900 | |
---|
| 901 | CHARACTER (LEN=10) :: binary_version_local !< |
---|
| 902 | |
---|
| 903 | ! |
---|
| 904 | !-- Write arrays. |
---|
| 905 | binary_version_local = '4.7' |
---|
| 906 | |
---|
| 907 | CALL wrd_write_string( 'binary_version_local' ) |
---|
| 908 | WRITE ( 14 ) binary_version_local |
---|
| 909 | |
---|
| 910 | WRITE ( 14 ) numprocs, myid, nxl, nxr, nys, nyn, nzb, nzt |
---|
| 911 | |
---|
| 912 | ! |
---|
| 913 | !-- Attention: After changes to the following output commands the version number |
---|
| 914 | !-- --------- of the variable binary_version_local must be changed! |
---|
| 915 | !-- Also, the list of arrays to be read in rrd_local must be |
---|
| 916 | !-- adjusted accordingly. |
---|
| 917 | CALL wrd_write_string( 'e' ) |
---|
| 918 | WRITE ( 14 ) e |
---|
| 919 | |
---|
| 920 | IF ( ALLOCATED( e_av ) ) THEN |
---|
| 921 | CALL wrd_write_string( 'e_av' ) |
---|
| 922 | WRITE ( 14 ) e_av |
---|
| 923 | ENDIF |
---|
| 924 | |
---|
| 925 | CALL wrd_write_string( 'kh' ) |
---|
| 926 | WRITE ( 14 ) kh |
---|
| 927 | |
---|
| 928 | |
---|
| 929 | IF ( ALLOCATED( kh_av ) ) THEN |
---|
| 930 | CALL wrd_write_string( 'kh_av' ) |
---|
| 931 | WRITE ( 14 ) kh_av |
---|
| 932 | ENDIF |
---|
| 933 | |
---|
| 934 | CALL wrd_write_string( 'km' ) |
---|
| 935 | WRITE ( 14 ) km |
---|
| 936 | |
---|
| 937 | IF ( ALLOCATED( km_av ) ) THEN |
---|
| 938 | CALL wrd_write_string( 'km_av' ) |
---|
| 939 | WRITE ( 14 ) km_av |
---|
| 940 | ENDIF |
---|
| 941 | |
---|
| 942 | IF ( ALLOCATED( lpt_av ) ) THEN |
---|
| 943 | CALL wrd_write_string( 'lpt_av' ) |
---|
| 944 | WRITE ( 14 ) lpt_av |
---|
| 945 | ENDIF |
---|
| 946 | |
---|
| 947 | IF ( ALLOCATED( lwp_av ) ) THEN |
---|
| 948 | CALL wrd_write_string( 'lwp_av' ) |
---|
| 949 | WRITE ( 14 ) lwp_av |
---|
| 950 | ENDIF |
---|
| 951 | |
---|
| 952 | CALL wrd_write_string( 'p' ) |
---|
| 953 | WRITE ( 14 ) p |
---|
| 954 | |
---|
| 955 | IF ( ALLOCATED( p_av ) ) THEN |
---|
| 956 | CALL wrd_write_string( 'p_av' ) |
---|
| 957 | WRITE ( 14 ) p_av |
---|
| 958 | ENDIF |
---|
| 959 | |
---|
| 960 | IF ( ALLOCATED( pc_av ) ) THEN |
---|
| 961 | CALL wrd_write_string( 'pc_av' ) |
---|
| 962 | WRITE ( 14 ) pc_av |
---|
| 963 | ENDIF |
---|
| 964 | |
---|
| 965 | IF ( ALLOCATED( pr_av ) ) THEN |
---|
| 966 | CALL wrd_write_string( 'pr_av' ) |
---|
| 967 | WRITE ( 14 ) pr_av |
---|
| 968 | ENDIF |
---|
| 969 | |
---|
| 970 | CALL wrd_write_string( 'pt' ) |
---|
| 971 | WRITE ( 14 ) pt |
---|
| 972 | |
---|
| 973 | IF ( ALLOCATED( pt_av ) ) THEN |
---|
| 974 | CALL wrd_write_string( 'pt_av' ) |
---|
| 975 | WRITE ( 14 ) pt_av |
---|
| 976 | ENDIF |
---|
| 977 | |
---|
[3936] | 978 | IF ( ALLOCATED( pt_2m_av ) ) THEN |
---|
| 979 | CALL wrd_write_string( 'pt_2m_av' ) |
---|
| 980 | WRITE ( 14 ) pt_2m_av |
---|
| 981 | ENDIF |
---|
| 982 | |
---|
[2894] | 983 | IF ( humidity ) THEN |
---|
| 984 | |
---|
| 985 | CALL wrd_write_string( 'q' ) |
---|
| 986 | WRITE ( 14 ) q |
---|
| 987 | |
---|
| 988 | IF ( ALLOCATED( q_av ) ) THEN |
---|
| 989 | CALL wrd_write_string( 'q_av' ) |
---|
| 990 | WRITE ( 14 ) q_av |
---|
| 991 | ENDIF |
---|
| 992 | |
---|
[3274] | 993 | IF ( cloud_droplets ) THEN |
---|
[2894] | 994 | |
---|
[3274] | 995 | CALL wrd_write_string( 'ql' ) |
---|
[2894] | 996 | WRITE ( 14 ) ql |
---|
| 997 | |
---|
| 998 | IF ( ALLOCATED( ql_av ) ) THEN |
---|
[3274] | 999 | CALL wrd_write_string( 'ql_av' ) |
---|
[2894] | 1000 | WRITE ( 14 ) ql_av |
---|
| 1001 | ENDIF |
---|
| 1002 | |
---|
| 1003 | ENDIF |
---|
| 1004 | |
---|
| 1005 | IF ( ALLOCATED( qsws_av ) ) THEN |
---|
| 1006 | CALL wrd_write_string( 'qsws_av' ) |
---|
| 1007 | WRITE ( 14 ) qsws_av |
---|
| 1008 | ENDIF |
---|
| 1009 | |
---|
| 1010 | ENDIF |
---|
| 1011 | |
---|
| 1012 | IF ( passive_scalar ) THEN |
---|
| 1013 | |
---|
| 1014 | CALL wrd_write_string( 's' ) |
---|
| 1015 | WRITE ( 14 ) s |
---|
| 1016 | |
---|
| 1017 | IF ( ALLOCATED( s_av ) ) THEN |
---|
| 1018 | CALL wrd_write_string( 's_av' ) |
---|
| 1019 | WRITE ( 14 ) s_av |
---|
| 1020 | ENDIF |
---|
| 1021 | |
---|
| 1022 | IF ( ALLOCATED( ssws_av ) ) THEN |
---|
| 1023 | CALL wrd_write_string( 'ssws_av' ) |
---|
| 1024 | WRITE ( 14 ) ssws_av |
---|
| 1025 | ENDIF |
---|
| 1026 | |
---|
| 1027 | ENDIF |
---|
| 1028 | |
---|
| 1029 | IF ( ALLOCATED( ql_c_av ) ) THEN |
---|
| 1030 | CALL wrd_write_string( 'ql_c_av' ) |
---|
| 1031 | WRITE ( 14 ) ql_c_av |
---|
| 1032 | ENDIF |
---|
| 1033 | |
---|
| 1034 | IF ( ALLOCATED( ql_v_av ) ) THEN |
---|
| 1035 | CALL wrd_write_string( 'ql_v_av' ) |
---|
| 1036 | WRITE ( 14 ) ql_v_av |
---|
| 1037 | ENDIF |
---|
| 1038 | |
---|
| 1039 | IF ( ALLOCATED( ql_vp_av ) ) THEN |
---|
| 1040 | CALL wrd_write_string( 'ql_vp_av' ) |
---|
| 1041 | WRITE ( 14 ) ql_vp_av |
---|
| 1042 | ENDIF |
---|
| 1043 | |
---|
| 1044 | IF ( ALLOCATED( qv_av ) ) THEN |
---|
| 1045 | CALL wrd_write_string( 'qv_av' ) |
---|
| 1046 | WRITE ( 14 ) qv_av |
---|
| 1047 | ENDIF |
---|
| 1048 | |
---|
| 1049 | CALL wrd_write_string( 'random_iv' ) |
---|
| 1050 | WRITE ( 14 ) random_iv |
---|
| 1051 | WRITE ( 14 ) random_iy |
---|
| 1052 | |
---|
| 1053 | IF ( ALLOCATED( seq_random_array ) ) THEN |
---|
| 1054 | CALL wrd_write_string( 'seq_random_array' ) |
---|
| 1055 | WRITE ( 14 ) id_random_array |
---|
| 1056 | WRITE ( 14 ) seq_random_array |
---|
| 1057 | ENDIF |
---|
| 1058 | |
---|
| 1059 | IF ( ALLOCATED( s_av ) ) THEN |
---|
| 1060 | CALL wrd_write_string( 's_av' ) |
---|
| 1061 | WRITE ( 14 ) s_av |
---|
| 1062 | ENDIF |
---|
| 1063 | |
---|
| 1064 | IF ( ALLOCATED( shf_av ) ) THEN |
---|
| 1065 | CALL wrd_write_string( 'shf_av' ) |
---|
| 1066 | WRITE ( 14 ) shf_av |
---|
| 1067 | ENDIF |
---|
| 1068 | |
---|
| 1069 | IF ( ALLOCATED( ts_av ) ) THEN |
---|
| 1070 | CALL wrd_write_string( 'ts_av' ) |
---|
| 1071 | WRITE ( 14 ) ts_av |
---|
| 1072 | ENDIF |
---|
| 1073 | |
---|
| 1074 | CALL wrd_write_string( 'u' ) |
---|
| 1075 | WRITE ( 14 ) u |
---|
| 1076 | |
---|
| 1077 | IF ( ALLOCATED( u_av ) ) THEN |
---|
| 1078 | CALL wrd_write_string( 'u_av' ) |
---|
| 1079 | WRITE ( 14 ) u_av |
---|
| 1080 | ENDIF |
---|
| 1081 | |
---|
| 1082 | IF ( ALLOCATED( u_m_l ) ) THEN |
---|
| 1083 | CALL wrd_write_string( 'u_m_l' ) |
---|
| 1084 | WRITE ( 14 ) u_m_l |
---|
| 1085 | ENDIF |
---|
| 1086 | |
---|
| 1087 | IF ( ALLOCATED( u_m_n ) ) THEN |
---|
| 1088 | CALL wrd_write_string( 'u_m_n' ) |
---|
| 1089 | WRITE ( 14 ) u_m_n |
---|
| 1090 | ENDIF |
---|
| 1091 | |
---|
| 1092 | IF ( ALLOCATED( u_m_r ) ) THEN |
---|
| 1093 | CALL wrd_write_string( 'u_m_r' ) |
---|
| 1094 | WRITE ( 14 ) u_m_r |
---|
| 1095 | ENDIF |
---|
| 1096 | |
---|
| 1097 | IF ( ALLOCATED( u_m_s ) ) THEN |
---|
| 1098 | CALL wrd_write_string( 'u_m_s' ) |
---|
| 1099 | WRITE ( 14 ) u_m_s |
---|
| 1100 | ENDIF |
---|
| 1101 | |
---|
| 1102 | IF ( ALLOCATED( us_av ) ) THEN |
---|
| 1103 | CALL wrd_write_string( 'us_av' ) |
---|
| 1104 | WRITE ( 14 ) us_av |
---|
| 1105 | ENDIF |
---|
| 1106 | |
---|
| 1107 | CALL wrd_write_string( 'v' ) |
---|
| 1108 | WRITE ( 14 ) v |
---|
| 1109 | |
---|
| 1110 | IF ( ALLOCATED( v_av ) ) THEN |
---|
| 1111 | CALL wrd_write_string( 'v_av' ) |
---|
| 1112 | WRITE ( 14 ) v_av |
---|
| 1113 | ENDIF |
---|
| 1114 | |
---|
| 1115 | IF ( ALLOCATED( v_m_l ) ) THEN |
---|
| 1116 | CALL wrd_write_string( 'v_m_l' ) |
---|
| 1117 | WRITE ( 14 ) v_m_l |
---|
| 1118 | ENDIF |
---|
| 1119 | |
---|
| 1120 | IF ( ALLOCATED( v_m_n ) ) THEN |
---|
| 1121 | CALL wrd_write_string( 'v_m_n' ) |
---|
| 1122 | WRITE ( 14 ) v_m_n |
---|
| 1123 | ENDIF |
---|
| 1124 | |
---|
| 1125 | IF ( ALLOCATED( v_m_r ) ) THEN |
---|
| 1126 | CALL wrd_write_string( 'v_m_r' ) |
---|
| 1127 | WRITE ( 14 ) v_m_r |
---|
| 1128 | ENDIF |
---|
| 1129 | |
---|
| 1130 | IF ( ALLOCATED( v_m_s ) ) THEN |
---|
| 1131 | CALL wrd_write_string( 'v_m_s' ) |
---|
| 1132 | WRITE ( 14 ) v_m_s |
---|
| 1133 | ENDIF |
---|
| 1134 | |
---|
| 1135 | IF ( humidity ) THEN |
---|
| 1136 | |
---|
| 1137 | CALL wrd_write_string( 'vpt' ) |
---|
| 1138 | WRITE ( 14 ) vpt |
---|
| 1139 | |
---|
| 1140 | IF ( ALLOCATED( vpt_av ) ) THEN |
---|
| 1141 | CALL wrd_write_string( 'vpt_av' ) |
---|
| 1142 | WRITE ( 14 ) vpt_av |
---|
| 1143 | ENDIF |
---|
| 1144 | |
---|
| 1145 | ENDIF |
---|
| 1146 | |
---|
| 1147 | CALL wrd_write_string( 'w' ) |
---|
| 1148 | WRITE ( 14 ) w |
---|
| 1149 | |
---|
| 1150 | IF ( ALLOCATED( w_av ) ) THEN |
---|
| 1151 | CALL wrd_write_string( 'w_av' ) |
---|
| 1152 | WRITE ( 14 ) w_av |
---|
| 1153 | ENDIF |
---|
| 1154 | |
---|
| 1155 | IF ( ALLOCATED( w_m_l ) ) THEN |
---|
| 1156 | CALL wrd_write_string( 'w_m_l' ) |
---|
| 1157 | WRITE ( 14 ) w_m_l |
---|
| 1158 | ENDIF |
---|
| 1159 | |
---|
| 1160 | IF ( ALLOCATED( w_m_n ) ) THEN |
---|
| 1161 | CALL wrd_write_string( 'w_m_n' ) |
---|
| 1162 | WRITE ( 14 ) w_m_n |
---|
| 1163 | ENDIF |
---|
| 1164 | |
---|
| 1165 | IF ( ALLOCATED( w_m_r ) ) THEN |
---|
| 1166 | CALL wrd_write_string( 'w_m_r' ) |
---|
| 1167 | WRITE ( 14 ) w_m_r |
---|
| 1168 | ENDIF |
---|
| 1169 | |
---|
| 1170 | IF ( ALLOCATED( w_m_s ) ) THEN |
---|
| 1171 | CALL wrd_write_string( 'w_m_s' ) |
---|
| 1172 | WRITE ( 14 ) w_m_s |
---|
| 1173 | ENDIF |
---|
| 1174 | |
---|
| 1175 | IF ( ALLOCATED( z0_av ) ) THEN |
---|
| 1176 | CALL wrd_write_string( 'z0_av' ) |
---|
| 1177 | WRITE ( 14 ) z0_av |
---|
| 1178 | ENDIF |
---|
| 1179 | |
---|
| 1180 | IF ( ALLOCATED( z0h_av ) ) THEN |
---|
| 1181 | CALL wrd_write_string( 'z0h_av' ) |
---|
| 1182 | WRITE ( 14 ) z0h_av |
---|
| 1183 | ENDIF |
---|
| 1184 | |
---|
| 1185 | IF ( ALLOCATED( z0q_av ) ) THEN |
---|
| 1186 | CALL wrd_write_string( 'z0q_av' ) |
---|
| 1187 | WRITE ( 14 ) z0q_av |
---|
| 1188 | ENDIF |
---|
| 1189 | |
---|
| 1190 | IF ( land_surface .OR. urban_surface ) THEN |
---|
| 1191 | |
---|
| 1192 | IF ( ALLOCATED( ghf_av ) ) THEN |
---|
| 1193 | CALL wrd_write_string( 'ghf_av' ) |
---|
| 1194 | WRITE ( 14 ) ghf_av |
---|
| 1195 | ENDIF |
---|
| 1196 | |
---|
| 1197 | IF ( ALLOCATED( r_a_av ) ) THEN |
---|
| 1198 | CALL wrd_write_string( 'r_a_av' ) |
---|
| 1199 | WRITE ( 14 ) r_a_av |
---|
| 1200 | ENDIF |
---|
| 1201 | |
---|
| 1202 | ENDIF |
---|
| 1203 | |
---|
| 1204 | IF ( ALLOCATED( tsurf_av ) ) THEN |
---|
| 1205 | CALL wrd_write_string( 'tsurf_av' ) |
---|
| 1206 | WRITE ( 14 ) tsurf_av |
---|
| 1207 | ENDIF |
---|
| 1208 | |
---|
[3637] | 1209 | |
---|
[3582] | 1210 | CALL surface_wrd_local |
---|
[2894] | 1211 | |
---|
| 1212 | ! |
---|
[3637] | 1213 | !-- Write restart data of other modules |
---|
| 1214 | CALL module_interface_wrd_local |
---|
[2894] | 1215 | |
---|
| 1216 | ! |
---|
[3294] | 1217 | !-- Write end label |
---|
[2894] | 1218 | CALL wrd_write_string( '*** end ***' ) |
---|
| 1219 | |
---|
| 1220 | END SUBROUTINE wrd_local |
---|
| 1221 | |
---|
| 1222 | |
---|
| 1223 | END MODULE write_restart_data_mod |
---|