INTERFACE:
subroutine c2g_2d(lbc, ubc, lbl, ubl, lbg, ubg, num2d, carr, garr, &
c2l_scale_type, l2g_scale_type)
DESCRIPTION:
Perfrom subgrid-average from columns to gridcells. Averaging is only done for points that are not equal to "spval".ARGUMENTS:
implicit none
integer , intent(in) :: lbc, ubc ! beginning and ending col
integer , intent(in) :: lbl, ubl ! beginning and ending lan
integer , intent(in) :: lbg, ubg ! beginning and ending gri
integer , intent(in) :: num2d ! size of second dimension
real(r8), intent(in) :: carr(lbc:ubc,num2d) ! input column array
real(r8), intent(out) :: garr(lbg:ubg,num2d) ! output gridcell array
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