@BeginModule
@NewPage
@Name      = EcaEtr
@Title     = Intra-period extreme temperature range
@Section   = Climate indices
@Class     = Climate index
@Arguments = ifile1 ifile2 ofile
@Operators = eca_etr

@BeginDescription
Let @file{ifile1} and @file{ifile2} be time series of thr maximum and minimum
temperature TX and TN, respectively. Then the extreme temperature
range is the difference of the maximum of TX and the minimum of TN.
Note that TX and TN have to be given in the same units.
The date information of a timestep in @file{ofile} is the date of
the last contributing timesteps in @file{ifile1} and @file{ifile2}.
@EndDescription
@EndModule


@BeginOperator_eca_etr
@Title     = Intra-period extreme temperature range
@EndOperator


@BeginExample
To get the intra-period extreme temperature range for two time
series of maximum and minimum temperatures use:
@BeginVerbatim
   cdo eca_etr txfile tnfile ofile
@EndVerbatim
@EndExample
