landfireVSI {rlandfire} | R Documentation |
Read in LANDFIRE products using the GDAL virtual file system
Description
landfire_vsi()
opens a request LANDFIRE GeoTIFF using the GDAL virtual file system
(VSI).
Usage
landfireVSI(landfire_api)
Arguments
landfire_api |
A |
Details
The GDAL virtual file system allows you to read in LANDFIRE products without having to download the file to your local machine within 60 minutes of the request or if the file already exists on your local machine without having to unzip it.
Value
SpatRaster object of the requested LANDFIRE product/s
Examples
## Not run:
aoi <- c("-113.79", "42.148", "-113.56", "42.29")
email <- "email@example"
rast <- landfireAPIv2(products = "240EVC",
aoi = aoi, email = email,
method = "none") |>
landfireVSI()
## End(Not run)
[Package rlandfire version 2.0.0 Index]