MazamaSpatialUtils (version 0.6.4)

convertHMSSmoke: Convert NOAA Hazard Mapping System Smoke Shapefiles

Description

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().

Usage

convertHMSSmoke(dsnPath = NULL, datestamp = NULL, nameOnly = FALSE)

Arguments

dsnPath

directory where the HMS Smoke datasets are found

datestamp

HMS datestamp in the format "YYYYmmdd"

nameOnly

logical specifying whether to only return the name without creating the file

Value

Name of the dataset being created.

Details

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.

References

http://www.ospo.noaa.gov/Products/land/hms.html

See Also

setSpatialDataDir