Description Usage Arguments Details Value Examples
Save rds files containing data frames of grid cell indices for the intersection of common SNAP spatial polygons with SNAP template raster layers. Indices are stored for two conditions: matching to all raster cell indices and matching to new cell indices based on first removing all NA-valued cells and re-indexing.
1 2 3 | save_poly_cells(file_akcan = "cells_akcan1km2km.rds",
file_ak = "cells_ak1km.rds", out_dir = snapdef()$celldir,
mc.cores = 32)
|
file_akcan |
file name for cell index table based on the Alaska/western Canada SNAP spatial domain. |
file_ak |
file name for cell index table based on the Alaska "statewide" classic ALFRESCO SNAP spatial domain. |
out_dir |
output directory. |
mc.cores |
number of processors. |
Note that this function also folds in FMO area unions from 'snapgrid::swfmo' for the Alaska domain.
invisible, writes files.
1 | ## Not run: save_poly_cells()
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.