From d8f47ad59b1ed7796a112c74839b4f5431191e55 Mon Sep 17 00:00:00 2001 From: Marco Matthies <71844+marcom@users.noreply.github.com> Date: Thu, 7 Nov 2024 02:56:14 +0100 Subject: [PATCH] Add comment --- src/crop/almass.jl | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/crop/almass.jl b/src/crop/almass.jl index 90e2c58..85e69dc 100644 --- a/src/crop/almass.jl +++ b/src/crop/almass.jl @@ -615,13 +615,15 @@ function growthcurve(cs::CropState) if fertiliser in cs.events curve = cs.croptype.highnutrientgrowth if ismissing(curve) - @warn "fertiliser used, but highnutrient growth curve is missing. Using lownutrient growth curve." + @warn "fertiliser used, but highnutrientgrowth curve is missing. Using lownutrientgrowth curve." curve = cs.croptype.lownutrientgrowth end else curve = cs.croptype.lownutrientgrowth if ismissing(curve) - # @warn "fertiliser not used, but lownutrient growth curve is missing. Using highnutrient growth curve." + # Note: This warning is commented out, as this is quite + # common for e.g. "permanent grassland" + # @warn "fertiliser not used, but lownutrientgrowth curve is missing. Using highnutrientgrowth curve." curve = cs.croptype.highnutrientgrowth end end -- GitLab