next up previous contents
Next: surfrd_get_frac Up: Fortran: Module Interface surfrdMod Previous: surfrd_get_grid   Contents

surfrd


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_type
ARGUMENTS:
     implicit none
     character(len=*), intent(in) :: lfsurdat               ! surf filename
     type(domain_type),intent(in) :: domain ! domain associated with wtxy
CALLED FROM:
   subroutine initialize in module initializeMod
REVISION HISTORY:
   Created by Mariana Vertenstein, Sam Levis and Gordon Bonan
LOCAL VARIABLES:




Erik Kluzek 2011-06-15