geeBfastMonitor icon indicating copy to clipboard operation
geeBfastMonitor copied to clipboard

Implementing geeBfastMonitor with non-Landsat metrics

Open gltyree opened this issue 4 years ago • 0 comments

I would like to use geeBfastMonitor to detect change in a MODIS-based metric. Is there a simple way to overwrite the Landsat NMDI variable in the source code with a metric provided by the user?

For example, after importing the geeBfastMonitor module:

var bfast_in = require('users/andreim/geeMonitor:monitor.js');

Can I specify in the bfastMonitor() function a metric that I would like to use instead of the Landsat NMDI?

var result = bfast_in.bfastMonitor(roi,historyStart,historyEnd,monitoringStart,monitoringEnd,h,period,alpha,magnitudeThreshold,harmonics, ## MODIS-based metric ###);

If this is not possible and the source code in the bfastMonitor source code would need to be updated, is there a version of that source code that is scripted for MODIS data?

gltyree avatar Dec 20 '21 01:12 gltyree