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 - Time coordinates must be evenly spaced on Geo X Month level data #365

Open
annie-gulati opened this issue Nov 21, 2024 · 1 comment

Comments

@annie-gulati
Copy link
Collaborator

For one of the clients, we completed modeling at geo level a couple of months ago using meridian library. Now, we are trying to re-run the same code on the same data with no changes from our side, but we are encountering the error "Time coordinates must be evenly spaced". Our data was at geo X month level. Kindly guide us with the appropriate remedial steps.

Image

@santoso-wijaya
Copy link
Member

santoso-wijaya commented Nov 21, 2024

The check that time coordinates in the input data are regularly spaced was added in commit 30b1030 for 0.7.0 release.

If the model was able to train on that input data before then, it might explain why this check is now preventing the model to load.

Can you try pinning Meridian to "meridian < 0.7.0" and see if that helps at least with recreating the same model training environment?

Otherwise, I would look into the time coordinates in the input data and make sure that they are evenly spaced with no missing intervals.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants