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

Do we need a `System.load` classmethod that constructs a system from a directory or zip file? #30

Closed pesap closed 5 months ago

pesap commented 5 months ago

Do we need a System.load classmethod that constructs a system from a directory or zip file? I know it's not a big deal to have the user call System.from_json. We could essentially make save/load be the main ways of operating and leave the JSON details opaque. I could do the work in a separate PR.

_Originally posted by @daniel-thom in https://github.com/NREL/infrasys/pull/23#discussion_r1586410062_