Date: Fri, 29 Mar 2024 00:52:12 +0100 (CET) Message-ID: <131945906.3114.1711669932763@v-public003.directory.intra> Subject: Exported From Confluence MIME-Version: 1.0 Content-Type: multipart/related; boundary="----=_Part_3113_1372176139.1711669932762" ------=_Part_3113_1372176139.1711669932762 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Content-Location: file:///C:/exported.html
schema: |
|
keywords: |
transformation, interpolation |
This transformation function is used to fill inner gaps in a time series= . The inner gaps are filled with linearly interpolated data values.
A gap is defined as a number of consecutive values that are unreliable o= r missing. An inner gap is defined as a gap for which there is at least one= reliable or doubtful value before the gap and at least one reliable or dou= btful value after the gap. This function fills only inner gaps.
Each inner gap is filled using linear interpolation between the value ju= st before the gap and the value just after the gap.
This function has an option to define the maximum length of the gaps tha= t should be filled. Gaps that are equal to or smaller than the defined maxi= mum gap length will be filled with interpolated values. Gaps that are large= r than the defined maximum gap length will not be filled.
The interpolation serial transformation also has the possibility to conf= igure a custom flagSource to be assigned to a flagSourceColumn for interpol= ated values.
In this function one input time series and one output time series must b= e identified.
The in- and output time series may be of the type coverage, where each t= imestep is represented by a grid coverage, in this case coverages that are = missing for a specific timestep will be created by interpolation of the pre= vious and next available coverage. Optionally, you can enable interpolation= of missing pixels within the coverages by specifying the option <interp= olateGrids> as true.
A basic configuration of the function is described below. This describes= the main elements and attributes required and provides an example configur= ation.
inputVariable
Required element defining the identifier of the input time series with inp=
ut values. This Id must reference a valid input time series.
outputVariable
Required element defining the identifier of the output time series with ou=
tput values. This Id must reference a valid output time series.
maxGapLength
Optional element defining the maximum length of gaps that should be filled=
. The length is equal to the number of time steps. Gaps equal to or smaller=
than maxGapLength will be filled with interpolated values. Gaps l=
arger than maxGapLength will not be filled. If maxGapLength =
em>is not defined (the default), then all gaps will be filled with interpol=
ated values.
interpolateMissingGridCells
Since 2022.01: Optional element that can be set to 'true' to enable the in=
terpolation of missing grid cells (pixels) for grid coverage time series (d=
efault is false). When using this option it is recommended to specify the <=
em>maxGapLength as the default maxGapLength value of=
1 time step will be used otherwise. Note that this default behavior is dif=
ferent from the standard maxGapLength default behavior explai=
ned, in order to prevent excessive memory use for this interpolation.
outputCustomFlagSourceId
Optional element to define what customFlagSource should be written to=
the flagSourceColumn (defined in the workflow file) for interpolated value=
s. The customFlagSourceId should be configured in CustomFlagSources configuration file.&nbs=
p;
outputComment if outputCustomFlagSourceId is being used, then the outputComment is added for the missing values.= For the available values, the input comments would be used.
Example
<tran= sformation id=3D"interpolation serial linear"> =09<interpolationSerial> =09=09<linear> =09=09=09<inputVariable> =09=09=09=09<variableId>input</variableId> =09=09=09</inputVariable> =09=09=09<maxGapLength>5</maxGapLength> =09=09=09<interpolateMissingGridCells>false</interpolateMissingGri= dCells> <outputVariable> =09=09=09=09<variableId>output</variableId> =09=09=09</outputVariable> =09=09=09<outputComment>outputCommentTest</outputComment> <outputCustomFlagSourceId>INTP</outputCustomFlagSource= Id> =09=09</linear> =09</interpolationSerial> </transformation>
None reported.