Google Earth Engine implementation of the popular R bfast package
geeBFASTmonitor is a reimplementation of R bfastmonitor with only some slight variations.
BFASTmonitor is a variation of bfast for monitoring purposes. Since geeBFASTmonitor is mostly a reimplementation, the original documentation is still relevant.
It's as easy as including the following code in the beginning of your script :
var engine = require('users/andreim/geeMonitor:monitor.js');
in your gee script. Afterwards, you'll have access to the function engine.bfastMonitor(roi,historyStart,historyEnd,monitoringStart,monitoringEnd,h,period,alpha,magnitudeThreshold,harmonics)
The parameters are similar to the R version of bfastMonitor:
A typical way of using the function is to save its result:
var result = engine.bfastMonitor(roi,historyStart,historyEnd,monitoringStart,monitoringEnd,h,period,alpha,magnitudeThreshold,harmonics)
The most important results are:
If you want to play with the algorithm interactively, please check: