GRRateGrid.add_time_index#
- GRRateGrid.add_time_index(endtime=True) GRRateGrid#
Create MultiIndex using starttime, optionally endtime and a cell number for each spatial block.
- Parameters:
endtime – If True, create MultiIndex with starttime and endtime. Otherwise, create MultiIndex with only starttime.
- Returns:
rategrid – A new RateGrid with the MultiIndex set.