# Potential bug in NEMO4.2 and higher for fixed OBC+tides

**URL:** <https://nemo-ocean.discourse.group/t/potential-bug-in-nemo4-2-and-higher-for-fixed-obc-tides/853>\
**Category:** v4.2.x\
**Tags:** BDY\
**Created:** [27 February 2025 21:03 UTC](https://nemo-ocean.discourse.group/t/potential-bug-in-nemo4-2-and-higher-for-fixed-obc-tides/853 "2025-02-27T21:03:36Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![dupontf](https://avatars.discourse-cdn.com/v4/letter/d/bb73d2/32.png) [@dupontf](https://nemo-ocean.discourse.group/u/dupontf)\
**Post date:** [27 February 2025 21:03 UTC](https://nemo-ocean.discourse.group/t/potential-bug-in-nemo4-2-and-higher-for-fixed-obc-tides/853/1 "2025-02-27T21:03:36Z")

</div>

Hi guys,

I have found a strange behaviour in `bdydta.F90` where tides are added indefinitely in the `dta_bdy` structure if the dta\_bdy structure is not updated (i.e., fixed or no-temporal interpolation).

I believe the same is true for atm pressure added at the OBC.

Anybody confirming that this is a known bug?

The problem: `dta_bdy` structure points to the `bf` fldread structure but those one are not updated if no time interpolation is required. Thus, the old values are recycled and tides are added to them indefinitely…

---

<div class="post-metadata">

**Author:** ![jchanut](https://yyz2.discourse-cdn.com/free1/user_avatar/nemo-ocean.discourse.group/jchanut/32/9_2.png) [@jchanut](https://nemo-ocean.discourse.group/u/jchanut)\
**Post date:** [28 February 2025 11:53 UTC](https://nemo-ocean.discourse.group/t/potential-bug-in-nemo4-2-and-higher-for-fixed-obc-tides/853/2 "2025-02-28T11:53:17Z")

</div>

Hi Fred,

A NEMO version please ?

---

<div class="post-metadata">

**Author:** ![dupontf](https://avatars.discourse-cdn.com/v4/letter/d/bb73d2/32.png) [@dupontf](https://nemo-ocean.discourse.group/u/dupontf)\
**Post date:** [28 February 2025 14:07 UTC](https://nemo-ocean.discourse.group/t/potential-bug-in-nemo4-2-and-higher-for-fixed-obc-tides/853/3 "2025-02-28T14:07:28Z")

</div>

Salut Jérôme, 4.2.2 as far as I am concerned, but looking at the code in the trunk it sounds like NEMO5.x.x has the same issue…
