# Extracting Upstream and Downstream Values in Telemac2D API

**URL:** <https://opentelemac.org/forum/t/extracting-upstream-and-downstream-values-in-telemac2d-api/7965>\
**Category:** TELAPY / ADAO / OPENTURNS / and co.\
**Created:** [March 14, 2025, 7:31pm UTC](https://opentelemac.org/forum/t/extracting-upstream-and-downstream-values-in-telemac2d-api/7965 "2025-03-14T19:31:34Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![user\_16895](https://opentelemac.org/forum/letter_avatar_proxy/v4/letter/u/bcef8e/32.png) [@user\_16895](https://opentelemac.org/forum/u/user_16895)\
**Post date:** [March 14, 2025, 7:31pm UTC](https://opentelemac.org/forum/t/extracting-upstream-and-downstream-values-in-telemac2d-api/7965/1 "2025-03-14T19:31:34Z")

</div>

Hello [name removed],

I am running Telemac2D using the API and can retrieve water depth and velocity at specific nodes by specifying their numbers. However, I would like to automatically extract the upstream and downstream values of these nodes (not the boundaries) within the model.

Is there a way to achieve this? Any guidance would be greatly appreciated!

Thanks!

---

<div class="post-metadata">

**Author:** ![user\_18862](https://opentelemac.org/forum/letter_avatar_proxy/v4/letter/u/e47774/32.png) [@user\_18862](https://opentelemac.org/forum/u/user_18862)\
**Post date:** [April 11, 2025, 3:45pm UTC](https://opentelemac.org/forum/t/extracting-upstream-and-downstream-values-in-telemac2d-api/7965/2 "2025-04-11T15:45:16Z")

</div>

Hello,

I am facing a similar issue to the one mentioned in this thread. I want to automatically extract the upstream and downstream values in Telemac2D using the API.

Any guidance on how to achieve this would be greatly appreciated!

Thanks!
