Read a raster::raster() object from disk, along with a text file containing the names of each layer in the object.

readNamedRaster(x, ...)

Arguments

x

raster::raster() object.

...

arguments passed to raster::stack.

Value

A raster object.

Details

This file reads a raster object to disk along with a text file containing the layer names of the raster.