Changeset 4858 for palm/trunk/SOURCE


Ignore:
Timestamp:
Jan 29, 2021 3:27:59 PM (3 years ago)
Author:
raasch
Message:

rrtmg input file names changed, default value for unscheduled calls of the radiation model set to FALSE

File:
1 edited

Legend:

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

    r4843 r4858  
    2727! -----------------
    2828! $Id$
     29! default value for unscheduled calls of the radiation model set to FALSE,
     30! rrtmg input file names changed
     31!
     32! 4843 2021-01-15 15:22:11Z raasch
    2933! local namelist parameter added to switch off the module although the respective module namelist
    3034! appears in the namelist file
     
    664668    INTEGER(iwp) ::  day_of_year                    !< day of the current year
    665669
    666     LOGICAL ::  unscheduled_radiation_calls = .TRUE., &  !< flag parameter indicating whether additional calls
    667                                                          !< of the radiation code are allowed
    668                 constant_albedo = .FALSE.,            &  !< flag parameter indicating whether the albedo may
    669                                                          !< change depending on zenith
    670                 force_radiation_call = .FALSE.,       &  !< flag parameter for unscheduled radiation calls
    671                 lw_radiation = .TRUE.,                &  !< flag parameter indicating whether longwave radiation shall be calculated
    672                 radiation = .FALSE.,                  &  !< flag parameter indicating whether the radiation model is used
    673                 sun_up    = .TRUE.,                   &  !< flag parameter indicating whether the sun is up or down
    674                 sw_radiation = .TRUE.,                &  !< flag parameter indicating whether shortwave
    675                                                          !< radiation shall be calculated
    676                 sun_direction = .FALSE.,              &  !< flag parameter indicating whether solar direction shall be calculated
    677                 average_radiation = .FALSE.,          &  !< flag to set the calculation of radiation averaging for the domain
    678                 radiation_interactions = .FALSE.,     &  !< flag to activiate RTM (TRUE only if vertical
    679                                                          !< urban/land surface and trees exist)
    680                 surface_reflections = .TRUE.,         &  !< flag to switch the calculation of radiation
    681                                                          !<interaction between surfaces.
    682                                                          !< When it switched off, only the effect of buildings and trees shadow
    683                                                          !< will be considered. However fewer SVFs are expected.
    684                 radiation_interactions_on = .TRUE.       !< namelist flag to force RTM activiation regardless
    685                                                          !<to vertical urban/land surface and trees
     670    LOGICAL ::  unscheduled_radiation_calls = .FALSE., &  !< flag parameter indicating whether additional calls
     671                                                          !< of the radiation code are allowed
     672                constant_albedo = .FALSE.,             &  !< flag parameter indicating whether the albedo may
     673                                                          !< change depending on zenith
     674                force_radiation_call = .FALSE.,        &  !< flag parameter for unscheduled radiation calls
     675                lw_radiation = .TRUE.,                 &  !< flag parameter indicating whether longwave radiation shall be calculated
     676                radiation = .FALSE.,                   &  !< flag parameter indicating whether the radiation model is used
     677                sun_up    = .TRUE.,                    &  !< flag parameter indicating whether the sun is up or down
     678                sw_radiation = .TRUE.,                 &  !< flag parameter indicating whether shortwave
     679                                                          !< radiation shall be calculated
     680                sun_direction = .FALSE.,               &  !< flag parameter indicating whether solar direction shall be calculated
     681                average_radiation = .FALSE.,           &  !< flag to set the calculation of radiation averaging for the domain
     682                radiation_interactions = .FALSE.,      &  !< flag to activiate RTM (TRUE only if vertical
     683                                                          !< urban/land surface and trees exist)
     684                surface_reflections = .TRUE.,          &  !< flag to switch the calculation of radiation
     685                                                          !<interaction between surfaces.
     686                                                          !< When it switched off, only the effect of buildings and trees shadow
     687                                                          !< will be considered. However fewer SVFs are expected.
     688                radiation_interactions_on = .TRUE.        !< namelist flag to force RTM activiation regardless
     689                                                          !<to vertical urban/land surface and trees
    686690
    687691    REAL(wp), PARAMETER ::  emissivity_atm_clsky = 0.8_wp  !< emissivity of the clear-sky atmosphere
     
    19221926 SUBROUTINE radiation_init
    19231927
     1928#if defined( __rrtmg )
     1929    USE control_parameters,                                                                        &
     1930        ONLY:  run_identifier
     1931#endif
     1932
    19241933    IMPLICIT NONE
    19251934
     
    31043113!
    31053114!--    Initialize RRTMG, before check if files are existent
    3106        INQUIRE( FILE = 'rrtmg_lw.nc', EXIST = lw_exists )
     3115       INQUIRE( FILE = 'RRTMG_LW', EXIST = lw_exists )
    31073116       IF ( .NOT. lw_exists )  THEN
    3108           message_string = 'Input file rrtmg_lw.nc &for rrtmg missing. ' //                        &
    3109                          '&Please provide <jobname>_lsw file in the INPUT directory.'
     3117          message_string = 'Input file RRTMG_LW for rrtmg model missing.& Please provide ' //      &
     3118                           TRIM( run_identifier ) // '_lsw file in the INPUT directory.'
    31103119          CALL message( 'radiation_init', 'PA0583', 1, 2, 0, 6, 0 )
    31113120       ENDIF
    3112        INQUIRE( FILE = 'rrtmg_sw.nc', EXIST = sw_exists )
     3121       INQUIRE( FILE = 'RRTMG_SW', EXIST = sw_exists )
    31133122       IF ( .NOT. sw_exists )  THEN
    3114           message_string = 'Input file rrtmg_sw.nc &for rrtmg missing. ' //                        &
    3115                          '&Please provide <jobname>_rsw file in the INPUT directory.'
     3123          message_string = 'Input file RRTMG_SW for rrtmg model missing.& Please provide ' //      &
     3124                           TRIM( run_identifier ) // '_rsw file in the INPUT directory.'
    31163125          CALL message( 'radiation_init', 'PA0584', 1, 2, 0, 6, 0 )
    31173126       ENDIF
     
    31243133       INQUIRE( FILE = 'RAD_SND_DATA', EXIST = snd_exists )
    31253134       IF ( .NOT. snd_exists )  THEN
    3126           rrtm_input_file = 'rrtmg_lw.nc'
     3135          rrtm_input_file = 'RRTMG_LW'
    31273136       ENDIF
    31283137
Note: See TracChangeset for help on using the changeset viewer.