Ignore:
Timestamp:
Oct 12, 2018 3:17:09 PM (6 years ago)
Author:
kanani
Message:

reintegrate branch resler to trunk

Location:
palm/trunk/SOURCE
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • palm/trunk/SOURCE

  • palm/trunk/SOURCE/average_3d_data.f90

    r3294 r3337  
    2525! -----------------
    2626! $Id$
     27! (from resler branch)
     28! Add biometeorology output,
     29! fix for chemistry output,
     30! move of urban surface output
     31!
     32! 3294 2018-10-01 02:37:10Z raasch
    2733! changes concerning modularization of ocean option
    2834!
     
    174180        ONLY:  radiation, radiation_3d_data_averaging
    175181
     182    USE biometeorology_mod,                                                    &
     183        ONLY:  biometeorology_3d_data_averaging
     184
    176185    USE turbulence_closure_mod,                                                &
    177186        ONLY:  tcm_3d_data_averaging
     
    203212    DO  ii = 1, doav_n
    204213
    205 !
    206 !--    Temporary solution to account for data output within the new urban
    207 !--    surface model (urban_surface_mod.f90), see also SELECT CASE ( trimvar )
    208214       trimvar = TRIM( doav(ii) )
    209        IF ( urban_surface  .AND.  trimvar(1:4) == 'usm_' )  THEN
    210           trimvar = 'usm_output'
    211        ENDIF
    212215
    213216!
     
    533536             ENDIF
    534537
    535           CASE ( 'usm_output' )
    536 !             
    537 !--          Block of urban surface model outputs
    538              CALL usm_average_3d_data( 'average', doav(ii) )
    539 
    540538          CASE DEFAULT
    541539!
    542540!--          Averaging of data from other modules
    543              IF ( air_chemistry )  THEN
     541             IF ( air_chemistry .AND. &
     542                  (trimvar(1:3) == 'kc_' .OR. trimvar(1:3) == 'em_')  )  THEN
    544543                CALL chem_3d_data_averaging( 'average', doav(ii) )
    545544             ENDIF
     
    565564             ENDIF
    566565
     566             IF ( radiation  .AND.  trimvar(1:4) == 'bio_' )  THEN
     567                CALL biometeorology_3d_data_averaging( 'average', doav(ii) )
     568             ENDIF
     569
    567570             CALL tcm_3d_data_averaging( 'average', doav(ii) )
     571
     572             IF ( urban_surface  .AND.  trimvar(1:4) == 'usm_' )  THEN
     573                CALL usm_average_3d_data( 'average', doav(ii) )
     574             ENDIF
     575
    568576!
    569577!--          User-defined quantities
Note: See TracChangeset for help on using the changeset viewer.