Skip to content

Use set_data in forecast method #451

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

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

jessegrabowski
Copy link
Member

Closes #424

There was some really complicated logic for clone-replacing data variables in the forecast method for absolutely no reason. For certain models, this meant that the data was not being correctly updated, and coordinates didn't match after sampling.

Just doing a basic pm.set_data does the trick just fine.

@jessegrabowski jessegrabowski added bug Something isn't working statespace labels Apr 7, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working statespace
Projects
None yet
Development

Successfully merging this pull request may close these issues.

State Space: Exogenous Vars - Conflicting dimensions for time (bug?)
1 participant