@BeginModule
@NewPage
@Name      = Inttime
@Title     = Time interpolation
@Section   = Interpolation
@Class     = Interpolation
@Arguments = ifile ofile
@Operators = inttime intntime

@BeginDescription
This module performs linear interpolation between time steps.
@EndDescription
@EndModule


@BeginOperator_inttime
@Title     = Interpolation between time steps
@Parameter = date time [inc]

@BeginDescription
This operator creates a new dataset by linear interpolation between time steps.
The user has to define the start date/time with an optional increment.
@EndDescription
@EndOperator


@BeginOperator_intntime
@Title     = Interpolation between time steps
@Parameter = n

@BeginDescription
This operator performs linear interpolation between time steps.
The user has to define the number of time steps from one time step
to the next.
@EndDescription
@EndOperator


@BeginParameter date
@Item = date
STRING  Start date (format YYYY-MM-DD)
@Item = time
STRING  Start time (format hh:mm:ss)
@Item = inc
STRING  Optional increment (seconds, minutes, hours, days, months, years) [default: 0hour]
@Item = n
INTEGER Number of time steps from one time step to the next
@EndParameter


@BeginExample
Assumed a 6 hourly dataset starts at 1987-01-01 12:00.
To interpolate this time series to a one hourly dataset use:
@BeginVerbatim
   cdo inttime,1987-01-01,12:00,1hour ifile ofile
@EndVerbatim
@EndExample
