- Timestamp:
- Sep 17, 2018 5:11:46 PM (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
palm/trunk/SOURCE/netcdf_data_input_mod.f90
r3254 r3257 25 25 ! ----------------- 26 26 ! $Id$ 27 ! Adjust checks for building_type and building_id, which is necessary after 28 ! topography filtering (building_type and id can be modified by the filtering). 29 ! 30 ! 3254 2018-09-17 10:53:57Z suehring 27 31 ! Additional check for surface_fractions and and checks for building_id and 28 32 ! building_type extended. … … 3410 3414 IF ( buildings_f%lod == 1 ) THEN 3411 3415 IF ( buildings_f%var_2d(j,i) /= buildings_f%fill1 .AND. & 3412 building_type_f%var(j,i) == building_type_f%fill .OR. & 3413 buildings_f%var_2d(j,i) == buildings_f%fill1 .AND. & 3414 building_type_f%var(j,i) /= building_type_f%fill ) THEN 3416 building_type_f%var(j,i) == building_type_f%fill ) THEN 3415 3417 WRITE( message_string, * ) 'Each location where a ' // & 3416 3418 'building is set requires a type ' // & … … 3424 3426 IF ( buildings_f%lod == 2 ) THEN 3425 3427 IF ( ANY( buildings_f%var_3d(:,j,i) == 1 ) .AND. & 3426 building_type_f%var(j,i) == building_type_f%fill .OR. & 3427 .NOT. ANY( buildings_f%var_3d(:,j,i) == 1 ) .AND. & 3428 building_type_f%var(j,i) /= building_type_f%fill) THEN 3428 building_type_f%var(j,i) == building_type_f%fill ) THEN 3429 3429 WRITE( message_string, * ) 'Each location where a ' // & 3430 3430 'building is set requires a type ' // & … … 3443 3443 IF ( buildings_f%lod == 1 ) THEN 3444 3444 IF ( buildings_f%var_2d(j,i) /= buildings_f%fill1 .AND. & 3445 building_id_f%var(j,i) == building_id_f%fill .OR. & 3446 buildings_f%var_2d(j,i) == buildings_f%fill1 .AND. & 3447 building_id_f%var(j,i) /= building_id_f%fill ) THEN 3445 building_id_f%var(j,i) == building_id_f%fill ) THEN 3448 3446 WRITE( message_string, * ) 'Each location where a ' // & 3449 3447 'building is set requires an ID ' // & … … 3454 3452 ELSEIF ( buildings_f%lod == 2 ) THEN 3455 3453 IF ( ANY( buildings_f%var_3d(:,j,i) == 1 ) .AND. & 3456 building_id_f%var(j,i) == building_id_f%fill .OR. & 3457 .NOT. ANY( buildings_f%var_3d(:,j,i) == 1 ) .AND. & 3458 building_id_f%var(j,i) /= building_id_f%fill ) THEN 3454 building_id_f%var(j,i) == building_id_f%fill ) THEN 3459 3455 WRITE( message_string, * ) 'Each location where a ' // & 3460 3456 'building is set requires an ID ' // &
Note: See TracChangeset
for help on using the changeset viewer.