xradar.util.ipol_time#
- xradar.util.ipol_time(ds, *, a1gate_idx=None, direction=None, **kwargs)[source]#
Interpolate/extrapolate missing time steps (NaT).
- Parameters:
ds (
xarray.Dataset
) – Dataset to interpolate/extrapolate missing timesteps.- Keyword Arguments:
a1gate_idx (
int | None
) – First measured gate. 0 assumed, if None.direction (
int | None
) – 1: CW, -1: CCW, Clockwise assumed, if None.
- Returns:
ds (
xarray.Dataset
) – Dataset with interpolated/extrapolated timesteps.