# Horizontal zooms in NEMO 4.0.x

**URL:** https://nemo-ocean.discourse.group/t/horizontal-zooms-in-nemo-4-0-x/893
**Category:** v4.0.x
**Tags:** XIOS, orca
**Created:** [1 May 2025 08:34 UTC](https://nemo-ocean.discourse.group/t/horizontal-zooms-in-nemo-4-0-x/893 "2025-05-01T08:34:42Z")
**Posts on this page:** 1
**Showing post:** 4

<div class="post-metadata">

### Author: ![tmwilder](https://yyz2.discourse-cdn.com/free1/user_avatar/nemo-ocean.discourse.group/tmwilder/32/120_2.png) [@tmwilder](https://nemo-ocean.discourse.group/u/tmwilder)
#### Post date: [7 May 2025 09:12 UTC](https://nemo-ocean.discourse.group/t/horizontal-zooms-in-nemo-4-0-x/893/4 "2025-05-07T09:12:27Z")

</div>

Hi Robinson, hi Adam,

Thanks for these. Unfortunately I am no further and still getting the same error.

Adding the `<zoom_domain ...` to the `grid_def.xml` file instead of specifying in the `domain_def.xml` file, following [this](https://github.com/NOC-MSM/RAPID-Evolution/blob/main/cfgs/SHARED/grid_def_zoom2.xml)

```auto
<grid id="gridU3D_so_zoom" >
  <domain domain_ref="grid_U" >
    <zoom_domain ibegin="1" jbegin="210" ni="1442" nj="350" />
  </domain>
  <axis axis_ref="depthu" />
</grid>

```

then in `file_def.xml`

```auto
<file id="file1" name_suffix="_grid_U_zoom" >
  <field field_ref="uoce" grid_ref="gridU3D_so_zoom" name="uo" />
</file>

```

n.b. in first comment I accidentally wrote grid\_T instead of grid\_U.

I noticed that `axis_ref=deptht` is used for all grids in `grid_def.xml` [here](https://github.com/NOC-MSM/RAPID-Evolution/blob/main/cfgs/SHARED/grid_def_zoom2.xml)…?

Nevertheless, trying to output `toce_con` still results in the same error, just different core dump ranks.

This is not something to do with xios attached mode seen in [this](https://nemo-ocean.discourse.group/t/zoom-example-in-nemo-4-2-2/697/13) thread?

Cheers for your help so far

---

_[View the full topic](https://nemo-ocean.discourse.group/t/horizontal-zooms-in-nemo-4-0-x/893)._
