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 9c978ca commit c3b4fdc
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 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,10 +96,9 @@ function compute_SIF_at_a_point(
Vcmax25::FT,
R::FT,
T_freeze::FT,
photosynthesis_parameters,
ΔHJmax::FT, To::FT, θj::FT, ϕ::FT,
sif_parameters,
) 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 All @@ -115,3 +115,4 @@ function compute_SIF_at_a_point(

return SIF_755
end

0 comments on commit c3b4fdc

Please sign in to comment.