Description

Set of rules to allow selection of lows from an input time series.

Input

Timeseries

Options

In the configuration of low selections there are two choices for refining the selection:

  • An attribute "totalNumberBeforeT0" must be defined. The value attribute defines the maximum number of lows to consider before T0.
  • An attribute "totalNumberAfterT0" must be defined. The value attribute defines the maximum number of lows to consider after T0.
  • An attribute "skipJustBeforeT0" indicates how many lows to skip just before T0. (optional)
  • An attribute "skipJustAfterT0" indicates how many lows to skip just after T0. (optional)

or

  • An attribute "totalNumber" must be defined. The value attribute defines the maximum number of lows to consider.
Output

Timeseries containing the selection of lows

Configuration example
SelectionLowsFunctionTest 1.00 default.xml
<transformation id="lows function test">
   <selection>
      <lows>
         <inputVariable>
            <timeSeriesSet>
               <moduleInstanceId>SelectionLowsFunctionTest</moduleInstanceId>
               <valueType>scalar</valueType>
               <parameterId>H.tidal</parameterId>
               <locationId>H-2010</locationId>
               <timeSeriesType>external historical</timeSeriesType>
               <timeStep unit="minute" multiplier="15"/>
               <relativeViewPeriod unit="day" start="0" end="365"/>
               <readWriteMode>editing visible to all future task runs</readWriteMode>
            </timeSeriesSet>
         </inputVariable>
         <totalNumberBeforeT0>3</totalNumberBeforeT0>
         <totalNumberAfterT0>4</totalNumberAfterT0>
         <skipJustBeforeT0>2</skipJustBeforeT0>
         <skipJustAfterT0>2</skipJustAfterT0>			
         <outputVariable>
            <timeSeriesSet>
               <moduleInstanceId>SelectionLowsFunctionTest</moduleInstanceId>
               <valueType>scalar</valueType>
               <parameterId>H.updated</parameterId>
               <locationId>H-2010</locationId>
               <timeSeriesType>external historical</timeSeriesType>
               <timeStep unit="nonequidistant"/>
               <relativeViewPeriod unit="day" start="-5" end="15"/>
               <readWriteMode>add originals</readWriteMode>
            </timeSeriesSet>
         </outputVariable>
      </lows>
   </selection>
</transformation>

In this example:

  • Only the last three lows before T0 and the first four lows after T0 are considered.
  • The first two lows of the last three lows just before T0 are skipped, leaving only the third last one.
  • Similarly the first two lows just after T0 are skipped, leaving the third and fourth ones.
  • No labels