Ignore:
Timestamp:
Apr 13, 2018 3:09:23 PM (6 years ago)
Author:
suehring
Message:

Bugfix in large-scale forcing

File:
1 edited

Legend:

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

    r2964 r2970  
    2525! -----------------
    2626! $Id$
     27! Bugfix in old large-scale forcing mode
     28!
     29! 2964 2018-04-12 16:04:03Z Giersch
    2730! Calculation of fixed number of output time levels for parallel netcdf output
    2831! has been revised (based on calculations in netcdf_interface_mod)
     
    644647
    645648    USE lsf_nudging_mod,                                                       &
    646         ONLY:  lsf_nudging_check_parameters, lsf_nudging_check_data_output_pr, &
    647                qsws_surf, shf_surf
     649        ONLY:  lsf_nudging_check_parameters, lsf_nudging_check_data_output_pr
    648650
    649651    USE kinds
     
    20042006          ELSEIF ( ibc_pt_b == 1 )  THEN
    20052007             constant_heatflux = .TRUE.
    2006              IF ( TRIM( initializing_actions ) /= 'read_restart_data'  .AND.   &
    2007                   .NOT.  land_surface )  THEN
    2008                 surface_heatflux = shf_surf(1)
    2009              ELSE
    2010                 surface_heatflux = 0.0_wp
    2011              ENDIF
     2008             surface_heatflux = 0.0_wp
    20122009          ENDIF
    20132010       ENDIF
    20142011    ELSE
    2015         constant_heatflux = .TRUE.
    2016         IF ( TRIM( initializing_actions ) /= 'read_restart_data'  .AND.        &
    2017              large_scale_forcing  .AND.  .NOT.  land_surface )  THEN
    2018            surface_heatflux = shf_surf(1)
    2019         ENDIF
     2012       constant_heatflux = .TRUE.
    20202013    ENDIF
    20212014
     
    21322125             ELSEIF ( ibc_q_b == 1 )  THEN
    21332126                constant_waterflux = .TRUE.
    2134                 IF ( TRIM( initializing_actions ) /= 'read_restart_data' )  THEN
    2135                    surface_waterflux = qsws_surf(1)
    2136                 ENDIF
    21372127             ENDIF
    21382128          ENDIF
    21392129       ELSE
    21402130          constant_waterflux = .TRUE.
    2141           IF ( TRIM( initializing_actions ) /= 'read_restart_data'  .AND.      &
    2142                large_scale_forcing )  THEN
    2143              surface_waterflux = qsws_surf(1)
    2144           ENDIF
    21452131       ENDIF
    21462132
Note: See TracChangeset for help on using the changeset viewer.