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

Save/load metran models #14

Open
dbrakenhoff opened this issue Feb 10, 2023 · 0 comments
Open

Save/load metran models #14

dbrakenhoff opened this issue Feb 10, 2023 · 0 comments
Labels
enhancement New feature or request

Comments

@dbrakenhoff
Copy link
Member

It would be nice to build a pas-like file (see Pastas) to save models and load them again.

We could try to follow pastas' style and have the different relevant objects in a model contain to_dict() methods. Similar to pastas this would include a series keyword argument to store the dictionary with or without time series.

We can reuse the pastas encoder to write certain datatypes to json for storing it as a file. I guess we could use a .metran extension or something similar.

@martinvonk martinvonk added the enhancement New feature or request label Jun 23, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants