Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
Persefone.jl
Manage
Activity
Members
Plan
Wiki
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Deploy
Package Registry
Model registry
Operate
Terraform modules
Analyze
Contributor analytics
Repository analytics
Insights
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Persefone
Persefone.jl
Commits
d8f47ad5
Commit
d8f47ad5
authored
5 months ago
by
Marco Matthies
Browse files
Options
Downloads
Patches
Plain Diff
Add comment
parent
8a7f1683
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/crop/almass.jl
+4
-2
4 additions, 2 deletions
src/crop/almass.jl
with
4 additions
and
2 deletions
src/crop/almass.jl
+
4
−
2
View file @
d8f47ad5
...
...
@@ -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
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment