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

Fix units for ALMaSS height

parent 9197dc16
Branches
Tags
No related merge requests found
......@@ -11,7 +11,7 @@ using Persefone:
Management,
FarmPlot,
Length,
m,
cm,
SimulationModel,
fertiliser,
maxtemp,
......@@ -133,7 +133,7 @@ function buildgrowthcurve(data::Vector{CSV.Row})
append!(GDD[e.growth_phase], e.GDD)
append!(LAItotal[e.growth_phase], e.LAI_total)
append!(LAIgreen[e.growth_phase], e.LAI_green)
append!(height[e.growth_phase], e.height * m) # TODO: assumes original data is in units of `m`
append!(height[e.growth_phase], e.height * cm) # assumes `height` is in units of `cm`
end
CropCurveParams(data[1].curve_id, data[1].nutrient_status=="high",
GDD, LAItotal, LAIgreen, height)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment