NREL / infrasys

Data store for components and time series in support of Python-based modeling packages
https://nrel.github.io/infrasys/
BSD 3-Clause "New" or "Revised" License
5 stars 2 forks source link

Create save command #10

Closed daniel-thom closed 5 months ago

daniel-thom commented 7 months ago

The existing System.to_json method is fine. We are really dumping data to more than just JSON, though. We write time series data to SQLite and Arrow files. It would be good to have a System.save("my_directory") that creates a new directory and saves all files in it. The user could then easily create an achive (.zip/.tar) and share it. We could also consider making the archive file automatic and support deserializing from it.