mosaicMODIS | R Documentation |
Mosaics all MODIS HDF files for a given date to a new file with a flexible extent (te), resolution (tr), CRS (t_srs). If GDAL options are left NULL, the GDAL defaults are used.
mosaicMODIS( dir = geo_path(), product, date = NULL, pattern = NULL, grid = NULL, r = "near", overwrite = FALSE, scale_factor = 1, range = NULL, cog = TRUE )
dir |
the directory to cache data. Default is |
product |
the MODIS product to search for |
date |
the date of the mosaic to build passed as a vector of length 1 (single date), or 2 (range of dates) |
pattern |
the HDF file pattern to extract (see |
grid |
a grid abstraction build with |
r |
GDAL resampling method |
overwrite |
should the files be overwriten? |
scale_factor |
product scale factor |
range |
valid data range |
cog |
should a COG directory be built? |
Other modis:
.modis_dir()
,
day8_to_month()
,
downloadMODIS()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.