Changeset 2007 for palm/trunk/SOURCE/check_parameters.f90
- Timestamp:
- Aug 24, 2016 3:47:17 PM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
palm/trunk/SOURCE/check_parameters.f90
r2001 r2007 20 20 ! Current revisions: 21 21 ! ----------------- 22 ! 22 ! Added checks for the urban surface model, 23 ! increased counter in DO WHILE loop over data_output (for urban surface output) 23 24 ! 24 25 ! Former revisions: … … 423 424 USE profil_parameter 424 425 USE radiation_model_mod, & 425 ONLY: radiation, radiation_check_data_output,&426 radiation_check_data_output_pr, radiation_check_parameters426 ONLY: radiation, radiation_check_data_output, & 427 radiation_check_data_output_pr, radiation_check_parameters 427 428 USE spectra_mod, & 428 429 ONLY: calculate_spectra, spectra_check_parameters … … 431 432 USE statistics 432 433 USE transpose_indices 434 USE urban_surface_mod, & 435 ONLY: urban_surface, usm_check_data_output, usm_check_parameters 433 436 USE wind_turbine_model_mod, & 434 ONLY: wtm_check_parameters, wind_turbine437 ONLY: wtm_check_parameters, wind_turbine 435 438 436 439 … … 1100 1103 !-- When land surface model is used, perform additional checks 1101 1104 IF ( land_surface ) CALL lsm_check_parameters 1105 1106 ! 1107 !-- When urban surface model is used, perform additional checks 1108 IF ( urban_surface ) CALL usm_check_parameters 1102 1109 1103 1110 ! … … 1616 1623 ENDIF 1617 1624 1625 ! 1626 ! This IF clause needs revision, got too complex!! 1618 1627 IF ( surface_heatflux == 9999999.9_wp ) THEN 1619 1628 constant_heatflux = .FALSE. 1620 IF ( large_scale_forcing .OR. land_surface ) THEN1629 IF ( large_scale_forcing .OR. land_surface .OR. urban_surface ) THEN 1621 1630 IF ( ibc_pt_b == 0 ) THEN 1622 1631 constant_heatflux = .FALSE. … … 2834 2843 !-- Check and set steering parameters for 2d/3d data output and averaging 2835 2844 i = 1 2836 DO WHILE ( data_output(i) /= ' ' .AND. i <= 100 )2845 DO WHILE ( data_output(i) /= ' ' .AND. i <= 500 ) 2837 2846 ! 2838 2847 !-- Check for data averaging … … 3053 3062 IF ( unit == 'illegal' ) THEN 3054 3063 CALL radiation_check_data_output( var, unit, i, ilen, k ) 3064 ENDIF 3065 3066 ! 3067 !-- Block of urban surface model outputs 3068 IF ( unit == 'illegal' .AND. urban_surface .AND. var(1:3) == 'us_' ) THEN 3069 CALL usm_check_data_output( var, unit ) 3055 3070 ENDIF 3056 3071 … … 3718 3733 ENDIF 3719 3734 3720 IF ( large_scale_forcing .AND. topography /= 'flat' ) THEN 3735 IF ( large_scale_forcing .AND. topography /= 'flat' & 3736 .AND. .NOT. urban_surface ) THEN 3721 3737 message_string = 'The usage of large scale forcing from external &'// & 3722 3738 'file LSF_DATA is not implemented for non-flat topography'
Note: See TracChangeset
for help on using the changeset viewer.