drop_associated_coords

function of dascore.utils.patch source

drop_associated_coords(
    coords ,
    dim: str ,
    action: str ,
)

Drop, with a warning, the non-dimensional coordinates along a dimension.

Use when an operation changes the dimension’s samples, leaving those coordinates’ values unknown; action begins the warning, eg “Resampling”. Cell edges are left for the grid update, which drops them without a warning.