Skip to content
Snippets Groups Projects
Commit d8f47ad5 authored by Marco Matthies's avatar Marco Matthies
Browse files

Add comment

parent 8a7f1683
No related branches found
No related tags found
No related merge requests found
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment