msscvm: Create a cloud and cloud shadow mask for Landsat MSS imagery

Description Usage Arguments Value

View source: R/msscvm.r

Description

Takes in any numeric value and squares it.

Usage

1
msscvm(file, demfile, topoprep, test = F, overwrite = F)

Arguments

file

character. MSS reflectance image filename (full system path to MSS file)

demfile

character. DEM filename (full system path to spatially coincident DEM file)

topoprep

logical. TRUE if slope and aspect are already created in the "topo" folder and FALSE if not

test

logical. If TRUE clouds, cloud shadows and clear pixels have unique values, if FALSE obscured are 0 and clear are 1

Value

A binary raster with the same dimensions as the MSS image where pixels with value 1 represent clear pixel and 0 as obsured by either cloud or cloud shadow


jdbcode/LandsatLinkr documentation built on July 14, 2021, 6:35 p.m.