rwgen.RainfallModel.update_shuffling_config

RainfallModel.update_shuffling_config(target_duration='1M', month_divisions=4, reorder_months=True)

Update shuffling settings for fitting and simulation using modified Kim and Onof (2020) method.

Parameters:
  • target_duration (str) – Duration to use for reference variance in fitting (cannot be changed currently).

  • month_divisions (int) – Number of windows to divide month into when shuffling. This needs to be an even number currently (4, 6 or 8). Possible to use 8 with a single site model, but 4 better for a spatial model.

  • reorder_months (bool) – If True (default) then apply both shuffling algorithm and then further reordering based on an AR1 model. These stages correspond to modules 2 and 3 in Kim and Onof (2020).