diff --git a/src/crop/almass.jl b/src/crop/almass.jl index 6a4949778d4e9f9b4c897c3b2e61832fdf3173fe..38e424d5469fd8ae423071a321314eddb7f4e05e 100644 --- a/src/crop/almass.jl +++ b/src/crop/almass.jl @@ -379,10 +379,7 @@ function readcropparameters(cropdirectory::String) filter(x -> x.nutrient_status=="high")) lownuts = buildgrowthcurve(cropgrowthdata |> filter(x -> x.nutrient_status=="low")) - # TODO: set crop group temporarily until there is a column in - # the csv file - crop_group = "CROP_GROUP_NOT_SET" - croptypes[crop.name] = CropType(crop.name, crop_group, crop.is_c4_plant, crop.minsowdate, + croptypes[crop.name] = CropType(crop.name, crop.group, crop.is_c4_plant, crop.minsowdate, crop.maxsowdate, crop.minharvestdate, crop.maxharvestdate, crop.mingrowthtemp, highnuts, lownuts, crop.biomass_scale) end