[1] | 1 | SUBROUTINE read_var_list |
---|
| 2 | |
---|
| 3 | !------------------------------------------------------------------------------! |
---|
| 4 | ! Actual revisions: |
---|
| 5 | ! ----------------- |
---|
[240] | 6 | ! +canyon_height, canyon_width_x, canyon_width_y, canyon_wall_left, |
---|
[241] | 7 | ! canyon_wall_south, conserve_volume_flow_mode, dp_external, dp_level_b, |
---|
| 8 | ! dp_smooth, dpdxy, u_bulk, v_bulk |
---|
[198] | 9 | ! |
---|
| 10 | ! Former revisions: |
---|
| 11 | ! ----------------- |
---|
| 12 | ! $Id: read_var_list.f90 241 2009-02-19 16:08:56Z raasch $ |
---|
| 13 | ! |
---|
[226] | 14 | ! 216 2008-11-25 07:12:43Z raasch |
---|
| 15 | ! limitations for nx_on_file, ny_on_file removed (read_parts_of_var_list) |
---|
| 16 | ! |
---|
[198] | 17 | ! 173 2008-05-23 20:39:38Z raasch |
---|
[153] | 18 | ! +cthf, leaf_surface_concentration, scalar_exchange_coefficient |
---|
[151] | 19 | ! +numprocs_previous_run, hor_index_bounds_previous_run, inflow_damping_factor, |
---|
| 20 | ! inflow_damping_height, inflow_damping_width, mean_inflow_profiles, |
---|
| 21 | ! recycling_width, turbulent_inflow, |
---|
[145] | 22 | ! -cross_ts_*, npex, npey, |
---|
| 23 | ! hom_sum, volume_flow_area, volume_flow_initial moved from |
---|
[146] | 24 | ! read_3d_binary to here, |
---|
[147] | 25 | ! routines read_parts_of_var_list and skip_var_list added at the end |
---|
[138] | 26 | ! |
---|
[139] | 27 | ! 138 2007-11-28 10:03:58Z letzel |
---|
| 28 | ! +canopy_mode, drag_coefficient, lad, lad_surface, lad_vertical_gradient, |
---|
| 29 | ! lad_vertical_gradient_level, lad_vertical_gradient_level_ind, pch_index, |
---|
| 30 | ! plant_canopy, time_sort_particles |
---|
| 31 | ! |
---|
[110] | 32 | ! 102 2007-07-27 09:09:17Z raasch |
---|
| 33 | ! +time_coupling, top_momentumflux_u|v |
---|
| 34 | ! |
---|
[98] | 35 | ! 95 2007-06-02 16:48:38Z raasch |
---|
| 36 | ! +bc_sa_t, ocean, sa_init, sa_surface, sa_vertical_gradient, |
---|
| 37 | ! sa_vertical_gradient_level, bottom/top_salinity_flux |
---|
| 38 | ! |
---|
[90] | 39 | ! 87 2007-05-22 15:46:47Z raasch |
---|
| 40 | ! +max_pr_user (version 3.1), var_hom renamed pr_palm |
---|
| 41 | ! |
---|
[77] | 42 | ! 75 2007-03-22 09:54:05Z raasch |
---|
| 43 | ! +loop_optimization, pt_reference, moisture renamed humidity |
---|
| 44 | ! |
---|
[39] | 45 | ! 20 2007-02-26 00:12:32Z raasch |
---|
| 46 | ! +top_heatflux, use_top_fluxes |
---|
| 47 | ! |
---|
[3] | 48 | ! RCS Log replace by Id keyword, revision history cleaned up |
---|
| 49 | ! |
---|
[1] | 50 | ! Revision 1.34 2006/08/22 14:14:27 raasch |
---|
| 51 | ! +dz_max |
---|
| 52 | ! |
---|
| 53 | ! Revision 1.1 1998/03/18 20:18:48 raasch |
---|
| 54 | ! Initial revision |
---|
| 55 | ! |
---|
| 56 | ! |
---|
| 57 | ! Description: |
---|
| 58 | ! ------------ |
---|
[143] | 59 | ! Reading values of global control variables from restart-file (binary format) |
---|
[1] | 60 | !------------------------------------------------------------------------------! |
---|
| 61 | |
---|
| 62 | USE arrays_3d |
---|
| 63 | USE averaging |
---|
[87] | 64 | USE control_parameters |
---|
[1] | 65 | USE grid_variables |
---|
| 66 | USE indices |
---|
| 67 | USE model_1d |
---|
[116] | 68 | USE particle_attributes |
---|
[1] | 69 | USE pegrid |
---|
| 70 | USE profil_parameter |
---|
| 71 | USE statistics |
---|
| 72 | |
---|
| 73 | IMPLICIT NONE |
---|
| 74 | |
---|
| 75 | CHARACTER (LEN=10) :: binary_version, version_on_file |
---|
| 76 | CHARACTER (LEN=30) :: variable_chr |
---|
[87] | 77 | |
---|
[143] | 78 | |
---|
[1] | 79 | CALL check_open( 13 ) |
---|
| 80 | |
---|
| 81 | ! |
---|
| 82 | !-- Make version number check first |
---|
| 83 | READ ( 13 ) version_on_file |
---|
[241] | 84 | binary_version = '3.4' |
---|
[1] | 85 | IF ( TRIM( version_on_file ) /= TRIM( binary_version ) ) THEN |
---|
| 86 | IF ( myid == 0 ) THEN |
---|
| 87 | PRINT*, '+++ read_var_list: version mismatch concerning control', & |
---|
| 88 | ' variables' |
---|
| 89 | PRINT*, ' version on file = "', & |
---|
| 90 | TRIM( version_on_file ), '"' |
---|
| 91 | PRINT*, ' version on program = "', & |
---|
| 92 | TRIM( binary_version ), '"' |
---|
| 93 | ENDIF |
---|
| 94 | CALL local_stop |
---|
| 95 | ENDIF |
---|
| 96 | |
---|
| 97 | ! |
---|
[145] | 98 | !-- Read number of PEs and horizontal index bounds of all PEs used in previous |
---|
| 99 | !-- run |
---|
| 100 | READ ( 13 ) variable_chr |
---|
| 101 | IF ( TRIM( variable_chr ) /= 'numprocs' ) THEN |
---|
| 102 | PRINT*, '+++ read_var_list: numprocs not found in data from prior run', & |
---|
| 103 | ' on PE ', myid |
---|
| 104 | CALL local_stop |
---|
| 105 | ENDIF |
---|
| 106 | READ ( 13 ) numprocs_previous_run |
---|
| 107 | |
---|
[146] | 108 | IF ( .NOT. ALLOCATED( hor_index_bounds_previous_run ) ) THEN |
---|
| 109 | ALLOCATE( hor_index_bounds_previous_run(4,0:numprocs_previous_run-1) ) |
---|
| 110 | ENDIF |
---|
[145] | 111 | |
---|
| 112 | READ ( 13 ) variable_chr |
---|
| 113 | IF ( TRIM( variable_chr ) /= 'hor_index_bounds' ) THEN |
---|
| 114 | PRINT*, '+++ read_var_list: hor_index_bounds not found in data from ', & |
---|
| 115 | 'prior run on PE ', myid |
---|
| 116 | CALL local_stop |
---|
| 117 | ENDIF |
---|
| 118 | READ ( 13 ) hor_index_bounds_previous_run |
---|
| 119 | |
---|
| 120 | ! |
---|
[1] | 121 | !-- Read vertical number of gridpoints and number of different areas used |
---|
| 122 | !-- for computing statistics. Allocate arrays depending on these values, |
---|
| 123 | !-- which are needed for the following read instructions. |
---|
| 124 | READ ( 13 ) variable_chr |
---|
| 125 | IF ( TRIM( variable_chr ) /= 'nz' ) THEN |
---|
| 126 | PRINT*, '+++ read_var_list: nz not found in data from prior run on PE ',& |
---|
| 127 | myid |
---|
| 128 | CALL local_stop |
---|
| 129 | ENDIF |
---|
| 130 | READ ( 13 ) nz |
---|
[87] | 131 | |
---|
[1] | 132 | READ ( 13 ) variable_chr |
---|
[87] | 133 | IF ( TRIM( variable_chr ) /= 'max_pr_user' ) THEN |
---|
| 134 | PRINT*, '+++ read_var_list: max_pr_user not found in data from ', & |
---|
| 135 | 'prior run on PE ', myid |
---|
| 136 | CALL local_stop |
---|
| 137 | ENDIF |
---|
[159] | 138 | READ ( 13 ) max_pr_user ! This value is checked against the number of |
---|
| 139 | ! user profiles given for the current run |
---|
| 140 | ! in routine user_parin (it has to match) |
---|
[87] | 141 | |
---|
| 142 | READ ( 13 ) variable_chr |
---|
[1] | 143 | IF ( TRIM( variable_chr ) /= 'statistic_regions' ) THEN |
---|
| 144 | PRINT*, '+++ read_var_list: statistic_regions not found in data from ', & |
---|
| 145 | 'prior run on PE ', myid |
---|
| 146 | CALL local_stop |
---|
| 147 | ENDIF |
---|
| 148 | READ ( 13 ) statistic_regions |
---|
[146] | 149 | IF ( .NOT. ALLOCATED( ug ) ) THEN |
---|
[147] | 150 | ALLOCATE( lad(0:nz+1), ug(0:nz+1), u_init(0:nz+1), vg(0:nz+1), & |
---|
| 151 | v_init(0:nz+1), pt_init(0:nz+1), q_init(0:nz+1), & |
---|
| 152 | sa_init(0:nz+1), & |
---|
[146] | 153 | hom(0:nz+1,2,pr_palm+max_pr_user,0:statistic_regions), & |
---|
| 154 | hom_sum(0:nz+1,pr_palm+max_pr_user,0:statistic_regions) ) |
---|
| 155 | ENDIF |
---|
[1] | 156 | |
---|
| 157 | ! |
---|
| 158 | !-- Now read all control parameters: |
---|
| 159 | !-- Caution: When the following read instructions have been changed, the |
---|
| 160 | !-- ------- version number stored in the variable binary_version has to be |
---|
| 161 | !-- increased. The same changes must also be done in write_var_list. |
---|
| 162 | READ ( 13 ) variable_chr |
---|
| 163 | DO WHILE ( TRIM( variable_chr ) /= '*** end ***' ) |
---|
| 164 | |
---|
| 165 | SELECT CASE ( TRIM( variable_chr ) ) |
---|
| 166 | |
---|
| 167 | CASE ( 'adjust_mixing_length' ) |
---|
| 168 | READ ( 13 ) adjust_mixing_length |
---|
| 169 | CASE ( 'advected_distance_x' ) |
---|
| 170 | READ ( 13 ) advected_distance_x |
---|
| 171 | CASE ( 'advected_distance_y' ) |
---|
| 172 | READ ( 13 ) advected_distance_y |
---|
| 173 | CASE ( 'alpha_surface' ) |
---|
| 174 | READ ( 13 ) alpha_surface |
---|
| 175 | CASE ( 'average_count_pr' ) |
---|
| 176 | READ ( 13 ) average_count_pr |
---|
| 177 | CASE ( 'average_count_sp' ) |
---|
| 178 | READ ( 13 ) average_count_sp |
---|
| 179 | CASE ( 'average_count_3d' ) |
---|
| 180 | READ ( 13 ) average_count_3d |
---|
| 181 | CASE ( 'bc_e_b' ) |
---|
| 182 | READ ( 13 ) bc_e_b |
---|
| 183 | CASE ( 'bc_lr' ) |
---|
| 184 | READ ( 13 ) bc_lr |
---|
| 185 | CASE ( 'bc_ns' ) |
---|
| 186 | READ ( 13 ) bc_ns |
---|
| 187 | CASE ( 'bc_p_b' ) |
---|
| 188 | READ ( 13 ) bc_p_b |
---|
| 189 | CASE ( 'bc_p_t' ) |
---|
| 190 | READ ( 13 ) bc_p_t |
---|
| 191 | CASE ( 'bc_pt_b' ) |
---|
| 192 | READ ( 13 ) bc_pt_b |
---|
| 193 | CASE ( 'bc_pt_t' ) |
---|
| 194 | READ ( 13 ) bc_pt_t |
---|
| 195 | CASE ( 'bc_pt_t_val' ) |
---|
| 196 | READ ( 13 ) bc_pt_t_val |
---|
| 197 | CASE ( 'bc_q_b' ) |
---|
| 198 | READ ( 13 ) bc_q_b |
---|
| 199 | CASE ( 'bc_q_t' ) |
---|
| 200 | READ ( 13 ) bc_q_t |
---|
| 201 | CASE ( 'bc_q_t_val' ) |
---|
| 202 | READ ( 13 ) bc_q_t_val |
---|
| 203 | CASE ( 'bc_s_b' ) |
---|
| 204 | READ ( 13 ) bc_s_b |
---|
| 205 | CASE ( 'bc_s_t' ) |
---|
| 206 | READ ( 13 ) bc_s_t |
---|
[95] | 207 | CASE ( 'bc_sa_t' ) |
---|
| 208 | READ ( 13 ) bc_sa_t |
---|
[1] | 209 | CASE ( 'bc_uv_b' ) |
---|
| 210 | READ ( 13 ) bc_uv_b |
---|
| 211 | CASE ( 'bc_uv_t' ) |
---|
| 212 | READ ( 13 ) bc_uv_t |
---|
[95] | 213 | CASE ( 'bottom_salinityflux' ) |
---|
| 214 | READ ( 13 ) bottom_salinityflux |
---|
[1] | 215 | CASE ( 'building_height' ) |
---|
| 216 | READ ( 13 ) building_height |
---|
| 217 | CASE ( 'building_length_x' ) |
---|
| 218 | READ ( 13 ) building_length_x |
---|
| 219 | CASE ( 'building_length_y' ) |
---|
| 220 | READ ( 13 ) building_length_y |
---|
| 221 | CASE ( 'building_wall_left' ) |
---|
| 222 | READ ( 13 ) building_wall_left |
---|
| 223 | CASE ( 'building_wall_south' ) |
---|
| 224 | READ ( 13 ) building_wall_south |
---|
[138] | 225 | CASE ( 'canopy_mode' ) |
---|
| 226 | READ ( 13 ) canopy_mode |
---|
[240] | 227 | CASE ( 'canyon_height' ) |
---|
| 228 | READ ( 13 ) canyon_height |
---|
| 229 | CASE ( 'canyon_width_x' ) |
---|
| 230 | READ ( 13 ) canyon_width_x |
---|
| 231 | CASE ( 'canyon_width_y' ) |
---|
| 232 | READ ( 13 ) canyon_width_y |
---|
| 233 | CASE ( 'canyon_wall_left' ) |
---|
| 234 | READ ( 13 ) canyon_wall_left |
---|
| 235 | CASE ( 'canyon_wall_south' ) |
---|
| 236 | READ ( 13 ) canyon_wall_south |
---|
[1] | 237 | CASE ( 'cloud_droplets' ) |
---|
| 238 | READ ( 13 ) cloud_droplets |
---|
| 239 | CASE ( 'cloud_physics' ) |
---|
| 240 | READ ( 13 ) cloud_physics |
---|
| 241 | CASE ( 'conserve_volume_flow' ) |
---|
| 242 | READ ( 13 ) conserve_volume_flow |
---|
[241] | 243 | CASE ( 'conserve_volume_flow_mode' ) |
---|
| 244 | READ ( 13 ) conserve_volume_flow_mode |
---|
[153] | 245 | CASE ( 'cthf' ) |
---|
| 246 | READ ( 13 ) cthf |
---|
[1] | 247 | CASE ( 'current_timestep_number' ) |
---|
| 248 | READ ( 13 ) current_timestep_number |
---|
| 249 | CASE ( 'cut_spline_overshoot' ) |
---|
| 250 | READ ( 13 ) cut_spline_overshoot |
---|
| 251 | CASE ( 'damp_level_1d' ) |
---|
| 252 | READ ( 13 ) damp_level_1d |
---|
| 253 | CASE ( 'dissipation_1d' ) |
---|
| 254 | READ ( 13 ) dissipation_1d |
---|
[240] | 255 | CASE ( 'dp_external' ) |
---|
| 256 | READ ( 13 ) dp_external |
---|
| 257 | CASE ( 'dp_level_b' ) |
---|
| 258 | READ ( 13 ) dp_level_b |
---|
| 259 | CASE ( 'dp_smooth' ) |
---|
| 260 | READ ( 13 ) dp_smooth |
---|
| 261 | CASE ( 'dpdxy' ) |
---|
| 262 | READ ( 13 ) dpdxy |
---|
[138] | 263 | CASE ( 'drag_coefficient' ) |
---|
| 264 | READ ( 13 ) drag_coefficient |
---|
[1] | 265 | CASE ( 'dt_fixed' ) |
---|
| 266 | READ ( 13 ) dt_fixed |
---|
| 267 | CASE ( 'dt_pr_1d' ) |
---|
| 268 | READ ( 13 ) dt_pr_1d |
---|
| 269 | CASE ( 'dt_run_control_1d' ) |
---|
| 270 | READ ( 13 ) dt_run_control_1d |
---|
| 271 | CASE ( 'dt_3d' ) |
---|
| 272 | READ ( 13 ) dt_3d |
---|
| 273 | CASE ( 'dvrp_filecount' ) |
---|
| 274 | READ ( 13 ) dvrp_filecount |
---|
| 275 | CASE ( 'dx' ) |
---|
| 276 | READ ( 13 ) dx |
---|
| 277 | CASE ( 'dy' ) |
---|
| 278 | READ ( 13 ) dy |
---|
| 279 | CASE ( 'dz' ) |
---|
| 280 | READ ( 13 ) dz |
---|
| 281 | CASE ( 'dz_max' ) |
---|
| 282 | READ ( 13 ) dz_max |
---|
| 283 | CASE ( 'dz_stretch_factor' ) |
---|
| 284 | READ ( 13 ) dz_stretch_factor |
---|
| 285 | CASE ( 'dz_stretch_level' ) |
---|
| 286 | READ ( 13 ) dz_stretch_level |
---|
| 287 | CASE ( 'e_min' ) |
---|
| 288 | READ ( 13 ) e_min |
---|
| 289 | CASE ( 'end_time_1d' ) |
---|
| 290 | READ ( 13 ) end_time_1d |
---|
| 291 | CASE ( 'fft_method' ) |
---|
| 292 | READ ( 13 ) fft_method |
---|
| 293 | CASE ( 'first_call_advec_particles' ) |
---|
| 294 | READ ( 13 ) first_call_advec_particles |
---|
| 295 | CASE ( 'galilei_transformation' ) |
---|
| 296 | READ ( 13 ) galilei_transformation |
---|
| 297 | CASE ( 'grid_matching' ) |
---|
| 298 | READ ( 13 ) grid_matching |
---|
| 299 | CASE ( 'hom' ) |
---|
| 300 | READ ( 13 ) hom |
---|
[143] | 301 | CASE ( 'hom_sum' ) |
---|
| 302 | READ ( 13 ) hom_sum |
---|
[151] | 303 | CASE ( 'humidity' ) |
---|
| 304 | READ ( 13 ) humidity |
---|
| 305 | CASE ( 'inflow_damping_factor' ) |
---|
| 306 | IF ( .NOT. ALLOCATED( inflow_damping_factor ) ) THEN |
---|
| 307 | ALLOCATE( inflow_damping_factor(0:nz+1) ) |
---|
| 308 | ENDIF |
---|
| 309 | READ ( 13 ) inflow_damping_factor |
---|
| 310 | CASE ( 'inflow_damping_height' ) |
---|
| 311 | READ ( 13 ) inflow_damping_height |
---|
| 312 | CASE ( 'inflow_damping_width' ) |
---|
| 313 | READ ( 13 ) inflow_damping_width |
---|
[1] | 314 | CASE ( 'inflow_disturbance_begin' ) |
---|
| 315 | READ ( 13 ) inflow_disturbance_begin |
---|
| 316 | CASE ( 'inflow_disturbance_end' ) |
---|
| 317 | READ ( 13 ) inflow_disturbance_end |
---|
| 318 | CASE ( 'km_constant' ) |
---|
| 319 | READ ( 13 ) km_constant |
---|
| 320 | CASE ( 'km_damp_max' ) |
---|
| 321 | READ ( 13 ) km_damp_max |
---|
[138] | 322 | CASE ( 'lad' ) |
---|
| 323 | READ ( 13 ) lad |
---|
| 324 | CASE ( 'lad_surface' ) |
---|
| 325 | READ ( 13 ) lad_surface |
---|
| 326 | CASE ( 'lad_vertical_gradient' ) |
---|
| 327 | READ ( 13 ) lad_vertical_gradient |
---|
| 328 | CASE ( 'lad_vertical_gradient_level' ) |
---|
| 329 | READ ( 13 ) lad_vertical_gradient_level |
---|
| 330 | CASE ( 'lad_vertical_gradient_level_in' ) |
---|
| 331 | READ ( 13 ) lad_vertical_gradient_level_ind |
---|
[1] | 332 | CASE ( 'last_dt_change' ) |
---|
| 333 | READ ( 13 ) last_dt_change |
---|
[153] | 334 | CASE ( 'leaf_surface_concentration' ) |
---|
| 335 | READ ( 13 ) leaf_surface_concentration |
---|
[1] | 336 | CASE ( 'long_filter_factor' ) |
---|
| 337 | READ ( 13 ) long_filter_factor |
---|
[63] | 338 | CASE ( 'loop_optimization' ) |
---|
| 339 | READ ( 13 ) loop_optimization |
---|
[151] | 340 | CASE ( 'mean_inflow_profiles' ) |
---|
| 341 | IF ( .NOT. ALLOCATED( mean_inflow_profiles ) ) THEN |
---|
| 342 | ALLOCATE( mean_inflow_profiles(0:nz+1,5) ) |
---|
| 343 | ENDIF |
---|
| 344 | READ ( 13 ) mean_inflow_profiles |
---|
[1] | 345 | CASE ( 'mixing_length_1d' ) |
---|
| 346 | READ ( 13 ) mixing_length_1d |
---|
| 347 | CASE ( 'momentum_advec' ) |
---|
| 348 | READ ( 13 ) momentum_advec |
---|
| 349 | CASE ( 'netcdf_precision' ) |
---|
| 350 | READ ( 13 ) netcdf_precision |
---|
| 351 | CASE ( 'nsor_ini' ) |
---|
| 352 | READ ( 13 ) nsor_ini |
---|
| 353 | CASE ( 'nx' ) |
---|
| 354 | READ ( 13 ) nx |
---|
[147] | 355 | nx_on_file = nx |
---|
[1] | 356 | CASE ( 'ny' ) |
---|
| 357 | READ ( 13 ) ny |
---|
[147] | 358 | ny_on_file = ny |
---|
[94] | 359 | CASE ( 'ocean' ) |
---|
| 360 | READ ( 13 ) ocean |
---|
[1] | 361 | CASE ( 'old_dt' ) |
---|
| 362 | READ ( 13 ) old_dt |
---|
| 363 | CASE ( 'omega' ) |
---|
| 364 | READ ( 13 ) omega |
---|
| 365 | CASE ( 'outflow_damping_width' ) |
---|
| 366 | READ ( 13 ) outflow_damping_width |
---|
| 367 | CASE ( 'overshoot_limit_e' ) |
---|
| 368 | READ ( 13 ) overshoot_limit_e |
---|
| 369 | CASE ( 'overshoot_limit_pt' ) |
---|
| 370 | READ ( 13 ) overshoot_limit_pt |
---|
| 371 | CASE ( 'overshoot_limit_u' ) |
---|
| 372 | READ ( 13 ) overshoot_limit_u |
---|
| 373 | CASE ( 'overshoot_limit_v' ) |
---|
| 374 | READ ( 13 ) overshoot_limit_v |
---|
| 375 | CASE ( 'overshoot_limit_w' ) |
---|
| 376 | READ ( 13 ) overshoot_limit_w |
---|
| 377 | CASE ( 'passive_scalar' ) |
---|
| 378 | READ ( 13 ) passive_scalar |
---|
[138] | 379 | CASE ( 'pch_index' ) |
---|
| 380 | READ ( 13 ) pch_index |
---|
[1] | 381 | CASE ( 'phi' ) |
---|
| 382 | READ ( 13 ) phi |
---|
[138] | 383 | CASE ( 'plant_canopy' ) |
---|
| 384 | READ ( 13 ) plant_canopy |
---|
[1] | 385 | CASE ( 'prandtl_layer' ) |
---|
| 386 | READ ( 13 ) prandtl_layer |
---|
| 387 | CASE ( 'precipitation' ) |
---|
| 388 | READ ( 13 ) precipitation |
---|
| 389 | CASE ( 'pt_init' ) |
---|
| 390 | READ ( 13 ) pt_init |
---|
[57] | 391 | CASE ( 'pt_reference' ) |
---|
| 392 | READ ( 13 ) pt_reference |
---|
[1] | 393 | CASE ( 'pt_surface' ) |
---|
| 394 | READ ( 13 ) pt_surface |
---|
| 395 | CASE ( 'pt_surface_initial_change' ) |
---|
| 396 | READ ( 13 ) pt_surface_initial_change |
---|
| 397 | CASE ( 'pt_vertical_gradient' ) |
---|
| 398 | READ ( 13 ) pt_vertical_gradient |
---|
| 399 | CASE ( 'pt_vertical_gradient_level' ) |
---|
| 400 | READ ( 13 ) pt_vertical_gradient_level |
---|
| 401 | CASE ( 'pt_vertical_gradient_level_ind' ) |
---|
| 402 | READ ( 13 ) pt_vertical_gradient_level_ind |
---|
| 403 | CASE ( 'q_init' ) |
---|
| 404 | READ ( 13 ) q_init |
---|
| 405 | CASE ( 'q_surface' ) |
---|
| 406 | READ ( 13 ) q_surface |
---|
| 407 | CASE ( 'q_surface_initial_change' ) |
---|
| 408 | READ ( 13 ) q_surface_initial_change |
---|
| 409 | CASE ( 'q_vertical_gradient' ) |
---|
| 410 | READ ( 13 ) q_vertical_gradient |
---|
| 411 | CASE ( 'q_vertical_gradient_level' ) |
---|
| 412 | READ ( 13 ) q_vertical_gradient_level |
---|
| 413 | CASE ( 'q_vertical_gradient_level_ind' ) |
---|
| 414 | READ ( 13 ) q_vertical_gradient_level_ind |
---|
| 415 | CASE ( 'radiation' ) |
---|
| 416 | READ ( 13 ) radiation |
---|
| 417 | CASE ( 'random_generator' ) |
---|
| 418 | READ ( 13 ) random_generator |
---|
| 419 | CASE ( 'random_heatflux' ) |
---|
| 420 | READ ( 13 ) random_heatflux |
---|
[151] | 421 | CASE ( 'recycling_width' ) |
---|
| 422 | READ ( 13 ) recycling_width |
---|
[1] | 423 | CASE ( 'rif_max' ) |
---|
| 424 | READ ( 13 ) rif_max |
---|
| 425 | CASE ( 'rif_min' ) |
---|
| 426 | READ ( 13 ) rif_min |
---|
| 427 | CASE ( 'roughness_length' ) |
---|
| 428 | READ ( 13 ) roughness_length |
---|
| 429 | CASE ( 'runnr' ) |
---|
| 430 | READ ( 13 ) runnr |
---|
[94] | 431 | CASE ( 'sa_init' ) |
---|
| 432 | READ ( 13 ) sa_init |
---|
| 433 | CASE ( 'sa_surface' ) |
---|
| 434 | READ ( 13 ) sa_surface |
---|
| 435 | CASE ( 'sa_vertical_gradient' ) |
---|
| 436 | READ ( 13 ) sa_vertical_gradient |
---|
| 437 | CASE ( 'sa_vertical_gradient_level' ) |
---|
| 438 | READ ( 13 ) sa_vertical_gradient_level |
---|
[1] | 439 | CASE ( 'scalar_advec' ) |
---|
| 440 | READ ( 13 ) scalar_advec |
---|
[153] | 441 | CASE ( 'scalar_exchange_coefficient' ) |
---|
| 442 | READ ( 13 ) scalar_exchange_coefficient |
---|
[1] | 443 | CASE ( 'simulated_time' ) |
---|
| 444 | READ ( 13 ) simulated_time |
---|
| 445 | CASE ( 'surface_heatflux' ) |
---|
| 446 | READ ( 13 ) surface_heatflux |
---|
| 447 | CASE ( 'surface_pressure' ) |
---|
| 448 | READ ( 13 ) surface_pressure |
---|
| 449 | CASE ( 'surface_scalarflux' ) |
---|
| 450 | READ ( 13 ) surface_scalarflux |
---|
| 451 | CASE ( 'surface_waterflux' ) |
---|
| 452 | READ ( 13 ) surface_waterflux |
---|
| 453 | CASE ( 's_surface' ) |
---|
| 454 | READ ( 13 ) s_surface |
---|
| 455 | CASE ( 's_surface_initial_change' ) |
---|
| 456 | READ ( 13 ) s_surface_initial_change |
---|
| 457 | CASE ( 's_vertical_gradient' ) |
---|
| 458 | READ ( 13 ) s_vertical_gradient |
---|
| 459 | CASE ( 's_vertical_gradient_level' ) |
---|
| 460 | READ ( 13 ) s_vertical_gradient_level |
---|
[102] | 461 | CASE ( 'time_coupling' ) |
---|
| 462 | READ ( 13 ) time_coupling |
---|
[1] | 463 | CASE ( 'time_disturb' ) |
---|
| 464 | READ ( 13 ) time_disturb |
---|
| 465 | CASE ( 'time_dopr' ) |
---|
| 466 | READ ( 13 ) time_dopr |
---|
| 467 | CASE ( 'time_dopr_av' ) |
---|
| 468 | READ ( 13 ) time_dopr_av |
---|
| 469 | CASE ( 'time_dopr_listing' ) |
---|
| 470 | READ ( 13 ) time_dopr_listing |
---|
| 471 | CASE ( 'time_dopts' ) |
---|
| 472 | READ ( 13 ) time_dopts |
---|
| 473 | CASE ( 'time_dosp' ) |
---|
| 474 | READ ( 13 ) time_dosp |
---|
| 475 | CASE ( 'time_dots' ) |
---|
| 476 | READ ( 13 ) time_dots |
---|
| 477 | CASE ( 'time_do2d_xy' ) |
---|
| 478 | READ ( 13 ) time_do2d_xy |
---|
| 479 | CASE ( 'time_do2d_xz' ) |
---|
| 480 | READ ( 13 ) time_do2d_xz |
---|
| 481 | CASE ( 'time_do2d_yz' ) |
---|
| 482 | READ ( 13 ) time_do2d_yz |
---|
| 483 | CASE ( 'time_do3d' ) |
---|
| 484 | READ ( 13 ) time_do3d |
---|
| 485 | CASE ( 'time_do_av' ) |
---|
| 486 | READ ( 13 ) time_do_av |
---|
| 487 | CASE ( 'time_do_sla' ) |
---|
| 488 | READ ( 13 ) time_do_sla |
---|
| 489 | CASE ( 'time_dvrp' ) |
---|
| 490 | READ ( 13 ) time_dvrp |
---|
| 491 | CASE ( 'time_restart' ) |
---|
| 492 | READ ( 13 ) time_restart |
---|
| 493 | CASE ( 'time_run_control' ) |
---|
| 494 | READ ( 13 ) time_run_control |
---|
[116] | 495 | CASE ( 'time_sort_particles' ) |
---|
| 496 | READ ( 13 ) time_sort_particles |
---|
[1] | 497 | CASE ( 'timestep_scheme' ) |
---|
| 498 | READ ( 13 ) timestep_scheme |
---|
| 499 | CASE ( 'topography' ) |
---|
| 500 | READ ( 13 ) topography |
---|
[19] | 501 | CASE ( 'top_heatflux' ) |
---|
| 502 | READ ( 13 ) top_heatflux |
---|
[102] | 503 | CASE ( 'top_momentumflux_u' ) |
---|
| 504 | READ ( 13 ) top_momentumflux_u |
---|
| 505 | CASE ( 'top_momentumflux_v' ) |
---|
| 506 | READ ( 13 ) top_momentumflux_v |
---|
[94] | 507 | CASE ( 'top_salinityflux' ) |
---|
| 508 | READ ( 13 ) top_salinityflux |
---|
[1] | 509 | CASE ( 'tsc' ) |
---|
| 510 | READ ( 13 ) tsc |
---|
[151] | 511 | CASE ( 'turbulent_inflow' ) |
---|
| 512 | READ ( 13 ) turbulent_inflow |
---|
[241] | 513 | CASE ( 'u_bulk' ) |
---|
| 514 | READ ( 13 ) u_bulk |
---|
[1] | 515 | CASE ( 'u_init' ) |
---|
| 516 | READ ( 13 ) u_init |
---|
| 517 | CASE ( 'u_max' ) |
---|
| 518 | READ ( 13 ) u_max |
---|
| 519 | CASE ( 'u_max_ijk' ) |
---|
| 520 | READ ( 13 ) u_max_ijk |
---|
| 521 | CASE ( 'ug' ) |
---|
| 522 | READ ( 13 ) ug |
---|
| 523 | CASE ( 'ug_surface' ) |
---|
| 524 | READ ( 13 ) ug_surface |
---|
| 525 | CASE ( 'ug_vertical_gradient' ) |
---|
| 526 | READ ( 13 ) ug_vertical_gradient |
---|
| 527 | CASE ( 'ug_vertical_gradient_level' ) |
---|
| 528 | READ ( 13 ) ug_vertical_gradient_level |
---|
| 529 | CASE ( 'ug_vertical_gradient_level_ind' ) |
---|
| 530 | READ ( 13 ) ug_vertical_gradient_level_ind |
---|
| 531 | CASE ( 'ups_limit_e' ) |
---|
| 532 | READ ( 13 ) ups_limit_e |
---|
| 533 | CASE ( 'ups_limit_pt' ) |
---|
| 534 | READ ( 13 ) ups_limit_pt |
---|
| 535 | CASE ( 'ups_limit_u' ) |
---|
| 536 | READ ( 13 ) ups_limit_u |
---|
| 537 | CASE ( 'ups_limit_v' ) |
---|
| 538 | READ ( 13 ) ups_limit_v |
---|
| 539 | CASE ( 'ups_limit_w' ) |
---|
| 540 | READ ( 13 ) ups_limit_w |
---|
| 541 | CASE ( 'use_surface_fluxes' ) |
---|
| 542 | READ ( 13 ) use_surface_fluxes |
---|
[20] | 543 | CASE ( 'use_top_fluxes' ) |
---|
| 544 | READ ( 13 ) use_top_fluxes |
---|
[1] | 545 | CASE ( 'use_ug_for_galilei_tr' ) |
---|
| 546 | READ ( 13 ) use_ug_for_galilei_tr |
---|
| 547 | CASE ( 'use_upstream_for_tke' ) |
---|
| 548 | READ ( 13 ) use_upstream_for_tke |
---|
[241] | 549 | CASE ( 'v_bulk' ) |
---|
| 550 | READ ( 13 ) v_bulk |
---|
[1] | 551 | CASE ( 'v_init' ) |
---|
| 552 | READ ( 13 ) v_init |
---|
| 553 | CASE ( 'v_max' ) |
---|
| 554 | READ ( 13 ) v_max |
---|
| 555 | CASE ( 'v_max_ijk' ) |
---|
| 556 | READ ( 13 ) v_max_ijk |
---|
| 557 | CASE ( 'vg' ) |
---|
| 558 | READ ( 13 ) vg |
---|
| 559 | CASE ( 'vg_surface' ) |
---|
| 560 | READ ( 13 ) vg_surface |
---|
| 561 | CASE ( 'vg_vertical_gradient' ) |
---|
| 562 | READ ( 13 ) vg_vertical_gradient |
---|
| 563 | CASE ( 'vg_vertical_gradient_level' ) |
---|
| 564 | READ ( 13 ) vg_vertical_gradient_level |
---|
| 565 | CASE ( 'vg_vertical_gradient_level_ind' ) |
---|
| 566 | READ ( 13 ) vg_vertical_gradient_level_ind |
---|
[143] | 567 | CASE ( 'volume_flow_area' ) |
---|
| 568 | READ ( 13 ) volume_flow_area |
---|
| 569 | CASE ( 'volume_flow_initial' ) |
---|
| 570 | READ ( 13 ) volume_flow_initial |
---|
[1] | 571 | CASE ( 'wall_adjustment' ) |
---|
| 572 | READ ( 13 ) wall_adjustment |
---|
| 573 | CASE ( 'w_max' ) |
---|
| 574 | READ ( 13 ) w_max |
---|
| 575 | CASE ( 'w_max_ijk' ) |
---|
| 576 | READ ( 13 ) w_max_ijk |
---|
| 577 | |
---|
| 578 | CASE DEFAULT |
---|
| 579 | PRINT*, '+++ read_var_list: unknown variable named "', & |
---|
| 580 | TRIM( variable_chr ), '" found in' |
---|
| 581 | PRINT*, ' data from prior run on PE ', myid |
---|
| 582 | CALL local_stop |
---|
| 583 | END SELECT |
---|
| 584 | ! |
---|
| 585 | !-- Read next string |
---|
| 586 | READ ( 13 ) variable_chr |
---|
| 587 | |
---|
| 588 | ENDDO |
---|
| 589 | |
---|
| 590 | |
---|
[146] | 591 | END SUBROUTINE read_var_list |
---|
[143] | 592 | |
---|
[146] | 593 | |
---|
| 594 | |
---|
[147] | 595 | SUBROUTINE read_parts_of_var_list |
---|
| 596 | |
---|
| 597 | !------------------------------------------------------------------------------! |
---|
| 598 | ! Description: |
---|
| 599 | ! ------------ |
---|
| 600 | ! Skipping the global control variables from restart-file (binary format) |
---|
| 601 | ! except some informations needed when reading restart data from a previous |
---|
[151] | 602 | ! run which used a smaller total domain or/and a different domain decomposition. |
---|
[147] | 603 | !------------------------------------------------------------------------------! |
---|
| 604 | |
---|
[151] | 605 | USE arrays_3d |
---|
[147] | 606 | USE control_parameters |
---|
| 607 | USE indices |
---|
| 608 | USE pegrid |
---|
| 609 | USE statistics |
---|
| 610 | |
---|
| 611 | IMPLICIT NONE |
---|
| 612 | |
---|
| 613 | CHARACTER (LEN=10) :: version_on_file |
---|
| 614 | CHARACTER (LEN=30) :: variable_chr |
---|
| 615 | |
---|
| 616 | INTEGER :: idum, max_pr_user_on_file, nz_on_file, & |
---|
[170] | 617 | statistic_regions_on_file, tmp_mpru, tmp_sr |
---|
[147] | 618 | |
---|
[151] | 619 | REAL, DIMENSION(:,:,:), ALLOCATABLE :: hom_sum_on_file |
---|
[147] | 620 | REAL, DIMENSION(:,:,:,:), ALLOCATABLE :: hom_on_file |
---|
| 621 | |
---|
| 622 | |
---|
| 623 | CALL check_open( 13 ) |
---|
| 624 | |
---|
| 625 | WRITE (9,*) 'rpovl: after check open 13' |
---|
| 626 | CALL local_flush( 9 ) |
---|
| 627 | READ ( 13 ) version_on_file |
---|
| 628 | |
---|
| 629 | ! |
---|
| 630 | !-- Read number of PEs and horizontal index bounds of all PEs used in previous |
---|
| 631 | !-- run |
---|
| 632 | READ ( 13 ) variable_chr |
---|
| 633 | IF ( TRIM( variable_chr ) /= 'numprocs' ) THEN |
---|
| 634 | PRINT*, '+++ read_parts_of_var_list: numprocs not found in data from ', & |
---|
| 635 | 'prior run on PE ', myid |
---|
| 636 | CALL local_stop |
---|
| 637 | ENDIF |
---|
| 638 | READ ( 13 ) numprocs_previous_run |
---|
| 639 | |
---|
| 640 | IF ( .NOT. ALLOCATED( hor_index_bounds_previous_run ) ) THEN |
---|
| 641 | ALLOCATE( hor_index_bounds_previous_run(4,0:numprocs_previous_run-1) ) |
---|
| 642 | ENDIF |
---|
| 643 | |
---|
| 644 | READ ( 13 ) variable_chr |
---|
| 645 | IF ( TRIM( variable_chr ) /= 'hor_index_bounds' ) THEN |
---|
| 646 | PRINT*, '+++ read_parts_of_var_list: hor_index_bounds not found in da', & |
---|
| 647 | 'ta from prior run on PE ', myid |
---|
| 648 | CALL local_stop |
---|
| 649 | ENDIF |
---|
| 650 | READ ( 13 ) hor_index_bounds_previous_run |
---|
| 651 | |
---|
| 652 | ! |
---|
| 653 | !-- Read vertical number of gridpoints and number of different areas used |
---|
| 654 | !-- for computing statistics. Allocate arrays depending on these values, |
---|
| 655 | !-- which are needed for the following read instructions. |
---|
| 656 | READ ( 13 ) variable_chr |
---|
| 657 | IF ( TRIM( variable_chr ) /= 'nz' ) THEN |
---|
| 658 | PRINT*, '+++ read_parts_of_var_list: nz not found in restart data file' |
---|
| 659 | CALL local_stop |
---|
| 660 | ENDIF |
---|
| 661 | READ ( 13 ) nz_on_file |
---|
| 662 | IF ( nz_on_file /= nz ) THEN |
---|
| 663 | IF ( myid == 0 ) THEN |
---|
| 664 | PRINT*, '+++ read_parts_of_var_list: mismatch concerning number of', & |
---|
| 665 | ' gridpoints along z' |
---|
| 666 | PRINT*, ' nz on file = "', nz_on_file, '"' |
---|
| 667 | PRINT*, ' nz from run = "', nz, '"' |
---|
| 668 | ENDIF |
---|
| 669 | CALL local_stop |
---|
| 670 | ENDIF |
---|
| 671 | |
---|
| 672 | READ ( 13 ) variable_chr |
---|
| 673 | IF ( TRIM( variable_chr ) /= 'max_pr_user' ) THEN |
---|
| 674 | PRINT*, '+++ read_parts_of_var_list: max_pr_user not found in restart', & |
---|
| 675 | ' data file' |
---|
| 676 | CALL local_stop |
---|
| 677 | ENDIF |
---|
| 678 | READ ( 13 ) max_pr_user_on_file |
---|
[170] | 679 | IF ( max_pr_user_on_file /= max_pr_user ) THEN |
---|
[147] | 680 | IF ( myid == 0 ) THEN |
---|
[170] | 681 | PRINT*, '+++ read_parts_of_var_list: number of user profiles on res', & |
---|
| 682 | 'tart data file differs from the current run' |
---|
[147] | 683 | PRINT*, ' max_pr_user on file = "', & |
---|
| 684 | max_pr_user_on_file, '"' |
---|
| 685 | PRINT*, ' max_pr_user from run = "', & |
---|
| 686 | max_pr_user, '"' |
---|
| 687 | ENDIF |
---|
[170] | 688 | tmp_mpru = MIN( max_pr_user_on_file, max_pr_user ) |
---|
| 689 | ELSE |
---|
| 690 | tmp_mpru = max_pr_user |
---|
[147] | 691 | ENDIF |
---|
| 692 | |
---|
| 693 | READ ( 13 ) variable_chr |
---|
| 694 | IF ( TRIM( variable_chr ) /= 'statistic_regions' ) THEN |
---|
[159] | 695 | PRINT*, '+++ read_parts_of_var_list: statistic_regions not found in ', & |
---|
| 696 | 'restart data file' |
---|
[147] | 697 | CALL local_stop |
---|
| 698 | ENDIF |
---|
| 699 | READ ( 13 ) statistic_regions_on_file |
---|
[173] | 700 | IF ( statistic_regions_on_file /= statistic_regions ) THEN |
---|
[147] | 701 | IF ( myid == 0 ) THEN |
---|
[170] | 702 | PRINT*, '+++ read_parts_of_var_list: WARNING: statistic regions on', & |
---|
| 703 | ' restart data file differ from the current run' |
---|
| 704 | PRINT*, ' statistic regions on file = "', & |
---|
| 705 | statistic_regions_on_file, '"' |
---|
| 706 | PRINT*, ' statistic regions from run = "', & |
---|
[171] | 707 | statistic_regions, '"' |
---|
[170] | 708 | PRINT*, ' statistic data may be lost!' |
---|
[147] | 709 | ENDIF |
---|
[170] | 710 | tmp_sr = MIN( statistic_regions_on_file, statistic_regions ) |
---|
| 711 | ELSE |
---|
| 712 | tmp_sr = statistic_regions |
---|
[147] | 713 | ENDIF |
---|
| 714 | |
---|
| 715 | |
---|
| 716 | ! |
---|
| 717 | !-- Now read and check some control parameters and skip the rest |
---|
| 718 | !-- The total domain of the pre-run must not be smaller than the subdomain |
---|
| 719 | !-- of the current run, because the mapping of data from the pre-run does |
---|
| 720 | !-- not work for this case. |
---|
| 721 | WRITE (9,*) 'wpovl: begin reading variables' |
---|
| 722 | CALL local_flush( 9 ) |
---|
| 723 | READ ( 13 ) variable_chr |
---|
| 724 | |
---|
| 725 | DO WHILE ( TRIM( variable_chr ) /= '*** end ***' ) |
---|
| 726 | |
---|
| 727 | SELECT CASE ( TRIM( variable_chr ) ) |
---|
| 728 | |
---|
[151] | 729 | CASE ( 'average_count_pr' ) |
---|
| 730 | READ ( 13 ) average_count_pr |
---|
| 731 | IF ( average_count_pr /= 0 .AND. myid == 0 ) THEN |
---|
| 732 | PRINT*, '+++ read_parts_of_var_list:' |
---|
| 733 | PRINT*, ' WARNING: inflow profiles not temporally averaged.' |
---|
| 734 | PRINT*, ' Averaging will be done now using ', & |
---|
| 735 | average_count_pr, ' samples.' |
---|
| 736 | ENDIF |
---|
| 737 | |
---|
[147] | 738 | CASE ( 'hom' ) |
---|
| 739 | ALLOCATE( hom_on_file(0:nz+1,2,pr_palm+max_pr_user_on_file, & |
---|
| 740 | 0:statistic_regions_on_file) ) |
---|
| 741 | READ ( 13 ) hom_on_file |
---|
[170] | 742 | hom(:,:,1:pr_palm+tmp_mpru,0:tmp_sr) = & |
---|
| 743 | hom_on_file(:,:,1:pr_palm+tmp_mpru,0:tmp_sr) |
---|
[147] | 744 | DEALLOCATE( hom_on_file ) |
---|
| 745 | |
---|
[151] | 746 | CASE ( 'hom_sum' ) |
---|
| 747 | ALLOCATE( hom_sum_on_file(0:nz+1,pr_palm+max_pr_user_on_file, & |
---|
| 748 | 0:statistic_regions_on_file) ) |
---|
| 749 | READ ( 13 ) hom_sum_on_file |
---|
[170] | 750 | hom_sum(:,1:pr_palm+tmp_mpru,0:tmp_sr) = & |
---|
| 751 | hom_sum_on_file(:,1:pr_palm+tmp_mpru,0:tmp_sr) |
---|
[151] | 752 | DEALLOCATE( hom_sum_on_file ) |
---|
| 753 | |
---|
[147] | 754 | CASE ( 'nx' ) |
---|
| 755 | READ ( 13 ) nx_on_file |
---|
| 756 | |
---|
| 757 | CASE ( 'ny' ) |
---|
| 758 | READ ( 13 ) ny_on_file |
---|
| 759 | |
---|
| 760 | |
---|
| 761 | CASE DEFAULT |
---|
| 762 | |
---|
| 763 | READ ( 13 ) idum |
---|
| 764 | |
---|
| 765 | END SELECT |
---|
| 766 | |
---|
| 767 | READ ( 13 ) variable_chr |
---|
| 768 | |
---|
| 769 | ENDDO |
---|
| 770 | |
---|
[151] | 771 | ! |
---|
| 772 | !-- Calculate the temporal average of vertical profiles, if neccessary |
---|
| 773 | IF ( average_count_pr /= 0 ) THEN |
---|
| 774 | hom_sum = hom_sum / REAL( average_count_pr ) |
---|
| 775 | ENDIF |
---|
[147] | 776 | |
---|
[151] | 777 | |
---|
[147] | 778 | END SUBROUTINE read_parts_of_var_list |
---|
| 779 | |
---|
| 780 | |
---|
| 781 | |
---|
[146] | 782 | SUBROUTINE skip_var_list |
---|
| 783 | |
---|
| 784 | !------------------------------------------------------------------------------! |
---|
| 785 | ! Description: |
---|
| 786 | ! ------------ |
---|
| 787 | ! Skipping the global control variables from restart-file (binary format) |
---|
| 788 | !------------------------------------------------------------------------------! |
---|
| 789 | |
---|
[147] | 790 | IMPLICIT NONE |
---|
| 791 | |
---|
[146] | 792 | CHARACTER (LEN=10) :: version_on_file |
---|
| 793 | CHARACTER (LEN=30) :: variable_chr |
---|
| 794 | |
---|
| 795 | INTEGER :: idum |
---|
| 796 | |
---|
| 797 | |
---|
[147] | 798 | WRITE (9,*) 'skipvl #1' |
---|
| 799 | CALL local_flush( 9 ) |
---|
[146] | 800 | READ ( 13 ) version_on_file |
---|
| 801 | |
---|
[147] | 802 | WRITE (9,*) 'skipvl before variable_chr' |
---|
| 803 | CALL local_flush( 9 ) |
---|
[146] | 804 | READ ( 13 ) variable_chr |
---|
[147] | 805 | WRITE (9,*) 'skipvl after variable_chr' |
---|
| 806 | CALL local_flush( 9 ) |
---|
[146] | 807 | |
---|
| 808 | DO WHILE ( TRIM( variable_chr ) /= '*** end ***' ) |
---|
| 809 | |
---|
[147] | 810 | WRITE (9,*) 'skipvl chr = ', variable_chr |
---|
| 811 | CALL local_flush( 9 ) |
---|
[146] | 812 | READ ( 13 ) idum |
---|
| 813 | READ ( 13 ) variable_chr |
---|
| 814 | |
---|
| 815 | ENDDO |
---|
[147] | 816 | WRITE (9,*) 'skipvl last' |
---|
| 817 | CALL local_flush( 9 ) |
---|
[146] | 818 | |
---|
| 819 | |
---|
| 820 | END SUBROUTINE skip_var_list |
---|