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.
use clm_varcon, only : spvalARGUMENTS:
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 indexREVISION 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-2003LOCAL VARIABLES: