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

Error in RSS.table[as.character(opt[1]), i] : subscript out of bounds for bfastlite in R #109

Open
mohammad-a-sh opened this issue Dec 13, 2023 · 3 comments
Labels
question Further information is requested

Comments

@mohammad-a-sh
Copy link

Hello,

I have developed a code for BFAST, and when executed for the BFAST family (bfast, bfastmonitor, etc.), it runs without any issues. However, upon attempting to run "bfastlite", I encountered the following error:

Error in RSS.table[as.character(opt[1]), i] : subscript out of bounds

I am now seeking guidance on whether this error is related to my dataset, the code I have written, or the bfastlite package itself, and how I can resolve it.

Thank you.

@GreatEmerald
Copy link
Collaborator

Could you provide a reprex? Generally that error means that the triangular matrix of optimal break locations did not get computed correctly for some reason.

@mohammad-a-sh
Copy link
Author

Thank you for your guidance.
The path you mentioned will be lengthy. Is it possible to send you the data and code via email or send it here?

@GreatEmerald
Copy link
Collaborator

Please try to make a minimal reproducible example, see here for some suggestions: https://stackoverflow.com/help/minimal-reproducible-example For instance, provide only the one pixel that causes the issue, not your whole dataset. Only provide your call to bfastlite, not any unrelated code for loading the data etc.

@GreatEmerald GreatEmerald added the question Further information is requested label Oct 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants