|
| 1 | +# File paths for input and output data |
| 2 | +input_path: "C:/Users/cjone/Projects/rpops/inst/extdata" # folder with inputs |
| 3 | +output_path: "C:/Users/cjone/Projects/rpops/inst/extdata/simple20x20/outputs" # folder to write outputs to |
| 4 | + |
| 5 | +# 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 |
| 11 | +county_level_infection_data: false # is your infection data county level only |
| 12 | +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. |
| 13 | +start_exposed: false # Should you start with your known infections as exposed. Useful for simulating inoculation experiments. |
| 14 | +latency_period: 0 # what is the lantent period of your pathogen? |
| 15 | +exposed_files: [""] # A list of GeoTiff files with location of exposed infections at start of simulation. |
| 16 | + |
| 17 | +# host data |
| 18 | +host_files: ["extdata/simple20x20/host.tif"] |
| 19 | +total_populations_file: "extdata/simple20x20/all_plants.tif" |
| 20 | +use_host_uncertainty: false |
| 21 | + |
| 22 | +# simulation settings |
| 23 | +random_seed: null # no need to set this primarily used for tests to ensure identical random draws. |
| 24 | +start_date: "2024-01-01" |
| 25 | +end_date: "2024-12-31" |
| 26 | +time_step: "week" |
| 27 | +model_type: "SI" |
| 28 | +season_month_start: 1 |
| 29 | +season_month_end: 12 |
| 30 | +number_of_iterations: 10 |
| 31 | +number_of_cores: 2 |
| 32 | +output_frequency: "year" |
| 33 | +output_frequency_n: 1 |
| 34 | +mask: null |
| 35 | + |
| 36 | +# weather |
| 37 | +use_lethal_temperature: false |
| 38 | +lethal_temperature_file: "" |
| 39 | +lethal_temperature: -15 |
| 40 | +lethal_temperature_month: 1 |
| 41 | +use_overwinter_survival: false |
| 42 | +overwinter_survival_rate_month: 3 |
| 43 | +overwinter_survival_rate_day: 15 |
| 44 | +overwinter_survival_rates_file: "" |
| 45 | +use_temperature: false |
| 46 | +temperature_coefficient_file: "" |
| 47 | +temperature_coefficient_sd_file: "" |
| 48 | +use_precipitation: false |
| 49 | +precipitation_coefficient_file: "" |
| 50 | +precipitation_coefficient_sd_file: "" |
| 51 | +weather_type: "deterministic" |
| 52 | + |
| 53 | +# mortality |
| 54 | +mortality_frequency: "year" |
| 55 | +mortality_frequency_n: 1 |
| 56 | + |
| 57 | +# treatments |
| 58 | +use_treatment: false |
| 59 | +treatments_file: "" |
| 60 | +treatment_dates: ["2024-12-24"] |
| 61 | +treatment_method: "ratio" |
| 62 | +pesticide_durations: [0] |
| 63 | +pesticide_efficacy: 1.0 |
| 64 | +use_quarantine: false |
| 65 | +quarantine_areas_file: "" |
| 66 | +quarantine_directions: "" |
| 67 | + |
| 68 | +# dispersal |
| 69 | +natural_kernel_type: "cauchy" |
| 70 | +natural_dir: "NONE" |
| 71 | +anthropogenic_kernel_type: "goodbye" |
| 72 | +anthropogenic_dir: "NONE" |
| 73 | +# only used if anthropogenic_kernel_type == "network" |
| 74 | +network_files: [""] |
| 75 | +network_movement_types: ["walk"] |
| 76 | +network_min_distances: [0] |
| 77 | +network_max_distances: [0] |
| 78 | +network_weights: [1] |
| 79 | + |
| 80 | +# host movement |
| 81 | +use_movements: false # Boolean for moving hosts (used when animals move from farm to farm) |
| 82 | +movements_file: "" |
| 83 | + |
| 84 | +# stochasticity |
| 85 | +use_multiple_random_seeds: false |
| 86 | +multiple_random_seeds_file: null |
| 87 | +generate_stochasticity: true |
| 88 | +establishment_stochasticity: true |
| 89 | +movement_stochasticity: true |
| 90 | +dispersal_stochasticity: true |
| 91 | +establishment_probability: 0.5 |
| 92 | +dispersal_percentage: 0.99 |
| 93 | +use_spreadrates: false |
| 94 | +use_overpopulation_movements: false |
| 95 | +overpopulation_percentage: 0.75 |
| 96 | +leaving_percentage: 0.5 |
| 97 | +leaving_scale_coefficient: 5 |
| 98 | + |
| 99 | +# soil_pests |
| 100 | +use_soils: false |
| 101 | +soil_starting_pest_file: "" |
| 102 | +start_with_soil_populations: false |
| 103 | +dispersers_to_soils_percentage: 0 |
| 104 | + |
| 105 | +# validation and calibration |
| 106 | +infected_val_cal_file: "" # GeoTiff file with the infections in which to compare the validation/calibration results with. |
| 107 | + |
| 108 | +# calibration only parameters |
| 109 | +perform_calibration: false |
| 110 | +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_number_of_observations: 0 # observations that have been conducted at the start of the simulation |
| 114 | +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) |
| 115 | +success_metric: "MCC" |
| 116 | +verbose: true |
| 117 | +natural_kappa: 0 |
| 118 | +anthropogenic_kappa: 0 |
| 119 | +calibration_method: "ABC" # Which method of calibration to use ABC or MCMC. We recommend ABC as it tends to provide more robust and accurate parameter sets. |
| 120 | +# ABC Parameters |
| 121 | +generation_size: 1000 |
| 122 | +number_of_generations: 7 |
| 123 | + |
| 124 | +# validation only |
| 125 | +perform_validation: false |
| 126 | +point_file: "" # only if you want to validate to specific point data () |
| 127 | +use_configuration: false # Use if you want to calculate configuration disagreement. This takes longer to compute simulation statistics and success metrics). |
| 128 | + |
| 129 | +# Model API only never used unless you are pulling data from an S3 bucket in the cloud |
| 130 | +use_s3: false |
| 131 | +bucket: "" |
0 commit comments