Creates the spatial grid that is used by SPAM to allocate physical area shares for each crop and system. The border of the country is used as mask to determine the grid and each grid is given a gridID number.
create_grid(param = NULL)
param | Object of type |
---|
For technical reasons, gridID values are set before the raster is masked with
the country border, which means they are unique but non consecutive. Note that
grids at a resolution of 30 arcsec can become very large and might make some
time to create. The file is saved in /processed_data/maps/grid/
if (FALSE) { create_grid(param) }