INTERFACE:
subroutine masterlist_addfld (fname, type1d, units, numlev, avgflag, &
long_name, hpindices)
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
use clmtype, only : grid1d, land1d, cols1d, pfts1d
ARGUMENTS:
implicit none
character(len=*), intent(in) :: fname ! field name
character(len=*), intent(in) :: type1d ! 1d vertical type ("gridcell","landunit","column" or "pft")
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) :: numlev ! number of vertical levels (dimension and loop)
integer, intent(in) :: hpindices(4) ! possible list of clm pointer indices
!REVISION HISTORY
Created by Mariana Vertenstein