Skip to content

Commit

Permalink
update module_sf_noahmp_glacier.F90 and module_sf_noahmplsm.F90 accor…
Browse files Browse the repository at this point in the history
…ding to review
  • Loading branch information
rhaesung committed Jan 21, 2025
1 parent 0df4951 commit 7f1a1d8
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
2 changes: 2 additions & 0 deletions physics/SFC_Models/Land/Noahmp/module_sf_noahmp_glacier.F90
Original file line number Diff line number Diff line change
Expand Up @@ -842,12 +842,14 @@ subroutine radiation_glacier (dt ,tg ,sneqvo ,sneqv ,cosz , & !in

! snow albedos: age even when sun is not present

if(cosz > 0) then
if(opt_alb == 1) &
call snowalb_bats_glacier (nband,cosz,fage,albsnd,albsni)
if(opt_alb == 2) then
call snowalb_class_glacier(nband,qsnow,dt,alb,albold,albsnd,albsni)
albold = alb
end if
end if

! zero summed solar fluxes

Expand Down
8 changes: 3 additions & 5 deletions physics/SFC_Models/Land/Noahmp/module_sf_noahmplsm.F90
Original file line number Diff line number Diff line change
Expand Up @@ -3024,7 +3024,7 @@ subroutine albedo (parameters,vegtyp ,ist ,ice ,nsoil , & !in

call snow_age (parameters,dt,tg,sneqvo,sneqv,tauss,fage)

if(cosz <= 0) goto 100
if(cosz <= 0)

! weight reflectance/transmittance by lai and sai

Expand All @@ -3045,6 +3045,8 @@ subroutine albedo (parameters,vegtyp ,ist ,ice ,nsoil , & !in
albold = alb
end if

100 continue

! ground surface albedo

call groundalb (parameters,nsoil ,nband ,ice ,ist , & !in
Expand Down Expand Up @@ -9143,10 +9145,6 @@ subroutine groundwater(parameters,nsnow ,nsoil ,dt ,sice ,zsoil , & !in

! recharge rate qin to groundwater

! ka = hk(iwt)
! harmonic average, c.he changed based on gy niu's update
! ka = 2.0*(hk(iwt)*parameters%dksat(iwt)*1.0e3) / (hk(iwt)+parameters%dksat(iwt)*1.0e3)
! tried one suggesteed by gy niu
ka = 0.5*(hk(iwt)+parameters%dksat(iwt)*1.0e3)

wh_zwt = - zwt * 1.e3 !(mm)
Expand Down

0 comments on commit 7f1a1d8

Please sign in to comment.