Dash supports a drag-and-drop feature to upload files. That doesn't work well for PowerSystems because serialized a system can span 2-3 files. We could
- Support a .zip or .tar or .tar.gz to allow the user to drag-and-drop one file. PowerSystems would need to add a function that wraps
to_json to do this.
- Change PowerSystems to store all data in one .h5. JSON data can easily be encoded as a byte array in one HDF5 dataset.
Something like this will be required if the PowerSystemViewer app is running on a system that does not have filesystem access to the user's System files.
Dash supports a drag-and-drop feature to upload files. That doesn't work well for PowerSystems because serialized a system can span 2-3 files. We could
to_jsonto do this.Something like this will be required if the PowerSystemViewer app is running on a system that does not have filesystem access to the user's System files.