INTERFACE:
subroutine surfrd(vegxy, wtxy, lfsurdat, domain) subroutine surfrd(lfsurdat, domain)DESCRIPTION:
Read the surface dataset and create subgrid weights. The model's surface dataset recognizes 6 basic land cover types within a grid cell: lake, wetland, urban, glacier, glacier_mec and vegetated. The vegetated portion of the grid cell is comprised of up to [maxpatch_pft] PFTs. These subgrid patches are read in explicitly for each grid cell. This is in contrast to LSMv1, where the PFTs were built implicitly from biome types. o real edges of grid o integer number of longitudes per latitude o real latitude of grid cell (degrees) o real longitude of grid cell (degrees) o integer surface type: 0 = ocean or 1 = land o integer soil color (1 to 20) for use with soil albedos o real soil texture, o real soil texture, o real o real o real o real o real o integer PFTs o real
USES:
use clm_varctl , only : allocate_all_vegpfts, create_crop_landunit use pftvarcon , only : noveg use fileutils , only : getfil use domainMod , only : domain_typeARGUMENTS:
implicit none character(len=*), intent(in) :: lfsurdat ! surf filename type(domain_type),intent(in) :: domain ! domain associated with wtxyCALLED FROM:
subroutine initialize in module initializeModREVISION HISTORY:
Created by Mariana Vertenstein, Sam Levis and Gordon BonanLOCAL VARIABLES: