rsat_cloudMask {rsat} | R Documentation |
Create cloud mask from an rtoi
Description
Create cloud mask from an rtoi
Usage
rsat_cloudMask(x, ...)
## S4 method for signature 'rtoi'
rsat_cloudMask(x, products = "ALL", verbose = FALSE, overwrite = FALSE, ...)
Arguments
x |
rtoi object from which cloud masks are computed. |
... |
additional arguments |
products |
the name of the dataset from which cloud masks are computed. |
verbose |
logical argument. If |
overwrite |
logical argument. If |
Value
nothing. The cloud masks will be save in the hard drive. Use get_stars to get the variables.
Examples
## Not run:
## Smooth data in rtoi
library(rsat)
# create a copy of pamplona in temp file
file.copy(from=system.file("ex/Pamplona",package="rsat"),
to=tempdir(),
recursive = TRUE)
# load example rtoi
pamplona <- read_rtoi(file.path(tempdir(),"Pamplona"))
rsat_cloudMask(pamplona)
rsat_list_data(pamplona)
## End(Not run)
[Package rsat version 0.1.21 Index]