INTERFACE:
subroutine masterlist_build ()DESCRIPTION:
Build master field list of all possible fields in a history file. Each field has
associated with it a "long_name" netcdf attribute that describes what the field is,
and a "units" attribute. A subroutine is called to add each field to the masterlist.
The array hpindices has the form (gridcell_index, landunit_index, column_index,
pft_index). The value of type1d massed to masterlist_add_fld determines which of
the hpindices array values is used to determine the 1d type (gridcell, landunit,
column or pft) of the output history buffer (i.e. it determines beg1d and end1d
of the history buffer field)
!USES
use clmpoint
use clm_varpar, only : nlevsoi
use spmdMod, only : masterproc
ARGUMENTS:
implicit none !REVISION HISTORY Created by Mariana Vertenstein