ForecastGRRateGrid#

Subclass of GRRateGrid, storing the Gutenberg-Richter rate values for a n_grids number of forecasted grids, distinguished by the grid_id column. Holds additional methods to work with this data structure.

Constructor#

ForecastGRRateGrid

A seismicity forecast on a grid where for each grid cell, the GR parameters (a-value, b-value, mc) are defined.

Modify ForecastGRRateGrid#

ForecastGRRateGrid.strip

Remove all columns except the required ones for a GRRateGrid.

ForecastGRRateGrid.add_time_index

Create MultiIndex using starttime and endtime, both taken from the object attributes, and a cell number for each spatial block.

ForecastGRRateGrid.calculate_statistics

Get statistics for a, b, alpha, mc and number_events, if present, per timestep and grid cell, aggregated over all realizations of the grid (i.e. over all grid_id values).