StorageOccupancyPlotter
StorageOccupancyPlotter.__bases__: DIRAC.AccountingSystem.private.Plotters.BaseReporter.BaseReporter
- class DIRAC.AccountingSystem.private.Plotters.StorageOccupancyPlotter.StorageOccupancyPlotter(db, extraArgs=None)
Bases:
BaseReporter
StorageOccupancyPlotter as extension of BaseReporter.
- __init__(db, extraArgs=None)
- generate(reportRequest)
- getKeyValues(typeName, condDict)
Get all valid key values in a type
- plotsList()
- plotter(reportRequest, plotInfo, filename)
plotter.
Generic plotter method used by all _plot<something> methods.
- reporter(reportRequest, spaceType, groupingFields=False)
reporter.
Generic method used by all the _report<something> methods. Only one method is actually making use of the groupingFields attribute ( _reportFreeUsedSpace ).
- stripDataField(dataDict, fieldId)
Strip <fieldId> data and sum the rest as it was data from one key
- Parameters:
- Returns:
list of dictionaries
[ { <timeEpoch1>: 2, <timeEpoch2>: 4... } { <timeEpoch1>: 3, <timeEpoch2>): 5... } ]
- Return type: