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 b409e1a commit ed31e1d
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
6 changes: 3 additions & 3 deletions src/diagnostics/define_diagnostics.jl
Original file line number Diff line number Diff line change
Expand Up @@ -397,7 +397,7 @@ function define_diagnostics!(land_model)
units = "mol photons m^-2 s^-1",
comments = "The amount of near infrared radiation reaching the canopy.",
compute! = (out, Y, p, t) ->
compute_near_infrared_radiation!(out, Y, p, t, land_model),
compute_near_infrared_radiation_down!(out, Y, p, t, land_model),
)

# ANIR - absorbed near infrared radiation
Expand Down Expand Up @@ -453,7 +453,7 @@ function define_diagnostics!(land_model)
units = "mol photons m^-2 s^-1",
comments = "The subset of total radiation that activates photosynthesis reaching the canopy.",
compute! = (out, Y, p, t) ->
compute_photosynthetically_active_radiation!(
compute_photosynthetically_active_radiation_down!(
out,
Y,
p,
Expand Down Expand Up @@ -820,7 +820,7 @@ function define_diagnostics!(land_model)
short_name = "sie",
long_name = "Soil Internal Energy",
standard_name = "soil_internal_energy",
units = "", # need units
units = "W m^-2",
comments = "The energy per volume of soil.",
compute! = (out, Y, p, t) ->
compute_soil_internal_energy!(out, Y, p, t, land_model),
Expand Down
4 changes: 2 additions & 2 deletions src/diagnostics/land_compute_methods.jl
Original file line number Diff line number Diff line change
Expand Up @@ -92,11 +92,11 @@ end
@land_compute "vcmax25" SoilCanopyModel p.canopy.photosynthesis.Vcmax25

# Canopy - Radiative Transfer
@land_compute "near_infrared_radiation" SoilCanopyModel p.canopy.radiative_transfer.inc_nir
@land_compute "near_infrared_radiation_down" SoilCanopyModel p.canopy.radiative_transfer.inc_nir
@land_compute "near_infrared_radiation_absorbed" SoilCanopyModel p.canopy.radiative_transfer.nir.abs
@land_compute "near_infrared_radiation_reflected" SoilCanopyModel p.canopy.radiative_transfer.nir.refl
@land_compute "near_infrared_radiation_transmitted" SoilCanopyModel p.canopy.radiative_transfer.nir.trans
@land_compute "photosynthetically_active_radiation" SoilCanopyModel p.canopy.radiative_transfer.inc_par
@land_compute "photosynthetically_active_radiation_down" SoilCanopyModel p.canopy.radiative_transfer.inc_par
@land_compute "photosynthetically_active_radiation_absorbed" SoilCanopyModel p.canopy.radiative_transfer.par.abs
@land_compute "photosynthetically_active_radiation_reflected" SoilCanopyModel p.canopy.radiative_transfer.par.refl
@land_compute "photosynthetically_active_radiation_transmitted" SoilCanopyModel p.canopy.radiative_transfer.par.trans
Expand Down

0 comments on commit ed31e1d

Please sign in to comment.