next up previous contents
Next: p2c_1d_filter Up: Fortran: Module Interface subgridAveMod Previous: p2c_1d   Contents

p2c_2d


INTERFACE:

   subroutine p2c_2d (lbp, ubp, lbc, ubc, num2d, parr, carr, p2c_scale_type)
DESCRIPTION:

Perfrom subgrid-average from landunits to gridcells. Averaging is only done for points that are not equal to "spval".


USES:

     use clm_varpar, only : max_pft_per_col
ARGUMENTS:
     implicit none
     integer , intent(in)  :: lbp, ubp              ! beginning and ending pft
     integer , intent(in)  :: lbc, ubc              ! beginning and ending column
     integer , intent(in)  :: num2d                 ! size of second dimension
     real(r8), intent(in)  :: parr(lbp:ubp,num2d)   ! pft array
     real(r8), intent(out) :: carr(lbc:ubc,num2d)   ! column array
     character(len=*), intent(in) :: p2c_scale_type ! scale type
REVISION HISTORY:
   Created by Mariana Vertenstein 12/03
LOCAL VARIABLES:




Erik Kluzek 2011-06-15