56 '$Id: CRTM_IR_Snow_SfcOptics.f90 60152 2015-08-13 19:19:13Z paul.vandelst@noaa.gov $' 58 INTEGER,
PARAMETER ::
ml = 256
67 TYPE(sevar_type) :: sevar
157 SensorIndex , & ! Input
158 ChannelIndex, & ! Input
159 SfcOptics , & ! Output
164 INTEGER,
INTENT(IN) :: sensorindex
165 INTEGER,
INTENT(IN) :: channelindex
171 CHARACTER(*),
PARAMETER :: routine_name =
'Compute_IR_Snow_SfcOptics' 175 REAL(fp) :: frequency, emissivity
179 frequency =
sc(sensorindex)%Wavenumber(channelindex)
189 IF ( err_stat /=
success )
THEN 190 msg =
'Error occurred in SEcategory_Emissivity()' 196 IF ( spccoeff_issolar(
sc(sensorindex), channelindex=channelindex) )
THEN 197 sfcoptics%Direct_Reflectivity(:,1) =
one - emissivity
202 sfcoptics%Emissivity(1:sfcoptics%n_Angles,1) = emissivity
203 DO j = 1, sfcoptics%n_Angles
204 sfcoptics%Reflectivity(j,1,j,1) =
one - sfcoptics%Emissivity(j,1)
261 CHARACTER(*),
PARAMETER :: routine_name =
'Compute_IR_Snow_SfcOptics_TL' 271 sfcoptics_tl%Reflectivity =
zero 272 sfcoptics_tl%Direct_Reflectivity =
zero 273 sfcoptics_tl%Emissivity =
zero 332 CHARACTER(*),
PARAMETER :: routine_name =
'Compute_IR_Snow_SfcOptics_AD' 342 sfcoptics_ad%Reflectivity =
zero 343 sfcoptics_ad%Direct_Reflectivity =
zero 344 sfcoptics_ad%Emissivity =
zero
real(fp), parameter, public zero
integer, parameter, public fp
integer, parameter, public max_n_angles
elemental real(fp) function, public inverse_cm_to_micron(Wavenumber)
integer function, public compute_ir_snow_sfcoptics_tl(SfcOptics_TL)
real(fp), parameter, public one
recursive subroutine, public display_message(Routine_Name, Message, Error_State, Message_Log)
integer function, public compute_ir_snow_sfcoptics_ad(SfcOptics_AD)
type(secategory_type), save, public irsnowc
integer function, public secategory_emissivity(SEcategory, Frequency, Surface_Type, Emissivity, iVar)
type(spccoeff_type), dimension(:), allocatable, save, public sc
integer function, public compute_ir_snow_sfcoptics(Surface, SensorIndex, ChannelIndex, SfcOptics, iVar)
character(*), parameter module_version_id
integer, parameter, public success