INTERFACE:
subroutine SoilAlbedo (lbc, ubc, coszen, albsnd, albsni)DESCRIPTION:
Determine ground surface albedo, accounting for snowUSES:
use shr_kind_mod, only: r8 => shr_kind_r8
use clmtype
use clm_varpar, only : numrad
use clm_varcon, only : albsat, albdry, alblak, albice, tfrz, istice, ists
ARGUMENTS:
implicit none
integer , intent(in) :: lbc, ubc ! column bounds
real(r8), intent(in) :: coszen(lbc:ubc) ! cos solar zenith angle
real(r8), intent(in) :: albsnd(lbc:ubc,numrad) ! snow albedo (direct)
real(r8), intent(in) :: albsni(lbc:ubc,numrad) ! snow albedo (diffuse)
CALLED FROM:
subroutine SurfaceAlbedo in this moduleREVISION HISTORY:
Author: Gordon Bonan 2/5/02, Peter Thornton: Migrated to new data structures. 8/20/03, Mariana Vertenstein: Vectorized routineLOCAL VARIABLES:
local pointers to original implicit in arguments
integer , pointer :: clandunit(:) ! landunit of corresponding column
integer , pointer :: ltype(:) ! landunit type
integer , pointer :: isoicol(:) ! soil color class
real(r8), pointer :: t_grnd(:) ! ground temperature (Kelvin)
real(r8), pointer :: frac_sno(:) ! fraction of ground covered by snow
real(r8), pointer :: h2osoi_vol(:,:) ! volumetric soil water [m3/m3]
local pointers to original implicit out arguments
real(r8), pointer:: albgrd(:,:) ! ground albedo (direct)
real(r8), pointer:: albgri(:,:) ! ground albedo (diffuse)