Ignore:
Timestamp:
Aug 24, 2016 3:47:17 PM (8 years ago)
Author:
kanani
Message:

changes in the course of urban surface model implementation

File:
1 edited

Legend:

Unmodified
Added
Removed
  • palm/trunk/SOURCE/check_parameters.f90

    r2001 r2007  
    2020! Current revisions:
    2121! -----------------
    22 !
     22! Added checks for the urban surface model,
     23! increased counter in DO WHILE loop over data_output (for urban surface output)
    2324!
    2425! Former revisions:
     
    423424    USE profil_parameter
    424425    USE radiation_model_mod,                                                   &
    425         ONLY: radiation, radiation_check_data_output,                          &
    426               radiation_check_data_output_pr, radiation_check_parameters
     426        ONLY:  radiation, radiation_check_data_output,                         &
     427               radiation_check_data_output_pr, radiation_check_parameters
    427428    USE spectra_mod,                                                           &
    428429        ONLY:  calculate_spectra, spectra_check_parameters
     
    431432    USE statistics
    432433    USE transpose_indices
     434    USE urban_surface_mod,                                                     &
     435        ONLY:  urban_surface, usm_check_data_output, usm_check_parameters
    433436    USE wind_turbine_model_mod,                                                &
    434         ONLY: wtm_check_parameters, wind_turbine
     437        ONLY:  wtm_check_parameters, wind_turbine
    435438
    436439
     
    11001103!-- When land surface model is used, perform additional checks
    11011104    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
    11021109
    11031110!
     
    16161623    ENDIF
    16171624
     1625!
     1626!   This IF clause needs revision, got too complex!!
    16181627    IF ( surface_heatflux == 9999999.9_wp  )  THEN
    16191628       constant_heatflux = .FALSE.
    1620        IF ( large_scale_forcing  .OR.  land_surface )  THEN
     1629       IF ( large_scale_forcing  .OR.  land_surface  .OR.  urban_surface )  THEN
    16211630          IF ( ibc_pt_b == 0 )  THEN
    16221631             constant_heatflux = .FALSE.
     
    28342843!-- Check and set steering parameters for 2d/3d data output and averaging
    28352844    i   = 1
    2836     DO  WHILE ( data_output(i) /= ' '  .AND.  i <= 100 )
     2845    DO  WHILE ( data_output(i) /= ' '  .AND.  i <= 500 )
    28372846!
    28382847!--    Check for data averaging
     
    30533062             IF ( unit == 'illegal' )  THEN
    30543063                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 )
    30553070             ENDIF
    30563071
     
    37183733    ENDIF
    37193734
    3720     IF ( large_scale_forcing  .AND.  topography /= 'flat' )  THEN
     3735    IF ( large_scale_forcing  .AND.  topography /= 'flat'                      &
     3736                              .AND.  .NOT.  urban_surface )  THEN
    37213737       message_string = 'The usage of large scale forcing from external &'//   &
    37223738                        'file LSF_DATA is not implemented for non-flat topography'
Note: See TracChangeset for help on using the changeset viewer.