Skip to content

Multi-model statistics produces wrong/misleading results for daily data #937

@Peter9192

Description

@Peter9192

Describe the bug
The current implementation of the multimodel statistics preprocessor was not designed to work for daily data, but it doesn't raise an error either. This leads to misleading results, because prior to the statistics calculations, all time points are reset to the first of the month:

real_date = datetime(date_obj.year, date_obj.month, 1, 0, 0, 0)

This error has propagated into the reference datasets for the multimodel-statistics regression tests. While the sample data have 62 time points (days), the reference statistics cubes only have 2 (the first days of the 2 months).

This issue will be solved in #685, but until then, daily multimodel-statistics output should not be trusted.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions