next up previous contents index
Next: atm_getgrid Up: Module atmdrvMod (File: atmdrvMod.F90) Previous: Module atmdrvMod (File: atmdrvMod.F90)   Contents   Index


atmdrv


INTERFACE:

   subroutine atmdrv(nstep)
DESCRIPTION:

   This code reads in atmospheric fields from an input file and generates
   the required atmospheric forcing. These data files have [atmmin] minute
   average data for each month. Input data files are named in month-year
   format (e.g., 09-0001 contains 240 3-hour time slices of data, 30*8, for
   September of year one). The model will cycle through however many full
   years of data are available [pyr]. At least one full year of data is
   necessary for cycling. The model may start on any base date, as long as
   this date corresponds to an existing data file. A run need not be an
   exact multiple of a year.
   ============================
   Possible atmospheric fields:
   ============================
   Name     Description                              Required/Optional
   ---------------------------------------------------------------------------
   TBOT     temperature (K)                          Required
   WIND     wind:sqrt(u**2+v**2) (m/s)               Required
   QBOT     specific humidity (kg/kg)                Required
   Tdew     dewpoint temperature (K)                 Alternative to Q
   RH       relative humidity (percent)              Alternative to Q
   ZBOT     reference height (m)                     optional
   PSRF     surface pressure (Pa)                    optional
   FSDS     total incident solar radiation (W/m**2)  Required
   FSDSdir  direct incident solar radiation (W/m**2) optional (replaces FSDS)
   FSDSdif  diffuse incident solar rad (W/m**2)      optional (replaces FSDS)
   FLDS     incident longwave radiation (W/m**2)     optional
   PRECTmms total precipitation (mm H2O / sec)       Required
   PRECCmms convective precipitation (mm H2O / sec)  optional (replaces PRECT)
   PRECLmms large-scale precipitation (mm H2O / sec) optional (replaces PRECT)
   ============
   Data format:
   ============
   Data format is netCDF with dimensions longitude x latitude
   for each time slice and field. Variable names can be as in above list
   or can be reset to desired names using [fldlst] in code below.
   ===============
   Namelist input:
   ===============
   character*256 offline_atmdir = directory for input atm data files (can be M
USES:
     use nanMod
     use clmtype
     use decompMod   , only : get_proc_bounds
     use clm_varctl  , only : offline_atmdir, pertlim
     use clm_varcon  , only : rair, cpair, po2, pco2, tcrit
     use time_manager, only : get_step_size, get_curr_calday, get_curr_date
     use fileutils   , only : getfil
ARGUMENTS:
     implicit none
     integer, intent(in) :: nstep    !current time step
REVISION HISTORY:
   Created by Sam Levis



Mariana Vertenstein 2004-06-21