Find Cell Data - Based on csv file

I want to extract only cells below the white line. The white line is from a csv file I used “TabletoPoint” to get the plot. The csv file has two columns with x and y locations.

I have an idea but idk how to execute it. For every cell in the mesh :

if (Cell_x == CSV_x && Cell_y <=CSV_y) : Keep that cell
Else: Remove that cell

Thank you for your time and help

Edit → FindData → Query

I am new to Paraview, within the FindData how to apply.
boundary_extraction is csv file which is the white line.

My bad, this cannot work. You need to implement this in a programmable filter I’m afraid.

Okay, thanks for the reply. How to get started with the programming part of ParaView?

https://docs.paraview.org/en/latest/ReferenceManual/pythonProgrammableFilter.html

Thank you