Skip to content

Commit

Permalink
WIP
Browse files Browse the repository at this point in the history
  • Loading branch information
AlexisRenchon committed Aug 9, 2024
1 parent cc6dddf commit 385def9
Showing 1 changed file with 3 additions and 6 deletions.
9 changes: 3 additions & 6 deletions src/standalone/Vegetation/solar_induced_fluorescence.jl
Original file line number Diff line number Diff line change
Expand Up @@ -76,14 +76,15 @@ function update_SIF!(
T_freeze,
photosynthesis_parameters,
)
(; ΔHJmax, To, θj, ϕ) = photosynthesis_parameters
sif_parameters = sif_model.parameters
@. SIF = compute_SIF_at_a_point(
APAR,
Tc,
Vcmax25,
R,
T_freeze,
photosynthesis_parameters,
ΔHJmax, To, θj, ϕ,
sif_parameters,
)
end
Expand All @@ -95,13 +96,9 @@ function compute_SIF_at_a_point(
Vcmax25::FT,
R::FT,
T_freeze::FT,
photosynthesis_parameters::Union{
FarquharParameters{FT},
OptimalityFarquharParameters{FT},
},
ΔHJmax::FT, To::FT, θj::FT, ϕ::FT,
sif_parameters::SIFParameters{FT},
) where {FT}
(; ΔHJmax, To, θj, ϕ) = photosynthesis_parameters
Jmax = max_electron_transport(Vcmax25, ΔHJmax, Tc, To, R)
J = electron_transport(APAR, Jmax, θj, ϕ)
(; kf, kd_p1, kd_p2, min_kd, kn_p1, kn_p2, kp, kappa_p1, kappa_p2) =
Expand Down

0 comments on commit 385def9

Please sign in to comment.