Using user-defined variable in calculator/python calculator

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:

  1. Use the Plot Over Line filter to plot the data on a line parallel to the horizontal axis at ymax.

  2. 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:

  1. Select both Slice1 and PointDataSetInterPolator1 on the Pipepline Browser while holding down the Ctrl key, and merge the data with the Append Attributes filter.

  2. Finally, the p - hydroPres could be calculated using the Calculator filter.

2 Likes