Skip to content

Singleton coordinates crash the core dim order check #591

Closed

Description

@aulemahal

In the core dim order check added by #582, we forgot the case where a coordinate would have only one element. When this happens, the diff is an empty array and the function fails here:

elif isinstance(diffs[0], datetime.timedelta):

The easy solution would be to consider them ascending, as we already do with coordinates that are all the same.

Activity

  1. self-assigned this
    on Sep 8, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

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