Skip to content

Unhelpful concatenate failure message #3210

@PAGWatson

Description

@PAGWatson

Hello, I just spent a fair amount of time tracking down why two cubes with differing time dimensions would not concatenate. The error message printed by concatenate_cube() was simply:

ConcatenateError: failed to concatenate into a single cube. An unexpected problem prevented concatenation. Expected only a single cube, found 2.

The error turned out to be that the time series overlapped by one day - my silly fault, of course, but it would be useful if a check for dimensions overlapping could be added in concatenate_cube().

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions