bruty.history Module

Classes

ABC()

Helper class that provides a standard way to create an ABC using inheritance.

AccumulationHistory(history_data[, x1, y1, …])

This class acts like a full history but really only keeps one raster, the current data.

DiskHistory(data_class, data_path[, prefix, …])

Store ‘data_class’ objects to disk located at ‘data_path’ and allow access to them like a list.

History(data_class[, data_path, prefix, postfix])

Base class for things that want to act like a list.

LayersEnum

alias of bruty.raster_data.Layers

MemoryHistory([data_class, data_path, …])

Stores data_class objects in memory.

MemoryStorage([arrays, layers])

MutableSequence()

PointsHistory(data_class[, data_path, …])

RasterData(storage[, arrays, layers])

RasterDelta(storage[, arrays, layers])

RasterHistory(history_data[, x1, y1, x2, y2])

This class works on top of a History (passed in via ‘history_data’) instance to return the actual surface at a certain time as opposed to the deltas that the ‘history_data’ holds

TiffStorage(path[, arrays, layers])

This might be usable as any gdal raster by making the driver/extension a parameter

VABC()