modis_load | R Documentation |
Function to load downloaded MODIS MCD43A4 band 7 (see
modis_download()
). This function simply wraps the command
raster(filepath, band = 7)
.
modis_load(filepath = NULL)
filepath |
character. Filepath pointing to the downloaded modis file |
RasterLayer
containing only MODIS MCD43A4 band 7
## Not run:
# Download files for two dates
files <- modis_download(
dates = c("2020-01-01", "2020-01-01")
, outdir = getwd()
, tmpdir = tempdir()
, username = "username"
, password = "password"
, overwrite = F
)
# Load one of them and show it
modis <- modis_load(files[1])
show(modis)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.