diff --git a/src/crop/almass.jl b/src/crop/almass.jl index fde9c9695e38a2829512cf2ab5032c4d264b0794..a306348d49c290f660ec4d2a977549ef6db25b16 100644 --- a/src/crop/almass.jl +++ b/src/crop/almass.jl @@ -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)