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 b3d7aa8Copy full SHA for b3d7aa8
src/standalone/Vegetation/Canopy.jl
@@ -456,8 +456,11 @@ 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 = banded_sw_d(
461
+ p.drivers.SW_d,
462
+ (RT.parameters.spectral_discretization.I,),
463
+ )
464
K = p.canopy.radiative_transfer.K
465
@. K = extinction_coeff(p.canopy.radiative_transfer.G, θs)
466
DOY =
0 commit comments