bfast2 / bfast2/bfast

bfast01: error: inadmissable change points: 'from' is larger than 'to'

Open
#11 2 comments 0 reactions 0 assignees View on GitHub
bug help wanted
Dominant language
R
Stars
53
Forks
16
PR merge metrics
No merged PRs in 30d

Description

This call to `Fstat` in `bfast01()` causes an error for some inputs:
https://github.com/GreatEmerald/bfast/blob/6e86571601510ea33af4daa16b0e36564995bd54/R/bfast01.R#L156
The error is `inadmissable change points: 'from' is larger than 'to'`. Setting `trim` to a low number (~7) makes it not give this error any more.

I'd need some input data for reproducing it easier, but overall I'm not sure why that call to `Fstat` is there? In the regular bfast, this functionality is handled by `bfastts` and `bfastpp` instead.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.