green | R Documentation |
green Create a green up/down pair of rasters for use in masking gee to the growing season
green( evi, up_func = function(evi) { return(evi > (0.5 * max(evi))) }, down_func = function(evi) { return(evi < (0.65 * max(evi))) } )
evi |
(SpatRaster): A full year's worth of EVI data |
up_func |
(function): a function that takes an evi time series over a year and returns a boolean: is this pixel on this day past the greenup day? |
down_func |
(function): a function that takes an evi time series over a year and returns a boolean: is this pixel on this day before the greendown day? |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.