brightwind.analyse.analyse.concurrent_coverage

brightwind.analyse.analyse.concurrent_coverage(ref, target, averaging_prd, aggregation_method_target='mean')

Accepts ref and target data and returns the coverage of concurrent data.

Parameters
  • ref (pandas.Series) – Reference data

  • target (pandas.Series) – Target data

  • averaging_prd (str) –

    Groups data by the period specified by period.

    • 2T, 2 min for minutely average

    • Set period to 1D for a daily average, 3D for three hourly average, similarly 5D, 7D, 15D etc.

    • Set period to 1H for hourly average, 3H for three hourly average and so on for 5H, 6H etc.

    • Set period to 1M for monthly average

    • Set period to 1AS fo annual average

  • aggregation_method_target – (Optional) Calculates mean of the data for the given averaging_prd by default. Can be changed to ‘sum’, ‘std’, ‘max’, ‘min’, etc. or a user defined function

Returns

A DataFrame with concurrent coverage and resolution of the new data. The columns with coverage are named as <column name>_Coverage