Extracts datasets from SMAP data files.
extract_smap(data, name, in_memory = FALSE)
A data frame produced by
The path in the HDF5 file pointing to data to extract.
Logical. Should the result be stored in memory? If not, then raster objects are stored on disk in the cache directory. By default the result is stored on disk.
Returns a RasterStack object.
dataset must refer specifically the
group and name within group for the input file, such as can be obtained with
list_smap(). This function will extract that particular dataset,
returning a Raster object.