modis_bimodal | R Documentation |
Function to check for bimodality in MODIS MCD43A4 band 7. Bimodality is said to be achieved if peaks of water- and dryland reflectances are sufficiently distinct. For details check Wolksi et al. 2017.
modis_bimodal(x = NULL, watermask = NULL, drymask = NULL)
x |
|
watermask |
|
drymask |
|
logical indicating if the image is bimodal (TRUE) or not bimodal (FALSE)
## Not run:
# Download file
file <- modis_download(
dates = "2020-01-01"
, outdir = getwd()
, tmpdir = tempdir()
, username = "username"
, password = "password"
, overwrite = F
)
# Load it
modis <- modis_load(file)
# Check for bimodality
modis_bimodal(modis)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.