Hacktoberfest 2026: the issues maintainers tagged for October, open and beginner-friendly. Browse Hacktoberfest issues

Use module directly but encountering error : Invalid number (25:20)

Open
#3 3 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
2/5
Estimated time
1-3 hours
Newbie friendliness
25/100
Issue type
Bug
Clarity
Needs clarification
Activity status
Stale
Tech stack
javascript
Domain
data

Research direction

Open the linked Earth Engine script and the users/andreim/geeMonitor:monitor.js module, then reproduce the Invalid number error at the reported location. Compare the bfastMonitor parameters with the module's expected inputs; done means the example runs without the error and returns the requested break-detection result.

Written by the indexing model from the issue text.

Description

I want to use this module directly to find whether there is a break on a pixel, but the error "Invalid number" occurred.
The parameters are the same as the original code you presented.

Here is my code:
https://code.earthengine.google.com/7bf71db0079d907ca2ac8e1958ecc033

var engine = require('users/andreim/geeMonitor:monitor.js');
var result = engine.bfastMonitor({
roi:ee.Geometry.Point(-60.00, -14.33),
historyStart:2013-01-01,
historyEnd:2016-12-31,
monitoringStart:2017-01-01,
monitoringEnd:2018-12-31,
h:0.25,
period:10,
alpha:0.05,
magnitudeThreshold: -0.000000000000000000000000000000121,
harmonics:1})

print(result)

Hope to get your reply soon!

Dominant language
JavaScript
Stars
75
Forks
30
PR merge metrics
No merged PRs in 30d

Getting set up

This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from bfast2/geeBfastMonitor

All issues in bfast2/geeBfastMonitor

Similar issues

More JavaScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.