diff --git a/src/crop/crops.jl b/src/crop/crops.jl index ccae89b5abe3497475fbf1dbb4d7f1fa58ab496b..fd1bef711e2d949804a9c1c6e1258716d98e39fe 100644 --- a/src/crop/crops.jl +++ b/src/crop/crops.jl @@ -5,9 +5,11 @@ #XXX not sure whether it makes sense to have this as an agent type, # or perhaps better a grid property? - """ -This is a docstring + FarmPlot + +This represents one field, i.e. a collection of pixels with the same management. +This is the spatial unit with which the crop growth model and the farm model work. """ @agent FarmPlot NoSpaceAgent begin pixels::Vector{Tuple{Int64, Int64}} diff --git a/test/fields_jena.tif b/test/fields_jena.tif new file mode 100644 index 0000000000000000000000000000000000000000..1d5e88a54c96f855db61aa135e1f6c62dd486f26 Binary files /dev/null and b/test/fields_jena.tif differ diff --git a/test/landcover_jena.tif b/test/landcover_jena.tif new file mode 100644 index 0000000000000000000000000000000000000000..839afe968b6e110aab2f8ea9dd44274c01ace912 Binary files /dev/null and b/test/landcover_jena.tif differ diff --git a/test/test_parameters.toml b/test/test_parameters.toml new file mode 100644 index 0000000000000000000000000000000000000000..f03b079b06ba7f6a9189ea0641b522af9c5f2262 --- /dev/null +++ b/test/test_parameters.toml @@ -0,0 +1,27 @@ +### Persephone - a socio-economic-ecological model of European agricultural landscapes. +### +### This configuration file is used for the test suite. +### + +[core] +configfile = "test_parameters.toml" # location of the configuration file +landcovermap = "landcover_jena.tif" # location of the landcover map +farmfieldsmap = "fields_jena.tif" # location of the field geometry map +outdir = "results_testsuite" # location and name of the output folder +loglevel = "debug" # verbosity level: "debug", "info", "quiet" +seed = 1 # seed value for the RNG (0 -> random value) +# dates to start and end the simulation +startdate = 2020-01-01 +enddate = 2020-01-02 + +[farm] +farmmodel = "FieldManager" # which version of the farm model to use (not yet implemented) + +[nature] +targetspecies = ["Wolpertinger", "Wyvern"] # list of target species to simulate +popoutfreq = "daily" # output frequency population-level data, daily/monthly/yearly/end/never +indoutfreq = "end" # output frequency individual-level data, daily/monthly/yearly/end/never + +[crop] +cropmodel = "linear" # crop growth model to use, "linear" or "aquacrop" (not yet implemented) +