We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bd470d1 commit 9c371e2Copy full SHA for 9c371e2
src/standalone/Vegetation/Canopy.jl
@@ -456,8 +456,9 @@ function ClimaLand.make_update_aux(
456
(1 - exp(-(LAI + SAI))) #from CLM 5.0, Tech note 4.20
457
p.canopy.radiative_transfer.G .= compute_G(G_Function, θs)
458
RT = canopy.radiative_transfer
459
- banded_sw_d = (sw_d) -> sw_d .* RT.parameters.spectral_discretization.I
460
- @. SW_d = banded_sw_d(p.drivers.SW_d)
+ banded_sw_d = (sw_d, intensities) -> sw_d .* intensities
+ @. SW_d =
461
+ banded_sw_d(p.drivers.SW_d, RT.parameters.spectral_discretization.I)
462
K = p.canopy.radiative_transfer.K
463
@. K = extinction_coeff(p.canopy.radiative_transfer.G, θs)
464
DOY =
0 commit comments