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_colARGUMENTS:
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 typeREVISION HISTORY:
Created by Mariana Vertenstein 12/03LOCAL VARIABLES: