Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implementing geeBfastMonitor with non-Landsat metrics #7

Open
gltyree opened this issue Dec 20, 2021 · 0 comments
Open

Implementing geeBfastMonitor with non-Landsat metrics #7

gltyree opened this issue Dec 20, 2021 · 0 comments

Comments

@gltyree
Copy link

gltyree commented Dec 20, 2021

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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant