Skip to content

Commit

Permalink
Adjust ice to liquid density in ice mass calculation, as lake layer i…
Browse files Browse the repository at this point in the history
…s not adjusted
  • Loading branch information
Ivanderkelen committed Aug 27, 2020
1 parent 30394f8 commit a672692
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/biogeophys/TotalWaterAndHeatMod.F90
Original file line number Diff line number Diff line change
Expand Up @@ -518,7 +518,7 @@ subroutine AccumulateLiqIceMassLake(bounds, num_c, filter_c, &
c = filter_c(fc)
! calculate lake liq and ice content per lake layer first
h2olak_liq = dz_lake(c,j) * denh2o * (1 - lake_icefrac(c,j))
h2olak_ice = dz_lake(c,j) * denice * lake_icefrac(c,j)
h2olak_ice = dz_lake(c,j) * denh2o * lake_icefrac(c,j) ! use water density of liquid water as layer depth is not adjusted

liquid_mass(c) = liquid_mass(c) + h2olak_liq
ice_mass(c) = ice_mass(c) + h2olak_ice
Expand Down

0 comments on commit a672692

Please sign in to comment.