Changeset 4329 for palm/trunk/SOURCE/netcdf_data_input_mod.f90
- Timestamp:
- Dec 10, 2019 3:46:36 PM (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
palm/trunk/SOURCE/netcdf_data_input_mod.f90
r4321 r4329 25 25 ! ----------------- 26 26 ! $Id$ 27 ! Renamed wall_flags_0 to wall_flags_static_0 28 ! 29 ! 4321 2019-12-04 10:26:38Z pavelkrc 27 30 ! Further revise check for surface fractions 28 31 ! … … 3401 3404 3402 3405 USE indices, & 3403 ONLY: nxl, nxr, nyn, nys, wall_flags_ 03406 ONLY: nxl, nxr, nyn, nys, wall_flags_static_0 3404 3407 3405 3408 IMPLICIT NONE … … 3867 3870 !-- Check if building_type is set at each building and vice versa. 3868 3871 !-- Please note, buildings are already processed and filtered. 3869 !-- For this reason, consistency checks are based on wall_flags_ 03872 !-- For this reason, consistency checks are based on wall_flags_static_0 3870 3873 !-- rather than buildings_f (buildings are represented by bit 6 in 3871 !-- wall_flags_ 0).3874 !-- wall_flags_static_0). 3872 3875 IF ( building_type_f%from_file .AND. buildings_f%from_file ) THEN 3873 IF ( ANY( BTEST ( wall_flags_ 0(:,j,i), 6 ) ) .AND. &3876 IF ( ANY( BTEST ( wall_flags_static_0(:,j,i), 6 ) ) .AND. & 3874 3877 building_type_f%var(j,i) == building_type_f%fill .OR. & 3875 .NOT. ANY( BTEST ( wall_flags_ 0(:,j,i), 6 ) ) .AND. &3878 .NOT. ANY( BTEST ( wall_flags_static_0(:,j,i), 6 ) ) .AND. & 3876 3879 building_type_f%var(j,i) /= building_type_f%fill ) THEN 3877 3880 WRITE( message_string, * ) 'Each location where a ' // & … … 3888 3891 !-- is set and vice versa. 3889 3892 IF ( buildings_f%from_file ) THEN 3890 IF ( ANY( BTEST ( wall_flags_ 0(:,j,i), 6 ) ) .AND. &3893 IF ( ANY( BTEST ( wall_flags_static_0(:,j,i), 6 ) ) .AND. & 3891 3894 building_id_f%var(j,i) == building_id_f%fill .OR. & 3892 .NOT. ANY( BTEST ( wall_flags_ 0(:,j,i), 6 ) ) .AND. &3895 .NOT. ANY( BTEST ( wall_flags_static_0(:,j,i), 6 ) ) .AND. & 3893 3896 building_id_f%var(j,i) /= building_id_f%fill ) THEN 3894 3897 WRITE( message_string, * ) 'Each location where a ' // & … … 3902 3905 !-- Check if building ID is set where a bulding is defined. 3903 3906 IF ( buildings_f%from_file ) THEN 3904 IF ( ANY( BTEST ( wall_flags_ 0(:,j,i), 6 ) ) .AND. &3907 IF ( ANY( BTEST ( wall_flags_static_0(:,j,i), 6 ) ) .AND. & 3905 3908 building_id_f%var(j,i) == building_id_f%fill ) THEN 3906 3909 WRITE( message_string, * ) 'Each building grid point '// &
Note: See TracChangeset
for help on using the changeset viewer.