cfmask: mask clouds

Description Usage Arguments Author(s) See Also

View source: R/water_RSfunctions.R

Description

This function mask clouds and other values using the cfmask

Usage

1
cfmask(path = getwd(), image, cfmask, keep = 0, buffer = 60)

Arguments

path

folder where band files are stored

image

L8 raw image

cfmask

Raster layer with the cfmask

keep

values in cfmask to preserve in the final output. Use 0 for cfmask files, and 2720 for bqa files. For Landsat 7 BQA images, the value should be 672.

buffer

buffer width around excluded values, numeric > 0. Unit is meter if x has a longitude/latitude CRS, or mapunits in other cases

Author(s)

Guillermo Federico Olmedo

See Also

Other remote sensing support functions: calcRadiance(), calcSR(), calcTOAr(), loadImageSR(), loadImage()


midraed/water documentation built on Feb. 20, 2022, 7:30 a.m.