Skip to content

diff behavior of xr.interp_like btween xr 2024.10.0 , 2025.3.0 #47

@e-marshall

Description

@e-marshall

in the older version of the notebook, the following produced an object w/ indexed dimensions band,time,x,y (both source objects have those indexed dimensions):
pc_downsample = pc_subset.interp_like(asf_da)

with xr 2025.3.0, interp_like() doesn't create an indexed dim coordinate variable in the new object where it exists in the source object.

Image

Added a line with an explanation and calling ds.set_index(band='band') but adding here to keep track of in case it warrants additional explanation or anything

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions