View source: R/get_site_MODIS.R
plot_timeseries | R Documentation |
Create a time series of averaged pixel values from MODIS images cropped to site boundaries. Display a line plot and save to png. here.
plot_timeseries(deimsid, product, output_dir, output_proj = "3035")
deimsid |
A |
product |
A |
output_dir |
a |
output_proj |
|
Read all images in output_dir
and prepare line plots
of average pixel values over the site boundary for each band.
This function is not exported. It is called by get_site_MODIS()
Full path to the saved png image.
Micha Silver, phD (2020) silverm@post.bgu.ac.il
Alessandro Oggioni, phD (2020) oggioni.a@irea.cnr.it
sfRReLTER
\insertRefterraRReLTER
## Not run:
# Example in Northern Negev LTER
deimsid <- "https://deims.org/871a90b2-e372-456a-93e3-518ad1e11239"
output_dir <- tempdir()
png_files <- ReLTER::plot_timeseries(deimsid, product = "VI",
output_dir = output_dir, output_proj = "6991")
message("Output plots: ", png_files)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.