Changeset 4127 for palm/trunk/SOURCE/data_output_3d.f90
- Timestamp:
- Jul 30, 2019 2:47:10 PM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
palm/trunk/SOURCE/data_output_3d.f90
r4048 r4127 25 25 ! ----------------- 26 26 ! $Id$ 27 ! Adjustment for top boundary index for plant-canopy model outputs 28 ! (merge from branch resler) 29 ! 30 ! 4048 2019-06-21 21:00:21Z knoop 27 31 ! Moved tcm_data_output_3d to module_interface 28 32 ! … … 276 280 ONLY: debug_output_timestep, & 277 281 do3d, do3d_no, do3d_time_count, io_blocks, io_group, & 278 land_surface, message_string, ntdim_3d, nz_do3d, psolver, & 279 time_since_reference_point, urban_surface, varnamelength 282 land_surface, message_string, ntdim_3d, nz_do3d, plant_canopy, & 283 psolver, time_since_reference_point, urban_surface, & 284 varnamelength 280 285 281 286 USE cpulog, & … … 313 318 314 319 USE pegrid 320 321 USE plant_canopy_model_mod, & 322 ONLY: pch_index 315 323 316 324 USE radiation_model_mod, & … … 410 418 found = .FALSE. 411 419 resorted = .FALSE. 420 trimvar = TRIM( do3d(av,ivar) ) 421 412 422 ! 413 423 !-- Temporary solution to account for data output within the new urban … … 415 425 !-- Store the array chosen on the temporary array. 416 426 nzb_do = nzb 417 nzt_do = nz_do3d 418 419 trimvar = TRIM( do3d(av,ivar) ) 427 ! 428 !-- Set top index for 3D output. Note in case of plant-canopy model 429 !-- these index is determined by pch_index. 430 IF ( plant_canopy .AND. trimvar(1:4) == 'pcm_' ) THEN 431 nzt_do = pch_index 432 ELSE 433 nzt_do = nz_do3d 434 ENDIF 435 420 436 ! 421 437 !-- Allocate a temporary array with the desired output dimensions.
Note: See TracChangeset
for help on using the changeset viewer.