@@ -613,7 +613,7 @@ subroutine med_phases_prep_glc_avg(gcomp, rc)
613613 if (chkerr(rc,__LINE__,u_FILE_u)) return
614614 if (lndAccum2glc_cnt > 0 ) then
615615 ! If accumulation count is greater than 0, do the averaging
616- data2d(:,:) = data2d(:,:) / real (lndAccum2glc_cnt)
616+ data2d(:,:) = data2d(:,:) / real (lndAccum2glc_cnt, R8 )
617617 else
618618 ! If accumulation count is 0, then simply set the averaged field bundle values from the land
619619 ! to the import field bundle values
@@ -631,7 +631,7 @@ subroutine med_phases_prep_glc_avg(gcomp, rc)
631631 if (chkerr(rc,__LINE__,u_FILE_u)) return
632632 if (ocnAccum2glc_cnt > 0 ) then
633633 ! If accumulation count is greater than 0, do the averaging
634- data2d(:,:) = data2d(:,:) / real (ocnAccum2glc_cnt)
634+ data2d(:,:) = data2d(:,:) / real (ocnAccum2glc_cnt, R8 )
635635 else
636636 ! If accumulation count is 0, then simply set the averaged field bundle values from the ocn
637637 ! to the import field bundle values
0 commit comments