INTERFACE:
subroutine mksrfdat(cam_longxy, cam_latixy, cam_numlon, cam_landfrac, &
cam_landmask)
DESCRIPTION:
Creates land model surface dataset from original "raw" data files. Surface dataset contains model grid, pfts, inland water, glacier, soil texture, soil color, LAI and SAI and urban fraction.USES:
use shr_kind_mod, only : r8 => shr_kind_r8
use shr_sys_mod , only : shr_sys_getenv
use nanMod
use clm_varpar
use clm_varctl
use clm_varsur
use pftvarcon , only : noveg
use time_manager, only : is_last_step
use fileutils , only : putfil, opnfil, getavu, relavu, get_filename
use areaMod
use spmdMod
use mkgridMod
use ncdio
use mklai
use mkpft
ARGUMENTS:
implicit none
real(r8), optional, intent(in) :: cam_longxy(:,:) !cam lon values
real(r8), optional, intent(in) :: cam_latixy(:,:) !cam lat values
integer , optional, intent(in) :: cam_numlon(:) !cam number of longit
real(r8), optional, intent(in) :: cam_landfrac(:,:) !cam fractional land
integer , optional, intent(in) :: cam_landmask(:,:) !cam land mask
CALLED FROM:
routine initializeREVISION HISTORY:
Authors: Gordon Bonan, Sam Levis and Mariana Vertenstein