pyacs.gts.lib.primitive.decimate module

pyacs.gts.lib.primitive.decimate.decimate(self, time_step=30.0, dates=[], method='median', verbose=False)[source]

Decimate a time series to a regular time step.

Parameters:
  • time_step (float, optional) – Time step in days.

  • dates (list, optional) – List of dates where points are forced to be written regardless of time_step.

  • method (str, optional) – Method to compute position in each bin: ‘median’, ‘mean’, or ‘exact’.

  • verbose (bool, optional) – Verbose mode.

Returns:

New decimated Gts.

Return type:

Gts