@@ -1234,7 +1234,7 @@ subroutine col_es_init(this, begc, endc)
12341234 end if
12351235
12361236 ! Below snow temperatures - nonlake points (lake points are set below)
1237- if (.not. lun_pp%lakpoi(l )) then
1237+ if (.not. col_pp%is_lake(c )) then
12381238
12391239 if (lun_pp%itype(l) == istice .or. lun_pp%itype(l) == istice_mec) then
12401240 this%t_soisno(c,1:nlevgrnd) = 250._r8
@@ -1292,7 +1292,7 @@ subroutine col_es_init(this, begc, endc)
12921292 this%t_grnd(c) = this%t_soisno(c,snl(c)+1)
12931293 endif
12941294
1295- if (lun_pp%lakpoi(l )) then ! special handling for lake points
1295+ if (col_pp%is_lake(c )) then ! special handling for lake points
12961296 this%t_soisno(c,1:nlevgrnd) = 277._r8
12971297 this%t_lake(c,1:nlevlak) = 277._r8
12981298 this%t_grnd(c) = 277._r8
@@ -1733,7 +1733,7 @@ subroutine col_ws_init(this, begc, endc, h2osno_input, snow_depth_input, watsat_
17331733 this%h2osoi_liq(c,-nlevsno+1:) = spval
17341734 this%h2osoi_ice(c,-nlevsno+1:) = spval
17351735
1736- if (.not. lun_pp%lakpoi(l )) then !not lake
1736+ if (.not. col_pp%is_lake(c )) then !not lake
17371737 nlevbed = col_pp%nlevbed(c)
17381738 ! volumetric water
17391739 if (col_pp%is_soil(c) .or. col_pp%is_crop(c)) then
@@ -1823,7 +1823,7 @@ subroutine col_ws_init(this, begc, endc, h2osno_input, snow_depth_input, watsat_
18231823 !--------------------------------------------
18241824 ! Set Lake water
18251825 !--------------------------------------------
1826- if (lun_pp%lakpoi(l )) then
1826+ if (col_pp%is_lake(c )) then
18271827 do j = -nlevsno+1, 0
18281828 if (j > col_pp%snl(c)) then
18291829 this%h2osoi_ice(c,j) = col_pp%dz(c,j)*bdsno
0 commit comments