Skip to content

Commit e671346

Browse files
authored
Merge pull request #1376 from rgknox/trivial-zenith-defaults
fix to trivial radiation transmission
2 parents 7d372b0 + e22aba4 commit e671346

File tree

2 files changed

+12
-11
lines changed

2 files changed

+12
-11
lines changed

main/FatesInterfaceMod.F90

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -373,13 +373,13 @@ subroutine zero_bcs(fates,s)
373373
fates%bc_out(s)%rssun_pa(:) = 0.0_r8
374374
fates%bc_out(s)%rssha_pa(:) = 0.0_r8
375375

376-
fates%bc_out(s)%albd_parb(:,:) = 0.0_r8 ! zero albedo, soil absorbs all rad
377-
fates%bc_out(s)%albi_parb(:,:) = 0.0_r8 ! zero albedo, soil absorbs all rad
376+
fates%bc_out(s)%albd_parb(:,:) = 1.0_r8 ! zero albedo, soil absorbs all rad
377+
fates%bc_out(s)%albi_parb(:,:) = 1.0_r8 ! zero albedo, soil absorbs all rad
378378
fates%bc_out(s)%fabd_parb(:,:) = 0.0_r8 ! no rad absorbed by veg
379379
fates%bc_out(s)%fabi_parb(:,:) = 0.0_r8 ! no rad absorbed by veg
380-
fates%bc_out(s)%ftdd_parb(:,:) = 1.0_r8 ! rad flux to soil at bottom of veg is 100%
381-
fates%bc_out(s)%ftid_parb(:,:) = 1.0_r8 ! rad flux to soil at bottom of veg is 100%
382-
fates%bc_out(s)%ftii_parb(:,:) = 1.0_r8 ! rad flux to soil at bottom of veg is 100%
380+
fates%bc_out(s)%ftdd_parb(:,:) = 0.0_r8 ! rad flux to soil at bottom of veg is 100%
381+
fates%bc_out(s)%ftid_parb(:,:) = 0.0_r8 ! rad flux to soil at bottom of veg is 100%
382+
fates%bc_out(s)%ftii_parb(:,:) = 0.0_r8 ! rad flux to soil at bottom of veg is 100%
383383

384384
fates%bc_out(s)%elai_pa(:) = 0.0_r8
385385
fates%bc_out(s)%esai_pa(:) = 0.0_r8

radiation/FatesRadiationDriveMod.F90

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -107,14 +107,15 @@ subroutine FatesNormalizedCanopyRadiation(sites, bc_in, bc_out )
107107
if_bareground: if(currentpatch%nocomp_pft_label.ne.nocomp_bareground)then
108108

109109
! Initialize output boundary conditions with trivial assumption
110-
! of a black body soil and fully transmitting canopy
111-
bc_out(s)%albd_parb(ifp,:) = 0._r8
112-
bc_out(s)%albi_parb(ifp,:) = 0._r8
110+
! This matches CLM/ELM
111+
! Albedo is perfect reflector, no flux into or through canopy
112+
bc_out(s)%albd_parb(ifp,:) = 1._r8
113+
bc_out(s)%albi_parb(ifp,:) = 1._r8
113114
bc_out(s)%fabi_parb(ifp,:) = 0._r8
114115
bc_out(s)%fabd_parb(ifp,:) = 0._r8
115-
bc_out(s)%ftdd_parb(ifp,:) = 1._r8
116-
bc_out(s)%ftid_parb(ifp,:) = 1._r8
117-
bc_out(s)%ftii_parb(ifp,:) = 1._r8
116+
bc_out(s)%ftdd_parb(ifp,:) = 0._r8
117+
bc_out(s)%ftid_parb(ifp,:) = 0._r8
118+
bc_out(s)%ftii_parb(ifp,:) = 0._r8
118119

119120
! Zero diagnostics
120121
currentPatch%f_sun (:,:,:) = 0._r8

0 commit comments

Comments
 (0)