slac207 / cs207project

MIT License
0 stars 4 forks source link

P8- Create FileStorageManager #61

Closed cocochrane closed 7 years ago

cocochrane commented 7 years ago

Create a FileStorageManager that inherits the StorageManagerInterface ABC and implements it by putting 2-d numpy arrays with 64-bit floats for both times and values onto disk. This manager must support having some form of the time series in memory both on get and store (see the interface above).

You can use anything implementing SizedContainerTimeSeriesInterface inside the manager (with some likely changes to how its constructed). The manager should maintain a persistent structure in memory and on disk which maps ids to the appropriate files and keeps track of lengths. Make sure you minimize copying of arrays