Changeset 4858 for palm/trunk/SOURCE/radiation_model_mod.f90
- Timestamp:
- Jan 29, 2021 3:27:59 PM (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
palm/trunk/SOURCE/radiation_model_mod.f90
r4843 r4858 27 27 ! ----------------- 28 28 ! $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 29 33 ! local namelist parameter added to switch off the module although the respective module namelist 30 34 ! appears in the namelist file … … 664 668 INTEGER(iwp) :: day_of_year !< day of the current year 665 669 666 LOGICAL :: unscheduled_radiation_calls = . TRUE., & !< flag parameter indicating whether additional calls667 !< of the radiation code are allowed668 constant_albedo = .FALSE., & !< flag parameter indicating whether the albedo may669 !< change depending on zenith670 force_radiation_call = .FALSE., & !< flag parameter for unscheduled radiation calls671 lw_radiation = .TRUE., & !< flag parameter indicating whether longwave radiation shall be calculated672 radiation = .FALSE., & !< flag parameter indicating whether the radiation model is used673 sun_up = .TRUE., & !< flag parameter indicating whether the sun is up or down674 sw_radiation = .TRUE., & !< flag parameter indicating whether shortwave675 !< radiation shall be calculated676 sun_direction = .FALSE., & !< flag parameter indicating whether solar direction shall be calculated677 average_radiation = .FALSE., & !< flag to set the calculation of radiation averaging for the domain678 radiation_interactions = .FALSE., & !< flag to activiate RTM (TRUE only if vertical679 !< urban/land surface and trees exist)680 surface_reflections = .TRUE., & !< flag to switch the calculation of radiation681 !<interaction between surfaces.682 !< When it switched off, only the effect of buildings and trees shadow683 !< will be considered. However fewer SVFs are expected.684 radiation_interactions_on = .TRUE. !< namelist flag to force RTM activiation regardless685 !<to vertical urban/land surface and trees670 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 686 690 687 691 REAL(wp), PARAMETER :: emissivity_atm_clsky = 0.8_wp !< emissivity of the clear-sky atmosphere … … 1922 1926 SUBROUTINE radiation_init 1923 1927 1928 #if defined( __rrtmg ) 1929 USE control_parameters, & 1930 ONLY: run_identifier 1931 #endif 1932 1924 1933 IMPLICIT NONE 1925 1934 … … 3104 3113 ! 3105 3114 !-- 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 ) 3107 3116 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.' 3110 3119 CALL message( 'radiation_init', 'PA0583', 1, 2, 0, 6, 0 ) 3111 3120 ENDIF 3112 INQUIRE( FILE = ' rrtmg_sw.nc', EXIST = sw_exists )3121 INQUIRE( FILE = 'RRTMG_SW', EXIST = sw_exists ) 3113 3122 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.' 3116 3125 CALL message( 'radiation_init', 'PA0584', 1, 2, 0, 6, 0 ) 3117 3126 ENDIF … … 3124 3133 INQUIRE( FILE = 'RAD_SND_DATA', EXIST = snd_exists ) 3125 3134 IF ( .NOT. snd_exists ) THEN 3126 rrtm_input_file = ' rrtmg_lw.nc'3135 rrtm_input_file = 'RRTMG_LW' 3127 3136 ENDIF 3128 3137
Note: See TracChangeset
for help on using the changeset viewer.