use_example_ee_script {irg} | R Documentation |
Use an example sampling script for Earth Engine
Description
Provides an example script for use in Earth Engine, as a preceeding step
to using the irg
package. Use the script to sample NDVI in Earth
Engine, then use the irg
package to calculate the instantaneous rate of green-up.
Usage
use_example_ee_script(sensor = "MODIS", filepath = NULL, overwrite = FALSE)
Arguments
sensor |
either 'MODIS' or 'Landsat' |
filepath |
file path relative to current working director, indicating where to save the example script. default is NULL, simply printing lines to the console. |
overwrite |
boolean indicating if the file should overwrite existing files. default is FALSE. |
Value
use_example_ee_script
prints an example NDVI extraction script or
if filepath
is provided, saves it at the location specified.
[Package irg version 0.1.6 Index]