# Read data off a curved terrain.

**URL:** https://discourse.paraview.org/t/read-data-off-a-curved-terrain/6210
**Category:** ParaView Support
**Created:** [January 12, 2021, 2:49pm UTC](https://discourse.paraview.org/t/read-data-off-a-curved-terrain/6210 "2021-01-12T14:49:11Z")
**Posts on this page:** 8
**Page:** 1

<div class="post-metadata">

### Author: ![Olivier\_Dambron](https://discourse.paraview.org/user_avatar/discourse.paraview.org/olivier_dambron/32/2407_2.png) [@Olivier\_Dambron](https://discourse.paraview.org/u/Olivier_Dambron)
#### Post date: [January 12, 2021, 2:49pm UTC](https://discourse.paraview.org/t/read-data-off-a-curved-terrain/6210/1 "2021-01-12T14:49:11Z")

</div>

Hi everyone,

I’m trying to read data at 1.1m off the ground, but my ground is sloped/hilly.  
What would be the best way to use the ground’s geometry, offset it by 1.1m and read result there?

Thanks in advance;

Kind regards,  
Olivier

---

<div class="post-metadata">

### Author: ![mwestphal](https://discourse.paraview.org/user_avatar/discourse.paraview.org/mwestphal/32/17_2.png) [@mwestphal](https://discourse.paraview.org/u/mwestphal)
#### Post date: [January 12, 2021, 2:59pm UTC](https://discourse.paraview.org/t/read-data-off-a-curved-terrain/6210/2 "2021-01-12T14:59:25Z")

</div>

This is a bit unclear, can you share your dataset ?

---

<div class="post-metadata">

### Author: ![Olivier\_Dambron](https://discourse.paraview.org/user_avatar/discourse.paraview.org/olivier_dambron/32/2407_2.png) [@Olivier\_Dambron](https://discourse.paraview.org/u/Olivier_Dambron)
#### Post date: [January 12, 2021, 3:05pm UTC](https://discourse.paraview.org/t/read-data-off-a-curved-terrain/6210/3 "2021-01-12T15:05:27Z")

</div>

hi @mwestphal

Thanks for replying.

I’ll try to describe this better and if still needed I’ll share a demo dataset.

It’s a CFD simulation over a curved terrain, I’m trying to read the U velocity at 1.1m off the ground.The usual slice normal to Z doesnt work as it intersects the terrain many times.

let me know if this is clearer

---

<div class="post-metadata">

### Author: ![mwestphal](https://discourse.paraview.org/user_avatar/discourse.paraview.org/mwestphal/32/17_2.png) [@mwestphal](https://discourse.paraview.org/u/mwestphal)
#### Post date: [January 12, 2021, 3:09pm UTC](https://discourse.paraview.org/t/read-data-off-a-curved-terrain/6210/4 "2021-01-12T15:09:30Z")

</div>

So you have:

1. A volumic dataset with a U velocity defined everywhere
2. A surfacic dataset corresponding to the ground

Is that correct ?

---

<div class="post-metadata">

### Author: ![Olivier\_Dambron](https://discourse.paraview.org/user_avatar/discourse.paraview.org/olivier_dambron/32/2407_2.png) [@Olivier\_Dambron](https://discourse.paraview.org/u/Olivier_Dambron)
#### Post date: [January 12, 2021, 3:16pm UTC](https://discourse.paraview.org/t/read-data-off-a-curved-terrain/6210/5 "2021-01-12T15:16:57Z")

</div>

That is correct indeed.

I can either read results on a slice anywhere or also read results on surfaces of my geometries.

I’d like to use the shape of the ground , offset it by a distance along Z axis and read the volumic data there.

---

<div class="post-metadata">

### Author: ![mwestphal](https://discourse.paraview.org/user_avatar/discourse.paraview.org/mwestphal/32/17_2.png) [@mwestphal](https://discourse.paraview.org/u/mwestphal)
#### Post date: [January 12, 2021, 3:19pm UTC](https://discourse.paraview.org/t/read-data-off-a-curved-terrain/6210/6 "2021-01-12T15:19:23Z")

</div>

This should work then:

1. Open your volumic data, Apply
2. Open your surfacic data, Apply
3. Add a transform filter on the surface, Translation of 1.1 in z, Apply
4. Select the volume
5. Add a ResampleWithDataset filter
6. Select the transform as a secondary input
7. Apply

---

<div class="post-metadata">

### Author: ![Olivier\_Dambron](https://discourse.paraview.org/user_avatar/discourse.paraview.org/olivier_dambron/32/2407_2.png) [@Olivier\_Dambron](https://discourse.paraview.org/u/Olivier_Dambron)
#### Post date: [January 12, 2021, 3:26pm UTC](https://discourse.paraview.org/t/read-data-off-a-curved-terrain/6210/7 "2021-01-12T15:26:29Z")

</div>

@mwestphal you’re the best!

I had to hack my world for the past 3 years before this and lose so much time!!  
Thank you so much this is wonderful!!!

Best wishes

---

<div class="post-metadata">

### Author: ![mwestphal](https://discourse.paraview.org/user_avatar/discourse.paraview.org/mwestphal/32/17_2.png) [@mwestphal](https://discourse.paraview.org/u/mwestphal)
#### Post date: [January 12, 2021, 3:27pm UTC](https://discourse.paraview.org/t/read-data-off-a-curved-terrain/6210/8 "2021-01-12T15:27:27Z")

</div>

My pleasure 🙂
