# Nesting issue along the child boundary - A quick Solution

**URL:** <https://forum.croco-ocean.org/t/nesting-issue-along-the-child-boundary-a-quick-solution/83>\
**Category:** nesting\
**Tags:** nesting\
**Created:** [March 20, 2019, 3:20am UTC](https://forum.croco-ocean.org/t/nesting-issue-along-the-child-boundary-a-quick-solution/83 "2019-03-20T03:20:20Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![vcombes](https://forum.croco-ocean.org/letter_avatar_proxy/v4/letter/v/ba9def/32.png) [@vcombes](https://forum.croco-ocean.org/u/vcombes)\
**Post date:** [March 20, 2019, 3:20am UTC](https://forum.croco-ocean.org/t/nesting-issue-along-the-child-boundary-a-quick-solution/83/1 "2019-03-20T03:20:20Z")

</div>

Perhaps some of you have encountered this feature along the child boundary when running a 2-ways nesting experiment.

In the attached figure, I am showing **on the left** the SSH 5 days after initialization of a 2 ways nesting experiment.  
As you can see, there are some weird/unrealistic SSH errors along the boundary (magenta line).  
(In this particular example, the parent grid is 1/2 degree resolution, the child has a 1/6 degree resolution)  
By the way, this error does not seem to propagate

**On the right** is a quick fix that seems to work.  
In the cppdef\_dev.h, I define the following:  
  
  
define AGRIF\_UPDATE\_MIX  
  
  
define AGRIF\_UPDATE\_DECAL (This one is undefined by default)

I have not really looked at it in detailed, but maybe this could help some of the croco users.

cheers,

Vincent

![image description](https://forum.croco-ocean.org/uploads/default/original/1X/a41ba89c74d918d82f2667a8c26e2016ebf8a14b.jpeg)

---

<div class="post-metadata">

**Author:** ![pmarchesiello](https://forum.croco-ocean.org/user_avatar/forum.croco-ocean.org/pmarchesiello/32/378_2.png) [@pmarchesiello](https://forum.croco-ocean.org/u/pmarchesiello)\
**Post date:** [March 20, 2019, 8:50am UTC](https://forum.croco-ocean.org/t/nesting-issue-along-the-child-boundary-a-quick-solution/83/2 "2019-03-20T08:50:07Z")

</div>

Hi Vincent, this is useful. in Debreu et al. (2012), AGRIF\_UPDATE\_DECAL gave the best results on the Vortex text case. However, in some cases (not all obviously) it was found to affect the SSH child solution and it was recently left undefined by default for this reason (it is also undefined in the NEMO code). Your example shows that we should look at it again and at least be aware … Patrick
