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
19aef37d
Commit
19aef37d
authored
10 months ago
by
Marco Matthies
Browse files
Options
Downloads
Patches
Plain Diff
Changelog entries for switchable crop models
parent
9b03c769
Branches
Branches containing commit
Tags
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
CHANGELOG.md
+31
-1
31 additions, 1 deletion
CHANGELOG.md
with
31 additions
and
1 deletion
CHANGELOG.md
+
31
−
1
View file @
19aef37d
...
...
@@ -23,12 +23,42 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
## [0.5.3] - unreleased
*
Plan: code restructuring to allow multip
le crop models (#70)*
*
*Switchab
le crop models (#70)*
*
### Added
-
Support for switchable crop models (#70), crop models can be set
with the
`cropmodel`
setting in the
`[crop]`
section of
`parameters.toml`
.
-
New submodules
`ALMaSS`
for the ALMaSS crop model, and
`SimpleCrop`
for testing switchable crop models.
### Changed
-
All functionality specific to the ALMaSS crop model has been moved
to the submodule
`ALMaSS`
.
-
Due to switchable crop models, some types are now parametric:
`AgricultureModel{Tcroptype,Tcropstate}`
and
`FarmPlot{Tcropstate}`
.
-
`FarmPlot{Tcropstate}`
now only stores basic information about which
pixels are part of the farm plot, all crop-specific information is
now stored in the field
`cropstate`
. Many functions acting on a
`FarmPlot`
now mostly forward to functions of the same name acting
on the
`cropstate`
field of a
`FarmPlot`
.
-
The type of
`height`
in
`ALMaSS.CropState`
and
`ALMaSS.CropCurveParams`
is now a unitful number
`::Length{Float64}`
.
-
Both crop models
`ALMaSS`
and
`SimpleCrop`
now also support the
functions
`cropcover`
and
`cropyield`
in addition to
`croptype`
,
`cropname`
,
`cropheight`
.
-
`cropheight`
now returns a unitful number
`::Length{Float64}`
, and
returns height
`0cm`
if the landscape at that position is not a
`FarmPlot`
.
### Deprecated
### Removed
...
...
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