# Ozone Ancil grid spacing error using Xancil

**URL:** <https://cms-helpdesk.ncas.ac.uk/t/ozone-ancil-grid-spacing-error-using-xancil/1780>\
**Category:** Uncategorized\
**Created:** [18 August 2025 12:25 UTC](https://cms-helpdesk.ncas.ac.uk/t/ozone-ancil-grid-spacing-error-using-xancil/1780 "2025-08-18T12:25:37Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![James\_Weber](https://avatars.discourse-cdn.com/v4/letter/j/e495f1/32.png) [@James\_Weber](https://cms-helpdesk.ncas.ac.uk/u/James_Weber)\
**Post date:** [18 August 2025 12:25 UTC](https://cms-helpdesk.ncas.ac.uk/t/ozone-ancil-grid-spacing-error-using-xancil/1780/1 "2025-08-18T12:25:37Z")

</div>

Hi,

I’m trying to run simulations with prescribed ozone (stash\_req = 60). I have taken a 12 month climatology of UKCA O3 (stash 34001) with shape (12,85,144,192) and used xancil to create an ozone ancil (using the ozone subsection in the Atmosphere Ancillary Files list). UM model version number is set to 11.2 (suites I am using range from vn 11-12), atmosphere grid is ENDgame, I specific 85 model levels and 85 ozone levels and for the vertical file namelist file I use one which has successfully generated dump files for UKCA species.

When I try to run with this ancil, initially the model fails with the below message - setting l\_ignore\_ancil\_grid\_check=.true. turns the error into a warning and allows the model to run.

**rose-app.conf entry**

- [namelist:items(d7ac3352)]

**Error / Warning**

- ? Warning code: -30000

Even though the error can be converted to a warning, allowing the model to run, I think I need to fix the issue because, when I compared the dump file for 00:00 1st Jan after a one year run to the mean of Jan and Dec of original netcdf used to create the ancil, there were several clear spatial differences.

It is suspicious that the x grid spacing : -1073741824.0000000000 appears to be one of the default fill values which makes me think it could be issue of a mask somewhere in the ancil generation.

Would you have any advice?

Cheers

James

---

<div class="post-metadata">

**Author:** ![Luke](https://dub1.discourse-cdn.com/flex013/user_avatar/cms-helpdesk.ncas.ac.uk/luke/32/45_2.png) [@Luke](https://cms-helpdesk.ncas.ac.uk/u/Luke)\
**Post date:** [18 August 2025 13:03 UTC](https://cms-helpdesk.ncas.ac.uk/t/ozone-ancil-grid-spacing-error-using-xancil/1780/2 "2025-08-18T13:03:14Z")

</div>

Hi James,

Is the original ancillary a zonal mean, or is your new ancillary a zonal mean? It might be that it’s only expecting a single X point and so the grid spacing is set to missing data. There is a namelist entry to switch to using a 3D ancillary (`zon_av_ozone` I think).

Best wishes,

Luke

---

<div class="post-metadata">

**Author:** ![James\_Weber](https://avatars.discourse-cdn.com/v4/letter/j/e495f1/32.png) [@James\_Weber](https://cms-helpdesk.ncas.ac.uk/u/James_Weber)\
**Post date:** [18 August 2025 15:13 UTC](https://cms-helpdesk.ncas.ac.uk/t/ozone-ancil-grid-spacing-error-using-xancil/1780/3 "2025-08-18T15:13:49Z")

</div>

Thanks, Luke. When I use xconv on my ancil, it has time/altitude/latitude/longitude axes. In the suite (u-dr980) I have zon\_av\_ozone=.false. and i\_ozone\_int=1 (3D) so I think everything is set for 3D fields.

Best wishes,

James

---

<div class="post-metadata">

**Author:** ![James\_Weber](https://avatars.discourse-cdn.com/v4/letter/j/e495f1/32.png) [@James\_Weber](https://cms-helpdesk.ncas.ac.uk/u/James_Weber)\
**Post date:** [26 August 2025 13:47 UTC](https://cms-helpdesk.ncas.ac.uk/t/ozone-ancil-grid-spacing-error-using-xancil/1780/4 "2025-08-26T13:47:18Z")

</div>

Just an update on this for anyone in a similar situation. When I did a 15 day run (360-day calendar), the dump at 00:00 16th Jan matched the ancil monthly mean perfectly.

James

---

<div class="post-metadata">

**Author:** ![system](https://europe1.discourse-cdn.com/flex013/uploads/cms_support/original/1X/1fd2411499ffcbc299fe756cd5cdf26e44956558.png) [@system](https://cms-helpdesk.ncas.ac.uk/u/system)\
**Post date:** [25 September 2025 13:48 UTC](https://cms-helpdesk.ncas.ac.uk/t/ozone-ancil-grid-spacing-error-using-xancil/1780/5 "2025-09-25T13:48:01Z")

</div>

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
