next up previous contents index
Next: htapes_build Up: Module histFileMod (File: histFileMod.F90) Previous: masterlist_printflds   Contents   Index


masterlist_addfld


INTERFACE:

   subroutine masterlist_addfld (fname, type1d, type2d, num2d,  &
         typexy, nlonxy, nlatxy, &
         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:

     use clmtype  , only : nameg, namel, namec, namep, lndrof, ocnrof
     use decompMod, only : get_proc_bounds, get_proc_global
 #if (defined RTM)
     use RunoffMod, only : get_proc_rof_bounds, get_proc_rof_global
 #endif
ARGUMENTS:
     implicit none
     character(len=*), intent(in) :: fname        ! field name
     character(len=*), intent(in) :: type1d       ! 1d output type
     character(len=*), intent(in) :: type2d       ! 2d output type
     character(len=*), intent(in) :: typexy       ! xy grid output type
     integer         , intent(in) :: nlonxy       ! xy grid longitude dimensio
     integer         , intent(in) :: nlatxy       ! xy grid latitude dimension
     integer         , intent(in) :: num2d        ! size of second dimension (
     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 
     character(len=*), intent(in) :: p2c_scale_type ! scale type for subgrid a
     character(len=*), intent(in) :: c2l_scale_type ! scale type for subgrid a
     character(len=*), intent(in) :: l2g_scale_type ! scale type for subgrid a
REVISION HISTORY:
   Created by Mariana Vertenstein



Mariana Vertenstein 2004-06-21