Previously downloaded smoke shapefiles from the NOAA
Hazard Mapping System are converted to a
SpatialPolygonsDataFrame with additional columns of data. The resulting file will be
created in the spatial data directory which is set with setSpatialDataDir()
.
convertHMSSmoke(dsnPath = NULL, datestamp = NULL, nameOnly = FALSE)
directory where the HMS Smoke datasets are found
HMS datestamp in the format "YYYYmmdd"
logical specifying whether to only return the name without creating the file
Name of the dataset being created.
The full set of archived HMS Smoke shapefiles can be downloaded from NOAA with the following command:
wget -R '.zip' ftp://satepsanone.nesdis.noaa.gov/FIRE/HMS/GIS/ARCHIVE/hms_smoke*
If no datestamp
argument is used, all shapefiles in dsnPath
will be converted.
In this case, a vector of created dataset names is returned.
setSpatialDataDir