make_raster_file: Save raster to file

View source: R/utils.R

make_raster_fileR Documentation

Save raster to file

Description

Saves a raster to file using a custom name for the value column.

Usage

make_raster_file(x, filename, format, overwrite, layer_name)

Arguments

x

A raster object

filename

A filename where the raster will be written

format

Format to use to write the raster (see raster::writeRaster)

overwrite

Logical. Should existing rasters be overwritten

layer_name

Character or numeric vector indicating the name for the single layer raster. Must be a valid name for a raster layer.


afsc-gap-products/coldpool documentation built on Sept. 14, 2024, 7:40 p.m.