Skip to content

Commit

Permalink
Merge pull request #946 from GEOS-ESM/bugfix/rreichle/hcorr_double_co…
Browse files Browse the repository at this point in the history
…unting

bug fix: remove double-counting of heat corr (StieglitzSnow.F90)
  • Loading branch information
sdrabenh committed Jul 10, 2024
2 parents 8bfa81a + b02a43c commit f5fd2a3
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -671,7 +671,7 @@ subroutine StieglitzSnow_snowrt(tile_lon, tile_lat, &
if(-dw > wesn(1) ) then
dw = -wesn(1)
evap = -dw/(dts*areasc)
hcorr=hcorr+(lhflux-evap*alhv)*areasc
!hcorr=hcorr+(lhflux-evap*alhv)*areasc ! removed, was double-counting corr, see "Store excess heat in hcorr" below; koster+reichle, 31 May 2024
lhflux=evap*alhv
endif
wesn(1) = wesn(1) + dw
Expand Down

0 comments on commit f5fd2a3

Please sign in to comment.