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

ALMaSS: use crop group as defined in crop data csv file

parent e36dd056
Branches
Tags
No related merge requests found
...@@ -379,10 +379,7 @@ function readcropparameters(cropdirectory::String) ...@@ -379,10 +379,7 @@ function readcropparameters(cropdirectory::String)
filter(x -> x.nutrient_status=="high")) filter(x -> x.nutrient_status=="high"))
lownuts = buildgrowthcurve(cropgrowthdata |> lownuts = buildgrowthcurve(cropgrowthdata |>
filter(x -> x.nutrient_status=="low")) filter(x -> x.nutrient_status=="low"))
# TODO: set crop group temporarily until there is a column in croptypes[crop.name] = CropType(crop.name, crop.group, crop.is_c4_plant, crop.minsowdate,
# the csv file
crop_group = "CROP_GROUP_NOT_SET"
croptypes[crop.name] = CropType(crop.name, crop_group, crop.is_c4_plant, crop.minsowdate,
crop.maxsowdate, crop.minharvestdate, crop.maxharvestdate, crop.maxsowdate, crop.minharvestdate, crop.maxharvestdate,
crop.mingrowthtemp, highnuts, lownuts, crop.biomass_scale) crop.mingrowthtemp, highnuts, lownuts, crop.biomass_scale)
end end
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment