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

surfrd_get_latlon


INTERFACE:

   subroutine surfrd_get_latlon(latlon,filename,mask,mfilename,pftmflag)
DESCRIPTION:

Read the surface dataset grid related information: This is the first routine called by clm_initialize and no domain decomposition has been set yet


USES:

     use clm_varcon, only : spval
     use domainMod , only : latlon_type, latlon_init
     use fileutils , only : getfil
ARGUMENTS:
     implicit none
     type(latlon_type)         ,intent(inout) :: latlon   ! domain to init
     character(len=*)          ,intent(in)    :: filename ! grid filename
     integer,pointer  ,optional               :: mask(:)
     character(len=*) ,optional,intent(in)    :: mfilename ! grid filename
     logical          ,optional,intent(in)    :: pftmflag   ! is mask pft mask?
CALLED FROM:
   subroutine surfrd in this module
REVISION HISTORY:
   Created by Mariana Vertenstein
LOCAL VARIABLES:




Erik Kluzek 2011-06-15