# Sample planes from CSV

**URL:** https://discourse.paraview.org/t/sample-planes-from-csv/10053
**Category:** ParaView Support
**Created:** [July 26, 2022, 5:47am UTC](https://discourse.paraview.org/t/sample-planes-from-csv/10053 "2022-07-26T05:47:50Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![s195t](https://discourse.paraview.org/letter_avatar_proxy/v4/letter/s/54ee81/32.png) [@s195t](https://discourse.paraview.org/u/s195t)
#### Post date: [July 26, 2022, 5:47am UTC](https://discourse.paraview.org/t/sample-planes-from-csv/10053/1 "2022-07-26T05:47:50Z")

</div>

Hi everyone,

I have a set of planes (slices) from a CFD solution at different z positions and a csv with points in space. Now I am interested in sampling the surroundings of each of these points and save some local maxima/minima for each of these points.

What I think could work using pvpython is:

- Iterate through the points on the CSV
- Apply circular clip with center on point
- Query for maximas and minimas
- Delete and pass to the next point

Since I have a considerable amount of points (\>8000) distributed on 300 different planes this whole process could become very time consuming

Is there a proper way to do it?

Thanks in advance
