Skip to content

Commit

Permalink
test pass locally
Browse files Browse the repository at this point in the history
  • Loading branch information
kmdeck committed Jun 20, 2024
1 parent 83e218d commit e54792a
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
8 changes: 4 additions & 4 deletions test/standalone/Vegetation/canopy_model.jl
Original file line number Diff line number Diff line change
Expand Up @@ -249,8 +249,8 @@ for FT in (Float32, Float64)
N_a = FT(LP.avogadro_constant(earth_param_set))
= FT(LP.Stefan(earth_param_set))
(; α_PAR_leaf, λ_γ_PAR, λ_γ_NIR) = canopy.radiative_transfer.parameters
APAR = p.canopy.radiative_transfer.apar
ANIR = p.canopy.radiative_transfer.anir
APAR = p.canopy.radiative_transfer.par.abs
ANIR = p.canopy.radiative_transfer.nir.abs
energy_per_photon_PAR = h * c / λ_γ_PAR
energy_per_photon_NIR = h * c / λ_γ_NIR

Expand Down Expand Up @@ -973,8 +973,8 @@ for FT in (Float32, Float64)
@test all(parent(p.canopy.conductance.transpiration) .== FT(0))
@test all(parent(p.canopy.radiative_transfer.LW_n) .== FT(0))
@test all(parent(p.canopy.radiative_transfer.SW_n) .== FT(0))
@test all(parent(p.canopy.radiative_transfer.apar) .== FT(0))
@test all(parent(p.canopy.radiative_transfer.anir) .== FT(0))
@test all(parent(p.canopy.radiative_transfer.par.abs) .== FT(0))
@test all(parent(p.canopy.radiative_transfer.nir.abs) .== FT(0))
@test all(parent(p.canopy.autotrophic_respiration.Ra) .== FT(0))
end

Expand Down
2 changes: 1 addition & 1 deletion test/standalone/Vegetation/plant_hydraulics_test.jl
Original file line number Diff line number Diff line change
Expand Up @@ -576,7 +576,7 @@ for FT in (Float32, Float64)
@test all(parent(p.canopy.hydraulics.fa) .≈ FT(0.0))
@test all(parent(p.canopy.hydraulics.fa_roots) .≈ FT(0.0))
@test all(parent(p.canopy.conductance.transpiration) .≈ FT(0.0))
@test all(parent(p.canopy.radiative_transfer.apar) .≈ FT(0.0))
@test all(parent(p.canopy.radiative_transfer.par.abs) .≈ FT(0.0))
exp_tend! = make_exp_tendency(model)
exp_tend!(dY, Y, p, FT(0))
@test all(parent(dY.canopy.hydraulics.ϑ_l.:1) .≈ FT(0.0))
Expand Down

0 comments on commit e54792a

Please sign in to comment.