next up previous contents
Next: hist_htapes_build Up: Fortran: Module Interface histFileMod Previous: hist_printflds   Contents

masterlist_addfld


INTERFACE:

   subroutine masterlist_addfld (fname, type1d, type1d_out, &
         type2d, num2d, units, avgflag, long_name, hpindex, &
         p2c_scale_type, c2l_scale_type, l2g_scale_type)
DESCRIPTION:

Add a field to the master field list. Put input arguments of field name, units, number of levels, averaging flag, and long name into a type entry in the global master field list (masterlist).


USES:

ARGUMENTS:
     implicit none
     character(len=*), intent(in) :: fname        ! field name
     character(len=*), intent(in) :: type1d       ! 1d data type
     character(len=*), intent(in) :: type1d_out   ! 1d output type
     character(len=*), intent(in) :: type2d       ! 2d output type
     integer         , intent(in) :: num2d        ! size of second dimension (e.g. number of vertical levels)
     character(len=*), intent(in) :: units        ! units of field
     character(len=1), intent(in) :: avgflag      ! time averaging flag
     character(len=*), intent(in) :: long_name    ! long name of field
     integer         , intent(in) :: hpindex      ! clmtype index for history buffer output
     character(len=*), intent(in) :: p2c_scale_type ! scale type for subgrid averaging of pfts to column
     character(len=*), intent(in) :: c2l_scale_type ! scale type for subgrid averaging of columns to landunits
     character(len=*), intent(in) :: l2g_scale_type ! scale type for subgrid averaging of landunits to gridcells
REVISION HISTORY:
   Created by Mariana Vertenstein
LOCAL VARIABLES:




Erik Kluzek 2011-06-15