There is another method that does not use the Programmable
filter.
In that way, the use of nearest neighbor extrapolation, using the Voroni kernel of the Point Interpolation filter, extends the value at ymax to the entire region.
The steps are as follows:
-
Use the
Plot Over Line
filter to plot the data on a line parallel to the horizontal axis at ymax.
-
Using the Voronoi Kernel of the
Point Dataset Interpolator
filter, the ymax data is extrapolated to the nearest neighbor over the region. Here, specify the following:
-
Input:
PlotOverLine1
-
Source:
Slice1
-
Kernel:
VoronoiKernel
-
Select both
Slice1
andPointDataSetInterPolator1
on the Pipepline Browser while holding down the Ctrl key, and merge the data with theAppend Attributes
filter. -
Finally, the
p - hydroPres
could be calculated using theCalculator
filter.