- template
A sf, Raster* or Spatial* object to serve
as a template for cropping.
- label
A character string naming the study area.
- year
An integer representing the year of desired NLCD product.
Acceptable values are 2019 (default), 2016, 2011, 2008, 2006, 2004, and 2001.
- dataset
A character string representing type of the NLCD product.
Acceptable values are 'landcover' (default), 'impervious', and
'canopy' (2016 and 2011, L48 only).
- landmass
A character string representing the landmass to be extracted
Acceptable values are 'L48' (lower 48 US states, the default),
'AK' (Alaska, 2011 and 2016 only), 'HI' (Hawaii, 2001 only), and
'PR' (Puerto Rico, 2001 only).
- extraction.dir
A character string indicating where the extracted
and cropped NLCD data should be put. The directory will be created if missing.
- raster.options
a vector of options for terra::writeRaster.
- force.redo
If an extraction for this template and label already exists,
should a new one be created?