next up previous contents index
Next: p2g_2d Up: Module subgridAveMod (File: subgridAveMod.F90) Previous: p2l_2d   Contents   Index


p2g_1d


INTERFACE:

   subroutine p2g_1d(lbp, ubp, lbc, ubc, lbl, ubl, lbg, ubg, parr, garr, &
        p2c_scale_type, c2l_scale_type, l2g_scale_type)
DESCRIPTION:

   Perfrom subgrid-average from pfts to gridcells.
   Averaging is only done for points that are not equal to "spval".
ARGUMENTS:
     implicit none
     integer , intent(in)  :: lbp, ubp            ! beginning and ending pft i
     integer , intent(in)  :: lbc, ubc            ! beginning and ending colum
     integer , intent(in)  :: lbl, ubl            ! beginning and ending landu
     integer , intent(in)  :: lbg, ubg            ! beginning and ending gridc
     real(r8), intent(in)  :: parr(lbp:ubp)       ! input pft array
     real(r8), intent(out) :: garr(lbg:ubg)       ! output gridcell array
     character(len=*), intent(in) :: p2c_scale_type ! scale factor type for av
     character(len=*), intent(in) :: c2l_scale_type ! scale factor type for av
     character(len=*), intent(in) :: l2g_scale_type ! scale factor type for av
REVISION HISTORY:
   Created by Mariana Vertenstein 12/03



Mariana Vertenstein 2004-06-21