Write layer in raster stack to tif

lyr_to_tif(lyr, s, s_dir, debug = F)

Arguments

lyr

layer name

s

stack

s_dir

directory name

debug

defaults to False