Skip to content

diff() failing on lazy-loaded data only #10941

@lluritu

Description

@lluritu

What happened?

Hello,
I am reading some GRIB2 data from ECMWF MARS archive and cannot diff("step") unless I load the data previously. I am seeing the problem only after upgrading from xarray v2025.3.1 to v2025.10.1

xr.open_dataset("/path/to/tp_2025052500.grb").load().diff("step") works well.
xr.open_dataset("/path/to/tp_2025052500.grb").diff("step") fails with alignment problems.

Anyone any clues what's going on?
Thanks
Llorenç

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions