[1] | 1 | SUBROUTINE read_var_list |
---|
| 2 | |
---|
| 3 | !------------------------------------------------------------------------------! |
---|
| 4 | ! Actual revisions: |
---|
| 5 | ! ----------------- |
---|
[116] | 6 | ! +time_sort_particles |
---|
[1] | 7 | ! |
---|
| 8 | ! Former revisions: |
---|
| 9 | ! ----------------- |
---|
[3] | 10 | ! $Id: read_var_list.f90 116 2007-10-11 02:30:27Z letzel $ |
---|
[39] | 11 | ! |
---|
[110] | 12 | ! 102 2007-07-27 09:09:17Z raasch |
---|
| 13 | ! +time_coupling, top_momentumflux_u|v |
---|
| 14 | ! |
---|
[98] | 15 | ! 95 2007-06-02 16:48:38Z raasch |
---|
| 16 | ! +bc_sa_t, ocean, sa_init, sa_surface, sa_vertical_gradient, |
---|
| 17 | ! sa_vertical_gradient_level, bottom/top_salinity_flux |
---|
| 18 | ! |
---|
[90] | 19 | ! 87 2007-05-22 15:46:47Z raasch |
---|
| 20 | ! +max_pr_user (version 3.1), var_hom renamed pr_palm |
---|
| 21 | ! |
---|
[77] | 22 | ! 75 2007-03-22 09:54:05Z raasch |
---|
| 23 | ! +loop_optimization, pt_reference, moisture renamed humidity |
---|
| 24 | ! |
---|
[39] | 25 | ! 20 2007-02-26 00:12:32Z raasch |
---|
| 26 | ! +top_heatflux, use_top_fluxes |
---|
| 27 | ! |
---|
[3] | 28 | ! RCS Log replace by Id keyword, revision history cleaned up |
---|
| 29 | ! |
---|
[1] | 30 | ! Revision 1.34 2006/08/22 14:14:27 raasch |
---|
| 31 | ! +dz_max |
---|
| 32 | ! |
---|
| 33 | ! Revision 1.1 1998/03/18 20:18:48 raasch |
---|
| 34 | ! Initial revision |
---|
| 35 | ! |
---|
| 36 | ! |
---|
| 37 | ! Description: |
---|
| 38 | ! ------------ |
---|
| 39 | ! Reading values of control variables from restart-file (binary format) |
---|
| 40 | !------------------------------------------------------------------------------! |
---|
| 41 | |
---|
| 42 | USE arrays_3d |
---|
| 43 | USE averaging |
---|
[87] | 44 | USE control_parameters |
---|
[1] | 45 | USE grid_variables |
---|
| 46 | USE indices |
---|
| 47 | USE model_1d |
---|
[116] | 48 | USE particle_attributes |
---|
[1] | 49 | USE pegrid |
---|
| 50 | USE profil_parameter |
---|
| 51 | USE statistics |
---|
| 52 | |
---|
| 53 | IMPLICIT NONE |
---|
| 54 | |
---|
| 55 | CHARACTER (LEN=10) :: binary_version, version_on_file |
---|
| 56 | CHARACTER (LEN=30) :: variable_chr |
---|
[87] | 57 | |
---|
| 58 | INTEGER :: max_pr_user_on_file |
---|
[1] | 59 | |
---|
| 60 | CALL check_open( 13 ) |
---|
| 61 | |
---|
| 62 | ! |
---|
| 63 | !-- Make version number check first |
---|
| 64 | READ ( 13 ) version_on_file |
---|
[87] | 65 | binary_version = '3.1' |
---|
[1] | 66 | IF ( TRIM( version_on_file ) /= TRIM( binary_version ) ) THEN |
---|
| 67 | IF ( myid == 0 ) THEN |
---|
| 68 | PRINT*, '+++ read_var_list: version mismatch concerning control', & |
---|
| 69 | ' variables' |
---|
| 70 | PRINT*, ' version on file = "', & |
---|
| 71 | TRIM( version_on_file ), '"' |
---|
| 72 | PRINT*, ' version on program = "', & |
---|
| 73 | TRIM( binary_version ), '"' |
---|
| 74 | ENDIF |
---|
| 75 | CALL local_stop |
---|
| 76 | ENDIF |
---|
| 77 | |
---|
| 78 | ! |
---|
| 79 | !-- Read vertical number of gridpoints and number of different areas used |
---|
| 80 | !-- for computing statistics. Allocate arrays depending on these values, |
---|
| 81 | !-- which are needed for the following read instructions. |
---|
| 82 | READ ( 13 ) variable_chr |
---|
| 83 | IF ( TRIM( variable_chr ) /= 'nz' ) THEN |
---|
| 84 | PRINT*, '+++ read_var_list: nz not found in data from prior run on PE ',& |
---|
| 85 | myid |
---|
| 86 | CALL local_stop |
---|
| 87 | ENDIF |
---|
| 88 | READ ( 13 ) nz |
---|
[87] | 89 | |
---|
[1] | 90 | READ ( 13 ) variable_chr |
---|
[87] | 91 | IF ( TRIM( variable_chr ) /= 'max_pr_user' ) THEN |
---|
| 92 | PRINT*, '+++ read_var_list: max_pr_user not found in data from ', & |
---|
| 93 | 'prior run on PE ', myid |
---|
| 94 | CALL local_stop |
---|
| 95 | ENDIF |
---|
| 96 | READ ( 13 ) max_pr_user_on_file |
---|
| 97 | IF ( max_pr_user_on_file /= max_pr_user ) THEN |
---|
| 98 | IF ( myid == 0 ) THEN |
---|
| 99 | PRINT*, '+++ read_var_list: version mismatch concerning maximum', & |
---|
| 100 | ' number of user profiles' |
---|
| 101 | PRINT*, ' max_pr_user on file = "', & |
---|
| 102 | max_pr_user_on_file, '"' |
---|
| 103 | PRINT*, ' max_pr_user from run = "', & |
---|
| 104 | max_pr_user, '"' |
---|
| 105 | ENDIF |
---|
| 106 | CALL local_stop |
---|
| 107 | ENDIF |
---|
| 108 | |
---|
| 109 | READ ( 13 ) variable_chr |
---|
[1] | 110 | IF ( TRIM( variable_chr ) /= 'statistic_regions' ) THEN |
---|
| 111 | PRINT*, '+++ read_var_list: statistic_regions not found in data from ', & |
---|
| 112 | 'prior run on PE ', myid |
---|
| 113 | CALL local_stop |
---|
| 114 | ENDIF |
---|
| 115 | READ ( 13 ) statistic_regions |
---|
| 116 | ALLOCATE( ug(0:nz+1), u_init(0:nz+1), vg(0:nz+1), v_init(0:nz+1), & |
---|
[94] | 117 | pt_init(0:nz+1), q_init(0:nz+1), sa_init(0:nz+1), & |
---|
[87] | 118 | hom(0:nz+1,2,pr_palm+max_pr_user,0:statistic_regions) ) |
---|
[1] | 119 | |
---|
| 120 | ! |
---|
| 121 | !-- Now read all control parameters: |
---|
| 122 | !-- Caution: When the following read instructions have been changed, the |
---|
| 123 | !-- ------- version number stored in the variable binary_version has to be |
---|
| 124 | !-- increased. The same changes must also be done in write_var_list. |
---|
| 125 | READ ( 13 ) variable_chr |
---|
| 126 | DO WHILE ( TRIM( variable_chr ) /= '*** end ***' ) |
---|
| 127 | |
---|
| 128 | SELECT CASE ( TRIM( variable_chr ) ) |
---|
| 129 | |
---|
| 130 | CASE ( 'adjust_mixing_length' ) |
---|
| 131 | READ ( 13 ) adjust_mixing_length |
---|
| 132 | CASE ( 'advected_distance_x' ) |
---|
| 133 | READ ( 13 ) advected_distance_x |
---|
| 134 | CASE ( 'advected_distance_y' ) |
---|
| 135 | READ ( 13 ) advected_distance_y |
---|
| 136 | CASE ( 'alpha_surface' ) |
---|
| 137 | READ ( 13 ) alpha_surface |
---|
| 138 | CASE ( 'average_count_pr' ) |
---|
| 139 | READ ( 13 ) average_count_pr |
---|
| 140 | CASE ( 'average_count_sp' ) |
---|
| 141 | READ ( 13 ) average_count_sp |
---|
| 142 | CASE ( 'average_count_3d' ) |
---|
| 143 | READ ( 13 ) average_count_3d |
---|
| 144 | CASE ( 'bc_e_b' ) |
---|
| 145 | READ ( 13 ) bc_e_b |
---|
| 146 | CASE ( 'bc_lr' ) |
---|
| 147 | READ ( 13 ) bc_lr |
---|
| 148 | CASE ( 'bc_ns' ) |
---|
| 149 | READ ( 13 ) bc_ns |
---|
| 150 | CASE ( 'bc_p_b' ) |
---|
| 151 | READ ( 13 ) bc_p_b |
---|
| 152 | CASE ( 'bc_p_t' ) |
---|
| 153 | READ ( 13 ) bc_p_t |
---|
| 154 | CASE ( 'bc_pt_b' ) |
---|
| 155 | READ ( 13 ) bc_pt_b |
---|
| 156 | CASE ( 'bc_pt_t' ) |
---|
| 157 | READ ( 13 ) bc_pt_t |
---|
| 158 | CASE ( 'bc_pt_t_val' ) |
---|
| 159 | READ ( 13 ) bc_pt_t_val |
---|
| 160 | CASE ( 'bc_q_b' ) |
---|
| 161 | READ ( 13 ) bc_q_b |
---|
| 162 | CASE ( 'bc_q_t' ) |
---|
| 163 | READ ( 13 ) bc_q_t |
---|
| 164 | CASE ( 'bc_q_t_val' ) |
---|
| 165 | READ ( 13 ) bc_q_t_val |
---|
| 166 | CASE ( 'bc_s_b' ) |
---|
| 167 | READ ( 13 ) bc_s_b |
---|
| 168 | CASE ( 'bc_s_t' ) |
---|
| 169 | READ ( 13 ) bc_s_t |
---|
[95] | 170 | CASE ( 'bc_sa_t' ) |
---|
| 171 | READ ( 13 ) bc_sa_t |
---|
[1] | 172 | CASE ( 'bc_uv_b' ) |
---|
| 173 | READ ( 13 ) bc_uv_b |
---|
| 174 | CASE ( 'bc_uv_t' ) |
---|
| 175 | READ ( 13 ) bc_uv_t |
---|
[95] | 176 | CASE ( 'bottom_salinityflux' ) |
---|
| 177 | READ ( 13 ) bottom_salinityflux |
---|
[1] | 178 | CASE ( 'building_height' ) |
---|
| 179 | READ ( 13 ) building_height |
---|
| 180 | CASE ( 'building_length_x' ) |
---|
| 181 | READ ( 13 ) building_length_x |
---|
| 182 | CASE ( 'building_length_y' ) |
---|
| 183 | READ ( 13 ) building_length_y |
---|
| 184 | CASE ( 'building_wall_left' ) |
---|
| 185 | READ ( 13 ) building_wall_left |
---|
| 186 | CASE ( 'building_wall_south' ) |
---|
| 187 | READ ( 13 ) building_wall_south |
---|
| 188 | CASE ( 'cloud_droplets' ) |
---|
| 189 | READ ( 13 ) cloud_droplets |
---|
| 190 | CASE ( 'cloud_physics' ) |
---|
| 191 | READ ( 13 ) cloud_physics |
---|
| 192 | CASE ( 'conserve_volume_flow' ) |
---|
| 193 | READ ( 13 ) conserve_volume_flow |
---|
| 194 | CASE ( 'current_timestep_number' ) |
---|
| 195 | READ ( 13 ) current_timestep_number |
---|
| 196 | CASE ( 'cut_spline_overshoot' ) |
---|
| 197 | READ ( 13 ) cut_spline_overshoot |
---|
| 198 | CASE ( 'damp_level_1d' ) |
---|
| 199 | READ ( 13 ) damp_level_1d |
---|
| 200 | CASE ( 'dissipation_1d' ) |
---|
| 201 | READ ( 13 ) dissipation_1d |
---|
| 202 | CASE ( 'dt_fixed' ) |
---|
| 203 | READ ( 13 ) dt_fixed |
---|
| 204 | CASE ( 'dt_pr_1d' ) |
---|
| 205 | READ ( 13 ) dt_pr_1d |
---|
| 206 | CASE ( 'dt_run_control_1d' ) |
---|
| 207 | READ ( 13 ) dt_run_control_1d |
---|
| 208 | CASE ( 'dt_3d' ) |
---|
| 209 | READ ( 13 ) dt_3d |
---|
| 210 | CASE ( 'dvrp_filecount' ) |
---|
| 211 | READ ( 13 ) dvrp_filecount |
---|
| 212 | CASE ( 'dx' ) |
---|
| 213 | READ ( 13 ) dx |
---|
| 214 | CASE ( 'dy' ) |
---|
| 215 | READ ( 13 ) dy |
---|
| 216 | CASE ( 'dz' ) |
---|
| 217 | READ ( 13 ) dz |
---|
| 218 | CASE ( 'dz_max' ) |
---|
| 219 | READ ( 13 ) dz_max |
---|
| 220 | CASE ( 'dz_stretch_factor' ) |
---|
| 221 | READ ( 13 ) dz_stretch_factor |
---|
| 222 | CASE ( 'dz_stretch_level' ) |
---|
| 223 | READ ( 13 ) dz_stretch_level |
---|
| 224 | CASE ( 'e_min' ) |
---|
| 225 | READ ( 13 ) e_min |
---|
| 226 | CASE ( 'end_time_1d' ) |
---|
| 227 | READ ( 13 ) end_time_1d |
---|
| 228 | CASE ( 'fft_method' ) |
---|
| 229 | READ ( 13 ) fft_method |
---|
| 230 | CASE ( 'first_call_advec_particles' ) |
---|
| 231 | READ ( 13 ) first_call_advec_particles |
---|
| 232 | CASE ( 'galilei_transformation' ) |
---|
| 233 | READ ( 13 ) galilei_transformation |
---|
| 234 | CASE ( 'grid_matching' ) |
---|
| 235 | READ ( 13 ) grid_matching |
---|
| 236 | CASE ( 'hom' ) |
---|
| 237 | READ ( 13 ) hom |
---|
| 238 | CASE ( 'inflow_disturbance_begin' ) |
---|
| 239 | READ ( 13 ) inflow_disturbance_begin |
---|
| 240 | CASE ( 'inflow_disturbance_end' ) |
---|
| 241 | READ ( 13 ) inflow_disturbance_end |
---|
| 242 | CASE ( 'km_constant' ) |
---|
| 243 | READ ( 13 ) km_constant |
---|
| 244 | CASE ( 'km_damp_max' ) |
---|
| 245 | READ ( 13 ) km_damp_max |
---|
| 246 | CASE ( 'last_dt_change' ) |
---|
| 247 | READ ( 13 ) last_dt_change |
---|
| 248 | CASE ( 'long_filter_factor' ) |
---|
| 249 | READ ( 13 ) long_filter_factor |
---|
[63] | 250 | CASE ( 'loop_optimization' ) |
---|
| 251 | READ ( 13 ) loop_optimization |
---|
[1] | 252 | CASE ( 'mixing_length_1d' ) |
---|
| 253 | READ ( 13 ) mixing_length_1d |
---|
[75] | 254 | CASE ( 'humidity' ) |
---|
| 255 | READ ( 13 ) humidity |
---|
[1] | 256 | CASE ( 'momentum_advec' ) |
---|
| 257 | READ ( 13 ) momentum_advec |
---|
| 258 | CASE ( 'netcdf_precision' ) |
---|
| 259 | READ ( 13 ) netcdf_precision |
---|
| 260 | CASE ( 'npex' ) |
---|
| 261 | READ ( 13 ) npex |
---|
| 262 | CASE ( 'npey' ) |
---|
| 263 | READ ( 13 ) npey |
---|
| 264 | CASE ( 'nsor_ini' ) |
---|
| 265 | READ ( 13 ) nsor_ini |
---|
| 266 | CASE ( 'nx' ) |
---|
| 267 | READ ( 13 ) nx |
---|
| 268 | CASE ( 'ny' ) |
---|
| 269 | READ ( 13 ) ny |
---|
[94] | 270 | CASE ( 'ocean' ) |
---|
| 271 | READ ( 13 ) ocean |
---|
[1] | 272 | CASE ( 'old_dt' ) |
---|
| 273 | READ ( 13 ) old_dt |
---|
| 274 | CASE ( 'omega' ) |
---|
| 275 | READ ( 13 ) omega |
---|
| 276 | CASE ( 'outflow_damping_width' ) |
---|
| 277 | READ ( 13 ) outflow_damping_width |
---|
| 278 | CASE ( 'overshoot_limit_e' ) |
---|
| 279 | READ ( 13 ) overshoot_limit_e |
---|
| 280 | CASE ( 'overshoot_limit_pt' ) |
---|
| 281 | READ ( 13 ) overshoot_limit_pt |
---|
| 282 | CASE ( 'overshoot_limit_u' ) |
---|
| 283 | READ ( 13 ) overshoot_limit_u |
---|
| 284 | CASE ( 'overshoot_limit_v' ) |
---|
| 285 | READ ( 13 ) overshoot_limit_v |
---|
| 286 | CASE ( 'overshoot_limit_w' ) |
---|
| 287 | READ ( 13 ) overshoot_limit_w |
---|
| 288 | CASE ( 'passive_scalar' ) |
---|
| 289 | READ ( 13 ) passive_scalar |
---|
| 290 | CASE ( 'phi' ) |
---|
| 291 | READ ( 13 ) phi |
---|
| 292 | CASE ( 'prandtl_layer' ) |
---|
| 293 | READ ( 13 ) prandtl_layer |
---|
| 294 | CASE ( 'precipitation' ) |
---|
| 295 | READ ( 13 ) precipitation |
---|
| 296 | CASE ( 'pt_init' ) |
---|
| 297 | READ ( 13 ) pt_init |
---|
[57] | 298 | CASE ( 'pt_reference' ) |
---|
| 299 | READ ( 13 ) pt_reference |
---|
[1] | 300 | CASE ( 'pt_surface' ) |
---|
| 301 | READ ( 13 ) pt_surface |
---|
| 302 | CASE ( 'pt_surface_initial_change' ) |
---|
| 303 | READ ( 13 ) pt_surface_initial_change |
---|
| 304 | CASE ( 'pt_vertical_gradient' ) |
---|
| 305 | READ ( 13 ) pt_vertical_gradient |
---|
| 306 | CASE ( 'pt_vertical_gradient_level' ) |
---|
| 307 | READ ( 13 ) pt_vertical_gradient_level |
---|
| 308 | CASE ( 'pt_vertical_gradient_level_ind' ) |
---|
| 309 | READ ( 13 ) pt_vertical_gradient_level_ind |
---|
| 310 | CASE ( 'q_init' ) |
---|
| 311 | READ ( 13 ) q_init |
---|
| 312 | CASE ( 'q_surface' ) |
---|
| 313 | READ ( 13 ) q_surface |
---|
| 314 | CASE ( 'q_surface_initial_change' ) |
---|
| 315 | READ ( 13 ) q_surface_initial_change |
---|
| 316 | CASE ( 'q_vertical_gradient' ) |
---|
| 317 | READ ( 13 ) q_vertical_gradient |
---|
| 318 | CASE ( 'q_vertical_gradient_level' ) |
---|
| 319 | READ ( 13 ) q_vertical_gradient_level |
---|
| 320 | CASE ( 'q_vertical_gradient_level_ind' ) |
---|
| 321 | READ ( 13 ) q_vertical_gradient_level_ind |
---|
| 322 | CASE ( 'radiation' ) |
---|
| 323 | READ ( 13 ) radiation |
---|
| 324 | CASE ( 'random_generator' ) |
---|
| 325 | READ ( 13 ) random_generator |
---|
| 326 | CASE ( 'random_heatflux' ) |
---|
| 327 | READ ( 13 ) random_heatflux |
---|
| 328 | CASE ( 'rif_max' ) |
---|
| 329 | READ ( 13 ) rif_max |
---|
| 330 | CASE ( 'rif_min' ) |
---|
| 331 | READ ( 13 ) rif_min |
---|
| 332 | CASE ( 'roughness_length' ) |
---|
| 333 | READ ( 13 ) roughness_length |
---|
| 334 | CASE ( 'runnr' ) |
---|
| 335 | READ ( 13 ) runnr |
---|
[94] | 336 | CASE ( 'sa_init' ) |
---|
| 337 | READ ( 13 ) sa_init |
---|
| 338 | CASE ( 'sa_surface' ) |
---|
| 339 | READ ( 13 ) sa_surface |
---|
| 340 | CASE ( 'sa_vertical_gradient' ) |
---|
| 341 | READ ( 13 ) sa_vertical_gradient |
---|
| 342 | CASE ( 'sa_vertical_gradient_level' ) |
---|
| 343 | READ ( 13 ) sa_vertical_gradient_level |
---|
[1] | 344 | CASE ( 'scalar_advec' ) |
---|
| 345 | READ ( 13 ) scalar_advec |
---|
| 346 | CASE ( 'simulated_time' ) |
---|
| 347 | READ ( 13 ) simulated_time |
---|
| 348 | CASE ( 'surface_heatflux' ) |
---|
| 349 | READ ( 13 ) surface_heatflux |
---|
| 350 | CASE ( 'surface_pressure' ) |
---|
| 351 | READ ( 13 ) surface_pressure |
---|
| 352 | CASE ( 'surface_scalarflux' ) |
---|
| 353 | READ ( 13 ) surface_scalarflux |
---|
| 354 | CASE ( 'surface_waterflux' ) |
---|
| 355 | READ ( 13 ) surface_waterflux |
---|
| 356 | CASE ( 's_surface' ) |
---|
| 357 | READ ( 13 ) s_surface |
---|
| 358 | CASE ( 's_surface_initial_change' ) |
---|
| 359 | READ ( 13 ) s_surface_initial_change |
---|
| 360 | CASE ( 's_vertical_gradient' ) |
---|
| 361 | READ ( 13 ) s_vertical_gradient |
---|
| 362 | CASE ( 's_vertical_gradient_level' ) |
---|
| 363 | READ ( 13 ) s_vertical_gradient_level |
---|
[102] | 364 | CASE ( 'time_coupling' ) |
---|
| 365 | READ ( 13 ) time_coupling |
---|
[1] | 366 | CASE ( 'time_disturb' ) |
---|
| 367 | READ ( 13 ) time_disturb |
---|
| 368 | CASE ( 'time_dopr' ) |
---|
| 369 | READ ( 13 ) time_dopr |
---|
| 370 | CASE ( 'time_dopr_av' ) |
---|
| 371 | READ ( 13 ) time_dopr_av |
---|
| 372 | CASE ( 'time_dopr_listing' ) |
---|
| 373 | READ ( 13 ) time_dopr_listing |
---|
| 374 | CASE ( 'time_dopts' ) |
---|
| 375 | READ ( 13 ) time_dopts |
---|
| 376 | CASE ( 'time_dosp' ) |
---|
| 377 | READ ( 13 ) time_dosp |
---|
| 378 | CASE ( 'time_dots' ) |
---|
| 379 | READ ( 13 ) time_dots |
---|
| 380 | CASE ( 'time_do2d_xy' ) |
---|
| 381 | READ ( 13 ) time_do2d_xy |
---|
| 382 | CASE ( 'time_do2d_xz' ) |
---|
| 383 | READ ( 13 ) time_do2d_xz |
---|
| 384 | CASE ( 'time_do2d_yz' ) |
---|
| 385 | READ ( 13 ) time_do2d_yz |
---|
| 386 | CASE ( 'time_do3d' ) |
---|
| 387 | READ ( 13 ) time_do3d |
---|
| 388 | CASE ( 'time_do_av' ) |
---|
| 389 | READ ( 13 ) time_do_av |
---|
| 390 | CASE ( 'time_do_sla' ) |
---|
| 391 | READ ( 13 ) time_do_sla |
---|
| 392 | CASE ( 'time_dvrp' ) |
---|
| 393 | READ ( 13 ) time_dvrp |
---|
| 394 | CASE ( 'time_restart' ) |
---|
| 395 | READ ( 13 ) time_restart |
---|
| 396 | CASE ( 'time_run_control' ) |
---|
| 397 | READ ( 13 ) time_run_control |
---|
[116] | 398 | CASE ( 'time_sort_particles' ) |
---|
| 399 | READ ( 13 ) time_sort_particles |
---|
[1] | 400 | CASE ( 'timestep_scheme' ) |
---|
| 401 | READ ( 13 ) timestep_scheme |
---|
| 402 | CASE ( 'topography' ) |
---|
| 403 | READ ( 13 ) topography |
---|
[19] | 404 | CASE ( 'top_heatflux' ) |
---|
| 405 | READ ( 13 ) top_heatflux |
---|
[102] | 406 | CASE ( 'top_momentumflux_u' ) |
---|
| 407 | READ ( 13 ) top_momentumflux_u |
---|
| 408 | CASE ( 'top_momentumflux_v' ) |
---|
| 409 | READ ( 13 ) top_momentumflux_v |
---|
[94] | 410 | CASE ( 'top_salinityflux' ) |
---|
| 411 | READ ( 13 ) top_salinityflux |
---|
[1] | 412 | CASE ( 'tsc' ) |
---|
| 413 | READ ( 13 ) tsc |
---|
| 414 | CASE ( 'u_init' ) |
---|
| 415 | READ ( 13 ) u_init |
---|
| 416 | CASE ( 'u_max' ) |
---|
| 417 | READ ( 13 ) u_max |
---|
| 418 | CASE ( 'u_max_ijk' ) |
---|
| 419 | READ ( 13 ) u_max_ijk |
---|
| 420 | CASE ( 'ug' ) |
---|
| 421 | READ ( 13 ) ug |
---|
| 422 | CASE ( 'ug_surface' ) |
---|
| 423 | READ ( 13 ) ug_surface |
---|
| 424 | CASE ( 'ug_vertical_gradient' ) |
---|
| 425 | READ ( 13 ) ug_vertical_gradient |
---|
| 426 | CASE ( 'ug_vertical_gradient_level' ) |
---|
| 427 | READ ( 13 ) ug_vertical_gradient_level |
---|
| 428 | CASE ( 'ug_vertical_gradient_level_ind' ) |
---|
| 429 | READ ( 13 ) ug_vertical_gradient_level_ind |
---|
| 430 | CASE ( 'ups_limit_e' ) |
---|
| 431 | READ ( 13 ) ups_limit_e |
---|
| 432 | CASE ( 'ups_limit_pt' ) |
---|
| 433 | READ ( 13 ) ups_limit_pt |
---|
| 434 | CASE ( 'ups_limit_u' ) |
---|
| 435 | READ ( 13 ) ups_limit_u |
---|
| 436 | CASE ( 'ups_limit_v' ) |
---|
| 437 | READ ( 13 ) ups_limit_v |
---|
| 438 | CASE ( 'ups_limit_w' ) |
---|
| 439 | READ ( 13 ) ups_limit_w |
---|
| 440 | CASE ( 'use_surface_fluxes' ) |
---|
| 441 | READ ( 13 ) use_surface_fluxes |
---|
[20] | 442 | CASE ( 'use_top_fluxes' ) |
---|
| 443 | READ ( 13 ) use_top_fluxes |
---|
[1] | 444 | CASE ( 'use_ug_for_galilei_tr' ) |
---|
| 445 | READ ( 13 ) use_ug_for_galilei_tr |
---|
| 446 | CASE ( 'use_upstream_for_tke' ) |
---|
| 447 | READ ( 13 ) use_upstream_for_tke |
---|
| 448 | CASE ( 'v_init' ) |
---|
| 449 | READ ( 13 ) v_init |
---|
| 450 | CASE ( 'v_max' ) |
---|
| 451 | READ ( 13 ) v_max |
---|
| 452 | CASE ( 'v_max_ijk' ) |
---|
| 453 | READ ( 13 ) v_max_ijk |
---|
| 454 | CASE ( 'vg' ) |
---|
| 455 | READ ( 13 ) vg |
---|
| 456 | CASE ( 'vg_surface' ) |
---|
| 457 | READ ( 13 ) vg_surface |
---|
| 458 | CASE ( 'vg_vertical_gradient' ) |
---|
| 459 | READ ( 13 ) vg_vertical_gradient |
---|
| 460 | CASE ( 'vg_vertical_gradient_level' ) |
---|
| 461 | READ ( 13 ) vg_vertical_gradient_level |
---|
| 462 | CASE ( 'vg_vertical_gradient_level_ind' ) |
---|
| 463 | READ ( 13 ) vg_vertical_gradient_level_ind |
---|
| 464 | CASE ( 'wall_adjustment' ) |
---|
| 465 | READ ( 13 ) wall_adjustment |
---|
| 466 | CASE ( 'w_max' ) |
---|
| 467 | READ ( 13 ) w_max |
---|
| 468 | CASE ( 'w_max_ijk' ) |
---|
| 469 | READ ( 13 ) w_max_ijk |
---|
| 470 | CASE ( 'time-series-quantities' ) |
---|
| 471 | READ ( 13 ) cross_ts_uymax, cross_ts_uymax_computed, & |
---|
| 472 | cross_ts_uymin, cross_ts_uymin_computed |
---|
| 473 | |
---|
| 474 | CASE DEFAULT |
---|
| 475 | PRINT*, '+++ read_var_list: unknown variable named "', & |
---|
| 476 | TRIM( variable_chr ), '" found in' |
---|
| 477 | PRINT*, ' data from prior run on PE ', myid |
---|
| 478 | CALL local_stop |
---|
| 479 | END SELECT |
---|
| 480 | ! |
---|
| 481 | !-- Read next string |
---|
| 482 | READ ( 13 ) variable_chr |
---|
| 483 | |
---|
| 484 | ENDDO |
---|
| 485 | |
---|
| 486 | |
---|
| 487 | END SUBROUTINE read_var_list |
---|