GithubHelp home page GithubHelp logo

zunyixie / geebfastmonitor Goto Github PK

View Code? Open in Web Editor NEW

This project forked from bfast2/geebfastmonitor

0.0 1.0 0.0 14 KB

Google Earth Engine implementation of the popular R bfast package

JavaScript 100.00%

geebfastmonitor's Introduction

Introduction

geeBFASTmonitor is a reimplementation of R bfastmonitor with only some slight variations.

BFASTmonitor

BFASTmonitor is a variation of bfast for monitoring purposes. Since geeBFASTmonitor is mostly a reimplementation, the original documentation is still relevant.

Running geeBFASTmonitor

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:

  • roi: region of interest as a Feature
  • historyStart: The starting date of the stable period.
  • historyEnd: The end date of the stable period.
  • monitoringStart: The starting date of the monitoring period.
  • monitoringEnd: The end date of the monitoring period.
  • h: numeric scalar from interval (0,1) specifying the bandwidth relative to the sample size in MOSUM/ME monitoring processes
  • period: maximum time, relative to the history period, that should be monitored. The default is 10 times the history period.
  • alpha: Significance level of the monitoring (and ROC, if selected) procedure, i.e., probability of type I error.
  • magnitudeThreshold: Threshold for magnitude level for which a change should be considered. Default is 0.
  • harmonics: Order of the harmonic term.

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:

  • the time of change found in bfastResults.timeCnk2
  • magnitude of change found in bfastResults.Cnk

Applications

If you want to play with the algorithm interactively, please check:

https://andreim.users.earthengine.app/view/bfastmonitor

geebfastmonitor's People

Contributors

mirt001 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.