stacker.RdCreate a stack of multiple grinded emissions for record in a NetCDF file with multiple times (dates)
stacker(grid, variable = NA, verbose = TRUE)
| grid | list of sf from griding function |
|---|---|
| variable | name(s) of the pollutant(s) |
| verbose | display additional information |
a sf with the grid geometry and the emission by cell for multiple times
grinded_so2 <- readRDS(paste0(system.file("extdata",package="inventory"),"/grid_so2.Rds")) two_times_grinded_so2 <- stacker(list(a = grinded_so2, b = grinded_so2))#> stack of 2 emissions