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

@BeginDescription
This module performs linear interpolation between timesteps.
@EndDescription
@EndModule


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

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


@BeginOperator_intntime
@Title     = Interpolation between timesteps
@Parameter = n

@BeginDescription
This operator performs linear interpolation between timesteps.
The user has to define the number of timesteps from one timestep 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 timesteps from one timestep to the next
@EndParameter


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