mask_with: Apply a mask to a raster.

Description Usage Arguments Value Author(s)

Description

Any value greater than one becomes one.

Usage

1
2
3
4
5
mask_with(
  in_file,
  mask_file,
  out_file = tempfile(pattern = "mask_with_", fileext = ".tif")
)

Arguments

in_file

A length-one character. A path to a raster

mask_file

A lenght-one character. A path to a raster mask.

out_file

A lenght-one character. A path to the file with the results.

Value

out_file.

Author(s)

Alber Sanchez, alber.ipia@inpe.br


albhasan/sits.prodes documentation built on Sept. 3, 2020, 2:03 p.m.