download.NLCD.Rd
Downloads and unzips the National Land Cover Database http://www.mrlc.gov/nlcd2011.php. Will automatically insert into PEcAn database if database connection provided.
download.NLCD(outdir, year = 2011, con = NULL)
Directory to download NLCD to
which NLCD year to download. Only 2001 and 2011 are currently supported.
Optional database connection. If specified then the code will check to see if the file already exists in PEcAn before downloading, and will also create a database entry for new downloads