Skip to content

Commit 346b021

Browse files
committed
update config yamls
1 parent ec2aef5 commit 346b021

15 files changed

+268
-163
lines changed

inst/extdata/configs_configuration/test_config.yaml

Lines changed: 18 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -3,24 +3,23 @@ input_path: "C:/Users/cjone/Projects/rpops/inst/extdata" # folder with inputs
33
output_path: "C:/Users/cjone/Projects/rpops/inst/extdata/simple20x20/outputs" # folder to write outputs to
44

55
# pest parameters
6-
starting_infected_files: ["extdata/simple20x20/infected_single.tif"] # GeoTiff File with the locations of initial infections to start the simulation
7-
parameter_means_file: "extdata/parameter_means_default.csv" # CSV File with the parameter means from the calibration
8-
parameter_cov_matrix_file: "extdata/parameter_cov_matrix_default.csv" # CSV File with the parameter covariance matrix from the calibration
9-
pest_host_table: "extdata/pest_host_table_singlehost.csv" # CSV file with the pest host table
10-
competency_table: "extdata/competency_table_singlehost.csv" # CSV file with the compentency table
6+
starting_infected_files: ["simple20x20/infected_single.tif"] # GeoTiff File with the locations of initial infections to start the simulation
7+
parameter_means_file: "parameter_means_default.csv" # CSV File with the parameter means from the calibration
8+
parameter_cov_matrix_file: "parameter_cov_matrix_default.csv" # CSV File with the parameter covariance matrix from the calibration
9+
pest_host_table_file: "pest_host_table_singlehost.csv" # CSV file with the pest host table
10+
competency_table_file: "competency_table_singlehost.csv" # CSV file with the compentency table
1111
county_level_infection_data: false # is your infection data county level only
1212
use_initial_condition_uncertainty: false # Are you providing a mean and standard deviation for your starting infection files. This allows for propogating uncertainty through the model.
1313
start_exposed: false # Should you start with your known infections as exposed. Useful for simulating inoculation experiments.
1414
latency_period: 0 # what is the lantent period of your pathogen?
1515
exposed_files: [""] # A list of GeoTiff files with location of exposed infections at start of simulation.
1616

1717
# host data
18-
host_files: ["extdata/simple20x20/host.tif"]
19-
total_populations_file: "extdata/simple20x20/all_plants.tif"
18+
host_files: ["simple20x20/host.tif"]
19+
total_populations_file: "simple20x20/all_plants.tif"
2020
use_host_uncertainty: false
2121

2222
# simulation settings
23-
random_seed: null # no need to set this primarily used for tests to ensure identical random draws.
2423
start_date: "2024-01-01"
2524
end_date: "2024-12-31"
2625
time_step: "week"
@@ -31,7 +30,6 @@ number_of_iterations: 10
3130
number_of_cores: 2
3231
output_frequency: "year"
3332
output_frequency_n: 1
34-
mask: null
3533

3634
# weather
3735
use_lethal_temperature: false
@@ -102,14 +100,18 @@ soil_starting_pest_file: ""
102100
start_with_soil_populations: false
103101
dispersers_to_soils_percentage: 0
104102

103+
# Mask out areas for comparison (e.g. water, or other landcover types)
104+
use_mask: FALSE
105+
mask_file: ""
106+
105107
# validation and calibration
106108
infected_val_cal_file: "" # GeoTiff file with the infections in which to compare the validation/calibration results with.
107109

108110
# calibration only parameters
109111
perform_calibration: false
110112
params_to_estimate: [true, true, true, true, false, false] # Position 1 = reproductive rate, 2 =
111-
prior_means: [0, 0, 0, 0, 0, 0]
112-
prior_cov_matrix: [[0, 0, 0, 0, 0, 0], [0, 0, 0, 0, 0, 0], [0, 0, 0, 0, 0, 0], [0, 0, 0, 0, 0, 0], [0, 0, 0, 0, 0, 0], [0, 0, 0, 0, 0, 0]]
113+
prior_means_file: ""
114+
prior_cov_matrix_file: ""
113115
prior_number_of_observations: 0 # observations that have been conducted at the start of the simulation
114116
number_of_observations: 0 # observations that were conducted during the simulation for validation/calibration (these are samples taken to confirm presence/absence and/or abundance)
115117
success_metric: "MCC"
@@ -125,7 +127,12 @@ number_of_generations: 7
125127
perform_validation: false
126128
point_file: "" # only if you want to validate to specific point data ()
127129
use_configuration: false # Use if you want to calculate configuration disagreement. This takes longer to compute simulation statistics and success metrics).
130+
use_distance: false
128131

129132
# Model API only never used unless you are pulling data from an S3 bucket in the cloud
130133
use_s3: false
131134
bucket: ""
135+
136+
# testing only ignore for normal use
137+
random_seed: null
138+
testing: FALSE

inst/extdata/configs_configuration/test_config_anthropogenic_kernel_error.yml

Lines changed: 16 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -3,24 +3,23 @@ input_path: "C:/Users/cjone/Projects/rpops/inst/extdata" # folder with inputs
33
output_path: "C:/Users/cjone/Projects/rpops/inst/extdata/simple20x20/outputs" # folder to write outputs to
44

55
# pest parameters
6-
starting_infected_files: ["extdata/simple20x20/infected_single.tif"] # GeoTiff File with the locations of initial infections to start the simulation
7-
parameter_means_file: "extdata/parameter_means_default.csv" # CSV File with the parameter means from the calibration
8-
parameter_cov_matrix_file: "extdata/parameter_cov_matrix_default.csv" # CSV File with the parameter covariance matrix from the calibration
9-
pest_host_table: "extdata/pest_host_table_singlehost.csv" # CSV file with the pest host table
10-
competency_table: "extdata/competency_table_singlehost.csv" # CSV file with the compentency table
6+
starting_infected_files: ["simple20x20/infected_single.tif"] # GeoTiff File with the locations of initial infections to start the simulation
7+
parameter_means_file: "parameter_means_default.csv" # CSV File with the parameter means from the calibration
8+
parameter_cov_matrix_file: "parameter_cov_matrix_default.csv" # CSV File with the parameter covariance matrix from the calibration
9+
pest_host_table_file: "pest_host_table_singlehost.csv" # CSV file with the pest host table
10+
competency_table_file: "competency_table_singlehost.csv" # CSV file with the compentency table
1111
county_level_infection_data: false # is your infection data county level only
1212
use_initial_condition_uncertainty: false # Are you providing a mean and standard deviation for your starting infection files. This allows for propogating uncertainty through the model.
1313
start_exposed: false # Should you start with your known infections as exposed. Useful for simulating inoculation experiments.
1414
latency_period: 0 # what is the lantent period of your pathogen?
1515
exposed_files: [""] # A list of GeoTiff files with location of exposed infections at start of simulation.
1616

1717
# host data
18-
host_files: ["extdata/simple20x20/host.tif"]
19-
total_populations_file: "extdata/simple20x20/all_plants.tif"
18+
host_files: ["simple20x20/host.tif"]
19+
total_populations_file: "simple20x20/all_plants.tif"
2020
use_host_uncertainty: false
2121

2222
# simulation settings
23-
random_seed: null # no need to set this primarily used for tests to ensure identical random draws.
2423
start_date: "2024-01-01"
2524
end_date: "2024-12-31"
2625
time_step: "week"
@@ -31,7 +30,6 @@ number_of_iterations: 10
3130
number_of_cores: 2
3231
output_frequency: "year"
3332
output_frequency_n: 1
34-
mask: null
3533

3634
# weather
3735
use_lethal_temperature: false
@@ -102,6 +100,10 @@ soil_starting_pest_file: ""
102100
start_with_soil_populations: false
103101
dispersers_to_soils_percentage: 0
104102

103+
# Mask out areas for comparison (e.g. water, or other landcover types)
104+
use_mask: FALSE
105+
mask_file: ""
106+
105107
# validation and calibration
106108
infected_val_cal_file: "" # GeoTiff file with the infections in which to compare the validation/calibration results with.
107109

@@ -125,7 +127,12 @@ number_of_generations: 7
125127
perform_validation: false
126128
point_file: "" # only if you want to validate to specific point data ()
127129
use_configuration: false # Use if you want to calculate configuration disagreement. This takes longer to compute simulation statistics and success metrics).
130+
use_distance: false
128131

129132
# Model API only never used unless you are pulling data from an S3 bucket in the cloud
130133
use_s3: false
131134
bucket: ""
135+
136+
# testing only ignore for normal use
137+
random_seed: null
138+
testing: FALSE

inst/extdata/configs_configuration/test_config_host_uncert_error.yml

Lines changed: 18 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -3,24 +3,23 @@ input_path: "C:/Users/cjone/Projects/rpops/inst/extdata" # folder with inputs
33
output_path: "C:/Users/cjone/Projects/rpops/inst/extdata/simple20x20/outputs" # folder to write outputs to
44

55
# pest parameters
6-
starting_infected_files: ["extdata/simple20x20/infected_single.tif"] # GeoTiff File with the locations of initial infections to start the simulation
7-
parameter_means_file: "extdata/parameter_means_default.csv" # CSV File with the parameter means from the calibration
8-
parameter_cov_matrix_file: "extdata/parameter_cov_matrix_default.csv" # CSV File with the parameter covariance matrix from the calibration
9-
pest_host_table: "extdata/pest_host_table_singlehost.csv" # CSV file with the pest host table
10-
competency_table: "extdata/competency_table_singlehost.csv" # CSV file with the compentency table
6+
starting_infected_files: ["simple20x20/infected_single.tif"] # GeoTiff File with the locations of initial infections to start the simulation
7+
parameter_means_file: "parameter_means_default.csv" # CSV File with the parameter means from the calibration
8+
parameter_cov_matrix_file: "parameter_cov_matrix_default.csv" # CSV File with the parameter covariance matrix from the calibration
9+
pest_host_table_file: "pest_host_table_singlehost.csv" # CSV file with the pest host table
10+
competency_table_file: "competency_table_singlehost.csv" # CSV file with the compentency table
1111
county_level_infection_data: false # is your infection data county level only
1212
use_initial_condition_uncertainty: false # Are you providing a mean and standard deviation for your starting infection files. This allows for propogating uncertainty through the model.
1313
start_exposed: false # Should you start with your known infections as exposed. Useful for simulating inoculation experiments.
1414
latency_period: 0 # what is the lantent period of your pathogen?
1515
exposed_files: [""] # A list of GeoTiff files with location of exposed infections at start of simulation.
1616

1717
# host data
18-
host_files: ["extdata/simple20x20/host.tif"]
19-
total_populations_file: "extdata/simple20x20/all_plants.tif"
18+
host_files: ["simple20x20/host.tif"]
19+
total_populations_file: "simple20x20/all_plants.tif"
2020
use_host_uncertainty: true
2121

2222
# simulation settings
23-
random_seed: null # no need to set this primarily used for tests to ensure identical random draws.
2423
start_date: "2024-01-01"
2524
end_date: "2024-12-31"
2625
time_step: "week"
@@ -31,7 +30,6 @@ number_of_iterations: 10
3130
number_of_cores: 2
3231
output_frequency: "year"
3332
output_frequency_n: 1
34-
mask: null
3533

3634
# weather
3735
use_lethal_temperature: false
@@ -102,14 +100,18 @@ soil_starting_pest_file: ""
102100
start_with_soil_populations: false
103101
dispersers_to_soils_percentage: 0
104102

103+
# Mask out areas for comparison (e.g. water, or other landcover types)
104+
use_mask: FALSE
105+
mask_file: ""
106+
105107
# validation and calibration
106108
infected_val_cal_file: "" # GeoTiff file with the infections in which to compare the validation/calibration results with.
107109

108110
# calibration only parameters
109111
perform_calibration: false
110112
params_to_estimate: [true, true, true, true, false, false] # Position 1 = reproductive rate, 2 =
111-
prior_means: [0, 0, 0, 0, 0, 0]
112-
prior_cov_matrix: [[0, 0, 0, 0, 0, 0], [0, 0, 0, 0, 0, 0], [0, 0, 0, 0, 0, 0], [0, 0, 0, 0, 0, 0], [0, 0, 0, 0, 0, 0], [0, 0, 0, 0, 0, 0]]
113+
prior_means_file: ""
114+
prior_cov_matrix_file: ""
113115
prior_number_of_observations: 0 # observations that have been conducted at the start of the simulation
114116
number_of_observations: 0 # observations that were conducted during the simulation for validation/calibration (these are samples taken to confirm presence/absence and/or abundance)
115117
success_metric: "MCC"
@@ -125,7 +127,12 @@ number_of_generations: 7
125127
perform_validation: false
126128
point_file: "" # only if you want to validate to specific point data ()
127129
use_configuration: false # Use if you want to calculate configuration disagreement. This takes longer to compute simulation statistics and success metrics).
130+
use_distance: false
128131

129132
# Model API only never used unless you are pulling data from an S3 bucket in the cloud
130133
use_s3: false
131134
bucket: ""
135+
136+
# testing only ignore for normal use
137+
random_seed: null
138+
testing: FALSE

inst/extdata/configs_configuration/test_config_initial_cond_uncert_error.yml

Lines changed: 18 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -3,24 +3,23 @@ input_path: "C:/Users/cjone/Projects/rpops/inst/extdata" # folder with inputs
33
output_path: "C:/Users/cjone/Projects/rpops/inst/extdata/simple20x20/outputs" # folder to write outputs to
44

55
# pest parameters
6-
starting_infected_files: ["extdata/simple20x20/infected_single.tif"] # GeoTiff File with the locations of initial infections to start the simulation
7-
parameter_means_file: "extdata/parameter_means_default.csv" # CSV File with the parameter means from the calibration
8-
parameter_cov_matrix_file: "extdata/parameter_cov_matrix_default.csv" # CSV File with the parameter covariance matrix from the calibration
9-
pest_host_table: "extdata/pest_host_table_singlehost.csv" # CSV file with the pest host table
10-
competency_table: "extdata/competency_table_singlehost.csv" # CSV file with the compentency table
6+
starting_infected_files: ["simple20x20/infected_single.tif"] # GeoTiff File with the locations of initial infections to start the simulation
7+
parameter_means_file: "parameter_means_default.csv" # CSV File with the parameter means from the calibration
8+
parameter_cov_matrix_file: "parameter_cov_matrix_default.csv" # CSV File with the parameter covariance matrix from the calibration
9+
pest_host_table_file: "pest_host_table_singlehost.csv" # CSV file with the pest host table
10+
competency_table_file: "competency_table_singlehost.csv" # CSV file with the compentency table
1111
county_level_infection_data: false # is your infection data county level only
1212
use_initial_condition_uncertainty: true # Are you providing a mean and standard deviation for your starting infection files. This allows for propogating uncertainty through the model.
1313
start_exposed: false # Should you start with your known infections as exposed. Useful for simulating inoculation experiments.
1414
latency_period: 0 # what is the lantent period of your pathogen?
1515
exposed_files: [""] # A list of GeoTiff files with location of exposed infections at start of simulation.
1616

1717
# host data
18-
host_files: ["extdata/simple20x20/host.tif"]
19-
total_populations_file: "extdata/simple20x20/all_plants.tif"
18+
host_files: ["simple20x20/host.tif"]
19+
total_populations_file: "simple20x20/all_plants.tif"
2020
use_host_uncertainty: false
2121

2222
# simulation settings
23-
random_seed: null # no need to set this primarily used for tests to ensure identical random draws.
2423
start_date: "2024-01-01"
2524
end_date: "2024-12-31"
2625
time_step: "week"
@@ -31,7 +30,6 @@ number_of_iterations: 10
3130
number_of_cores: 2
3231
output_frequency: "year"
3332
output_frequency_n: 1
34-
mask: null
3533

3634
# weather
3735
use_lethal_temperature: false
@@ -102,14 +100,18 @@ soil_starting_pest_file: ""
102100
start_with_soil_populations: false
103101
dispersers_to_soils_percentage: 0
104102

103+
# Mask out areas for comparison (e.g. water, or other landcover types)
104+
use_mask: FALSE
105+
mask_file: ""
106+
105107
# validation and calibration
106108
infected_val_cal_file: "" # GeoTiff file with the infections in which to compare the validation/calibration results with.
107109

108110
# calibration only parameters
109111
perform_calibration: false
110112
params_to_estimate: [true, true, true, true, false, false] # Position 1 = reproductive rate, 2 =
111-
prior_means: [0, 0, 0, 0, 0, 0]
112-
prior_cov_matrix: [[0, 0, 0, 0, 0, 0], [0, 0, 0, 0, 0, 0], [0, 0, 0, 0, 0, 0], [0, 0, 0, 0, 0, 0], [0, 0, 0, 0, 0, 0], [0, 0, 0, 0, 0, 0]]
113+
prior_means_file: ""
114+
prior_cov_matrix_file: ""
113115
prior_number_of_observations: 0 # observations that have been conducted at the start of the simulation
114116
number_of_observations: 0 # observations that were conducted during the simulation for validation/calibration (these are samples taken to confirm presence/absence and/or abundance)
115117
success_metric: "MCC"
@@ -125,7 +127,12 @@ number_of_generations: 7
125127
perform_validation: false
126128
point_file: "" # only if you want to validate to specific point data ()
127129
use_configuration: false # Use if you want to calculate configuration disagreement. This takes longer to compute simulation statistics and success metrics).
130+
use_distance: false
128131

129132
# Model API only never used unless you are pulling data from an S3 bucket in the cloud
130133
use_s3: false
131134
bucket: ""
135+
136+
# testing only ignore for normal use
137+
random_seed: null
138+
testing: FALSE

inst/extdata/configs_configuration/test_config_latency_period_error.yml

Lines changed: 18 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -3,24 +3,23 @@ input_path: "C:/Users/cjone/Projects/rpops/inst/extdata" # folder with inputs
33
output_path: "C:/Users/cjone/Projects/rpops/inst/extdata/simple20x20/outputs" # folder to write outputs to
44

55
# pest parameters
6-
starting_infected_files: ["extdata/simple20x20/infected_single.tif"] # GeoTiff File with the locations of initial infections to start the simulation
7-
parameter_means_file: "extdata/parameter_means_default.csv" # CSV File with the parameter means from the calibration
8-
parameter_cov_matrix_file: "extdata/parameter_cov_matrix_default.csv" # CSV File with the parameter covariance matrix from the calibration
9-
pest_host_table: "extdata/pest_host_table_singlehost.csv" # CSV file with the pest host table
10-
competency_table: "extdata/competency_table_singlehost.csv" # CSV file with the compentency table
6+
starting_infected_files: ["simple20x20/infected_single.tif"] # GeoTiff File with the locations of initial infections to start the simulation
7+
parameter_means_file: "parameter_means_default.csv" # CSV File with the parameter means from the calibration
8+
parameter_cov_matrix_file: "parameter_cov_matrix_default.csv" # CSV File with the parameter covariance matrix from the calibration
9+
pest_host_table_file: "pest_host_table_singlehost.csv" # CSV file with the pest host table
10+
competency_table_file: "competency_table_singlehost.csv" # CSV file with the compentency table
1111
county_level_infection_data: false # is your infection data county level only
1212
use_initial_condition_uncertainty: false # Are you providing a mean and standard deviation for your starting infection files. This allows for propogating uncertainty through the model.
1313
start_exposed: false # Should you start with your known infections as exposed. Useful for simulating inoculation experiments.
1414
latency_period: 0 # what is the lantent period of your pathogen?
1515
exposed_files: [""] # A list of GeoTiff files with location of exposed infections at start of simulation.
1616

1717
# host data
18-
host_files: ["extdata/simple20x20/host.tif"]
19-
total_populations_file: "extdata/simple20x20/all_plants.tif"
18+
host_files: ["simple20x20/host.tif"]
19+
total_populations_file: "simple20x20/all_plants.tif"
2020
use_host_uncertainty: false
2121

2222
# simulation settings
23-
random_seed: null # no need to set this primarily used for tests to ensure identical random draws.
2423
start_date: "2024-01-01"
2524
end_date: "2024-12-31"
2625
time_step: "week"
@@ -31,7 +30,6 @@ number_of_iterations: 10
3130
number_of_cores: 2
3231
output_frequency: "year"
3332
output_frequency_n: 1
34-
mask: null
3533

3634
# weather
3735
use_lethal_temperature: false
@@ -102,14 +100,18 @@ soil_starting_pest_file: ""
102100
start_with_soil_populations: false
103101
dispersers_to_soils_percentage: 0
104102

103+
# Mask out areas for comparison (e.g. water, or other landcover types)
104+
use_mask: FALSE
105+
mask_file: ""
106+
105107
# validation and calibration
106108
infected_val_cal_file: "" # GeoTiff file with the infections in which to compare the validation/calibration results with.
107109

108110
# calibration only parameters
109111
perform_calibration: false
110112
params_to_estimate: [true, true, true, true, false, false] # Position 1 = reproductive rate, 2 =
111-
prior_means: [0, 0, 0, 0, 0, 0]
112-
prior_cov_matrix: [[0, 0, 0, 0, 0, 0], [0, 0, 0, 0, 0, 0], [0, 0, 0, 0, 0, 0], [0, 0, 0, 0, 0, 0], [0, 0, 0, 0, 0, 0], [0, 0, 0, 0, 0, 0]]
113+
prior_means_file: ""
114+
prior_cov_matrix_file: ""
113115
prior_number_of_observations: 0 # observations that have been conducted at the start of the simulation
114116
number_of_observations: 0 # observations that were conducted during the simulation for validation/calibration (these are samples taken to confirm presence/absence and/or abundance)
115117
success_metric: "MCC"
@@ -125,7 +127,12 @@ number_of_generations: 7
125127
perform_validation: false
126128
point_file: "" # only if you want to validate to specific point data ()
127129
use_configuration: false # Use if you want to calculate configuration disagreement. This takes longer to compute simulation statistics and success metrics).
130+
use_distance: false
128131

129132
# Model API only never used unless you are pulling data from an S3 bucket in the cloud
130133
use_s3: false
131134
bucket: ""
135+
136+
# testing only ignore for normal use
137+
random_seed: null
138+
testing: FALSE

0 commit comments

Comments
 (0)