next up previous contents
Next: extract_accum_field_ml Up: Fortran: Module Interface accumulMod Previous: print_accum_fields   Contents

extract_accum_field_sl


INTERFACE:

   subroutine extract_accum_field_sl (name, field, nstep)
DESCRIPTION:

Extract single-level accumulated field. This routine extracts the field values from the multi-level accumulation field. It extracts the current value except if the field type is a time average. In this case, an absurd value is assigned to indicate the time average is not yet valid.


USES:

     use clm_varcon, only : spval
ARGUMENTS:
     implicit none
     character(len=*), intent(in) :: name     !field name
     real(r8), pointer, dimension(:) :: field !field values for current time step
     integer , intent(in) :: nstep            !timestep index
REVISION HISTORY:
   Created by Sam Levis
   Updated to clm2.1 data structures by Mariana Vertenstein
   Updated to include all subgrid type and multilevel fields, Mariana Vertenstein 03-2003
LOCAL VARIABLES:




Erik Kluzek 2011-06-15