forked from bryce-carson/spatialEpisim.foundation
-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Labels
bugSomething isn't workingSomething isn't working
Description
Background
During testing of recent documentation changes, and a small readability refactor, a fatal error condition I had written surfaced. During inspection I found that the Infected layer is wildly incorrect, with cells exhibiting a strange latitudinal pattern.
I need to resolve this, and I imagine that once I do it will also resolve issue #24.
Susceptible
Infected
Population
This plot shows that a newly acquired raster of class SpatRaster with no aggregation does not actually contain NAs where I thought it did. The values in the raster outside of what is the Democratic Republic of the Congo (the spatial domain of the DRC), are also zero, like zero values within its spatial domain, not NA.
cod <- getCountryPopulation.SpatRaster("COD")
terra::plot(terra::classify(cod, cuts, right = FALSE), colNA = "black")
any(is.na(values(cod))) # FALSEMetadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working


