snap

method of dascore.core.coords.BaseCoord source

snap(
    self ,
    step = None,
    max_shift = None,
    warn = False,
)-> ‘BaseCoord’

Snap the coordinates to evenly sampled grid points.

This will cause some loss of precision but often makes the data much easier to work with.