sloop.interp.interp_time

sloop.interp.interp_time(ds, dates, preserve_encoding=False, keep_flag=False, diurnal_vars=None, persistency=None)[source]

Interpolate a dataset in time

A single interpolation per time step, with persistency.

Parameters
  • ds (xarray.Dataset) – Dataset to interpolate.

  • dates (single or list of dates) – Interpolation dates.

Return type

xarray.Dataset