plot_agg_map: Map of aggregated time series of MODIS images

View source: R/get_site_MODIS.R

plot_agg_mapR Documentation

Map of aggregated time series of MODIS images

Description

Prepare, show and save an aggregated map of acquired MODIS products. For plotting, the function requires packageVersion("leaflet") > 2.1.1

Usage

plot_agg_map(product, output_dir, site_name, agg_function = "mean")

Arguments

product

character one of "LST" or "VI"

output_dir

character, where MODIS images were saved This directory is returned by get_site_MODIS() The final map, as png image file will be saved here also.

site_name

character the site (passed from get_site_MODIS())

agg_function

character either FALSE (the default) or one of "mean", "max", "min". All maps in time series will be aggregated using this function.

Details

Read all time series images (from *.vrt file) in output_dir Prepare an aggregation raster of all maps in the time series Save and show a plot of the aggregated map

This function is not exported. It is called by get_site_MODIS()

Value

Full paths to saved Geotiff rasters

Author(s)

Micha Silver, phD (2020) silverm@post.bgu.ac.il

Alessandro Oggioni, phD (2020) oggioni.a@irea.cnr.it

References

\insertRef

sfRReLTER

\insertRef

terraRReLTER


oggioniale/ReLTER documentation built on Jan. 4, 2024, 3:48 p.m.