dot-scl: Helper function to apply SCL cloud mask buffer

.sclR Documentation

Helper function to apply SCL cloud mask buffer

Description

This function is used internally to buffer a given SCL cloud mask. All buffered cells are set to the value of the first object in mask_values

Usage

.scl(scl_file, outdir, mask_values, mask_buffer, grass_bin)

Arguments

scl_file

A chrachter vector indicating the path to the input SCL file

outdir

A path to a directory where the output file will be written to.

mask_values

A numeric vector indicating which values should be masked

mask_buffer

The distance for the buffer in map units (typically in meters).

grass_bin

A path to the GRASS GIS binary directory.

Value

Nothing. Writes buffered SCL mask to outdir. All cells within the buffer will obtain the value of the first element in mask_values.

Author(s)

Darius Görgen (MapTailor Geospatial Consulting GbR) info@maptailor.net
Maintainer: MAPME-Initiative contact@mapme-initiative.org
Contact Person: Dr. Johannes Schielein
Copyright: MAPME-Initiative
License: GPL-3


mapme-initiative/mapme.vegetation documentation built on Feb. 10, 2023, 10:51 p.m.