NCSU GeoForAll Lab
and
Landscape Dynamics Group
at the
Center for Geospatial Analytics,
North Carolina State University
NCGIS 2019 Winston-Salem
Feb 27 - Mar 1, 2019
This work was made possible, in part, by a Cooperative Agreement from the United States Department of Agriculture’s Animal and Plant Health Inspection Service (APHIS). It may not necessarily express the views of APHIS.
Pest or Pathogen Spread Model
// creating simulation object
Raster<int> infected = {{5, 0},
{0, 0}};
int ew_res = 30;
int ns_res = 30;
Simulation<Raster<int>, Raster<double>>
simulation(42, infected, ew_res, ns_res);
host_file <- system.file(..., "host.tif", ...)
# ...
data <- pops(
infected_file, host_file, ...
reproductive_rate = 1.0,
...
start_time = 2001, end_time = 2005)
Install:
install.packages("devtools")
library(devtools)
devtools::install_github("ncsu-landscape-dynamics/rpops")
library(PoPS)
g.extension r.pops.spread
import grass.script as gs
gs.run_command('r.import', input='host.tif', ...)
# ...
gs.run_command('r.spread.sod', species='host', ...
moisture_file='moistures.txt',
temperature_file='temperatures.txt',
start_time=2005, end_time=2010,
rtype='cauchy', wind='NE', random_seed=42)
r.import input=host.tif ...
# ...
r.spread.sod species=lide lvtree=all infected=infected_2005 \
moist_file=moistures.txt \
temp_file=temperatures.txt \
output=spread_sod start_time=2005 end_time=2010 \
rtype=cauchy wind=NE rseed=4
Sudden Oak Death Management Workshop, Oregon, 2017
Image credit: Open Science Logo v2, CC BY-SA 3.0 Greg Emmerich
Image credit: Open Science Logo v2, CC BY-SA 3.0 Greg Emmerich
Image credit: Open Science Logo v2, CC BY-SA 3.0 Greg Emmerich
Slides: ncsu-landscape-dynamics.github.io/pops-talk
Official collaboration: geospatial.ncsu.edu/engage
Twitter: vaclavpetras
GitHub: wenzeslaus
GitLab: vpetras
Come to see the NCSU Center for Geospatial Analytics booth!