This Page

scikits.hydroclimpy.core.ts_addons.force_reference

force_reference(series, ref, func=<numpy.ma.core._frommethod instance at 0x101836098>)

Force a timeseries to match a reference, in terms of frequency and first and last dates.

Parameters:

series : TimeSeries

Input time series

ref : TimeSeries

Reference time series.

func : function

Function used for the conversion of series to ref.freq, if necessary.