# UM-UKCA run error

**URL:** <https://cms-helpdesk.ncas.ac.uk/t/um-ukca-run-error/1939>\
**Category:** Unified Model\
**Created:** [11 December 2025 13:24 UTC](https://cms-helpdesk.ncas.ac.uk/t/um-ukca-run-error/1939 "2025-12-11T13:24:24Z")\
**Posts on this page:** 12\
**Page:** 1

<div class="post-metadata">

**Author:** ![emxin](https://avatars.discourse-cdn.com/v4/letter/e/8baadc/32.png) [@emxin](https://cms-helpdesk.ncas.ac.uk/u/emxin)\
**Post date:** [11 December 2025 13:24 UTC](https://cms-helpdesk.ncas.ac.uk/t/um-ukca-run-error/1939/1 "2025-12-11T13:24:24Z")

</div>

Hi CMS,

My user ID is emxin, and the suite I am working on is u-dv236. I encountered a problem when I tried to add a new sea-salt aerosol Aitken mode to the UM-UKCA, following previous work. Since I could not directly use their branches in my suite, thus I merged the relevant code into my UM and UKCA branches. My model failed in running “atoms-main” with the error message shown below:

? Error code: 702  
? Error from routine: ATM\_STEP\_4A\_MOD:ATM\_STEP\_4A  
? Error message: ukca\_radaer\_get: Diag(s) needed for UKCA are missing from D1.

Could you please help with what caused the failure? Thanks!

Best,

Xin

---

<div class="post-metadata">

**Author:** ![grenville](https://dub1.discourse-cdn.com/flex013/user_avatar/cms-helpdesk.ncas.ac.uk/grenville/32/29_2.png) [@grenville](https://cms-helpdesk.ncas.ac.uk/u/grenville)\
**Post date:** [11 December 2025 14:37 UTC](https://cms-helpdesk.ncas.ac.uk/t/um-ukca-run-error/1939/2 "2025-12-11T14:37:50Z")

</div>

Xin

Why could you not use “their branches” ?

Grenville

---

<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:** [11 December 2025 14:42 UTC](https://cms-helpdesk.ncas.ac.uk/t/um-ukca-run-error/1939/3 "2025-12-11T14:42:31Z")

</div>

Hi Xin,

Quick suggestion: When I have had this error in the past it has been because the options codes in STASHmaster\_A were such that certain tracers where not “selected” when running.

Try removing the two 1 values in the option code for 34261 / 51261 (3rd line) and setting them to zero, at least for a test.

You will need commit your stashmaster changes and give it a few minutes before you rerun.

Cheers,

James

| |
| --- |
| |

---

<div class="post-metadata">

**Author:** ![emxin](https://avatars.discourse-cdn.com/v4/letter/e/8baadc/32.png) [@emxin](https://cms-helpdesk.ncas.ac.uk/u/emxin)\
**Post date:** [11 December 2025 14:59 UTC](https://cms-helpdesk.ncas.ac.uk/t/um-ukca-run-error/1939/4 "2025-12-11T14:59:30Z")

</div>

Grenville,

The main reason is that I do not need to add an extra SSA emission tracer that was included in their branches. FYI, I got the same error message when directly using part of their branches. Therefore, I manually added the relevant codes to my ranches. Thus, I think the original codes may contain something incomplete, but I am not sure. This is why I asked for help.

Best,

Xin

---

<div class="post-metadata">

**Author:** ![emxin](https://avatars.discourse-cdn.com/v4/letter/e/8baadc/32.png) [@emxin](https://cms-helpdesk.ncas.ac.uk/u/emxin)\
**Post date:** [12 December 2025 19:27 UTC](https://cms-helpdesk.ncas.ac.uk/t/um-ukca-run-error/1939/5 "2025-12-12T19:27:39Z")

</div>

Hi James,

Thanks for the helpful message. You pointed out something (option code in STASHmaster\_A) I never thought of before. However, after some tests, I found the error is not related to tracer 34261 and 51261 (they worked well). In this new run, I added one new prognostics tracer 34127 (and 51127) and one standard tracer 34860 (and 51860), they both are SS aerosols. Were their option codes not correctly given? I listed the codes used below; maybe someone can take a look and see if they need improvement. BTW, I have initialised their values to 1.0000000E-15.

# 

1| 1 | 34 | 127 |AITKEN MODE (SOLUBLE) SEA SALT MMR |

2| 2 | 0 | 1 | 1 | 2 | 40 | 11 | 0 | 0 | 0 | 0 |

3| 100000000000000000001010000011 | 00000000000000000001 | 1 |

4| 1 | 0 | -99 -99 -99 -99 -99 -99 -99 -99 -99 -99 |

5| 0 | 2227 | 0 | 65 | 0 | 0 | 0 | 0 | 0 |

#

1| 1 | 51 | 127 |AITK MODE (SOL) SEASALT ON PRS LEVS |

2| 0 | 0 | 1 | 1 | 3 | 1 | 2 | 0 | 0 | 0 | 1 |

3| 100000000000000000000000000000 | 00000000000000000001 | 3 |

4| 1 | 0 | -99 -99 -99 -99 -99 -99 -99 -99 -99 -99 |

5| 0 | 2227 | 0 | 8 | 0 | 0 | 0 | 0 | 0 |

1| 1 | 34 | 860 |SS PARTIAL VOLUME CONC (AIT-SOL) |

2| 2 | 0 | 1 | 1 | 2 | 40 | 11 | 0 | 0 | 0 | 0 |

3| 100000000000000000005000000000 | 00000000000000000001 | 3 |

4| 1 | 0 | -99 -99 -99 -99 -99 -99 -99 -99 -99 -99 |

5| 0 | 0 | 0 | 65 | 0 | 0 | 0 | 0 | 0 |

#

1| 1 | 51 | 860 |AITK MODE (SOL) SS ON PRESS LEVELS |

2| 0 | 0 | 1 | 1 | 3 | 1 | 2 | 0 | 0 | 0 | 1 |

3| 100000000000000000000000000000 | 00000000000000000001 | 3 |

4| 1 | 0 | -99 -99 -99 -99 -99 -99 -99 -99 -99 -99 |

5| 0 | 0 | 0 | 8 | 0 | 0 | 0 | 0 | 0 |

Other changes are:

in UM (committed revision 132143):

· [control/stash/um\_stashcode\_mod.F90](https://code.metoffice.gov.uk/trac/um/browser/main/branches/dev/matthewwoodhouse/vn13.0_SSinAit/src/control/stash/um_stashcode_mod.F90?rev=127566 "Show entry in browser")([2 diffs](https://code.metoffice.gov.uk/trac/um/changeset?reponame=&new=127566%40main%2Fbranches%2Fdev%2Fmatthewwoodhouse%2Fvn13.0_SSinAit&old=111272%40main%2Ftrunk#file0 "Show differences"))

· [control/ukca\_interface/ukca\_radaer\_init-ukca1.F90](https://code.metoffice.gov.uk/trac/um/browser/main/branches/dev/matthewwoodhouse/vn13.0_SSinAit/src/control/ukca_interface/ukca_radaer_init-ukca1.F90?rev=127566 "Show entry in browser")([4 diffs](https://code.metoffice.gov.uk/trac/um/changeset?reponame=&new=127566%40main%2Fbranches%2Fdev%2Fmatthewwoodhouse%2Fvn13.0_SSinAit&old=111272%40main%2Ftrunk#file1 "Show differences"))

· [control/ukca\_interface/ukca\_setd1defs.F90](https://code.metoffice.gov.uk/trac/um/browser/main/branches/dev/matthewwoodhouse/vn13.0_SSinAit/src/control/ukca_interface/ukca_setd1defs.F90?rev=127566 "Show entry in browser")([3 diffs](https://code.metoffice.gov.uk/trac/um/changeset?reponame=&new=127566%40main%2Fbranches%2Fdev%2Fmatthewwoodhouse%2Fvn13.0_SSinAit&old=111272%40main%2Ftrunk#file2 "Show differences"))

· [utility/qxreconf/rcf\_set\_data\_source\_mod.F90](https://code.metoffice.gov.uk/trac/um/browser/main/branches/dev/matthewwoodhouse/vn13.0_SSinAit/src/utility/qxreconf/rcf_set_data_source_mod.F90?rev=127566 "Show entry in browser")([2 diffs](https://code.metoffice.gov.uk/trac/um/changeset?reponame=&new=127566%40main%2Fbranches%2Fdev%2Fmatthewwoodhouse%2Fvn13.0_SSinAit&old=111272%40main%2Ftrunk#file3 "Show differences"))

in UKCA (committed revision 8135):

· [control/core/interface/ukca\_fieldname\_mod.F90](https://code.metoffice.gov.uk/trac/ukca/browser/main/branches/dev/matthewwoodhouse/um13.0_SSinAit/src/control/core/interface/ukca_fieldname_mod.F90?rev=5133 "Show entry in browser")([1 diff](https://code.metoffice.gov.uk/trac/ukca/changeset?reponame=&new=5133%40main%2Fbranches%2Fdev%2Fmatthewwoodhouse%2Fum13.0_SSinAit&old=264%40main%2Ftrunk#file0 "Show differences"))

· [control/core/interface/ukca\_ntp\_mod.F90](https://code.metoffice.gov.uk/trac/ukca/browser/main/branches/dev/matthewwoodhouse/um13.0_SSinAit/src/control/core/interface/ukca_ntp_mod.F90?rev=5133 "Show entry in browser")([4 diffs](https://code.metoffice.gov.uk/trac/ukca/changeset?reponame=&new=5133%40main%2Fbranches%2Fdev%2Fmatthewwoodhouse%2Fum13.0_SSinAit&old=264%40main%2Ftrunk#file1 "Show differences"))

· [science/core/aerosols/glomap/ukca\_aero\_ctl.F90](https://code.metoffice.gov.uk/trac/ukca/browser/main/branches/dev/matthewwoodhouse/um13.0_SSinAit/src/science/core/aerosols/glomap/ukca_aero_ctl.F90?rev=5133 "Show entry in browser")([1 diff](https://code.metoffice.gov.uk/trac/ukca/changeset?reponame=&new=5133%40main%2Fbranches%2Fdev%2Fmatthewwoodhouse%2Fum13.0_SSinAit&old=264%40main%2Ftrunk#file2 "Show differences"))

· [science/core/aerosols/glomap/ukca\_mode\_setup.F90](https://code.metoffice.gov.uk/trac/ukca/browser/main/branches/dev/matthewwoodhouse/um13.0_SSinAit/src/science/core/aerosols/glomap/ukca_mode_setup.F90?rev=5127 "Show entry in browser")([1 diff](https://code.metoffice.gov.uk/trac/ukca/changeset?reponame=&new=5133%40main%2Fbranches%2Fdev%2Fmatthewwoodhouse%2Fum13.0_SSinAit&old=264%40main%2Ftrunk#file3 "Show differences"))

· [science/core/aerosols/glomap/ukca\_prim\_ss.F90](https://code.metoffice.gov.uk/trac/ukca/browser/main/branches/dev/matthewwoodhouse/um13.0_SSinAit/src/science/core/aerosols/glomap/ukca_prim_ss.F90?rev=5127 "Show entry in browser")([1 diff](https://code.metoffice.gov.uk/trac/ukca/changeset?reponame=&new=5133%40main%2Fbranches%2Fdev%2Fmatthewwoodhouse%2Fum13.0_SSinAit&old=264%40main%2Ftrunk#file4 "Show differences"))

· [science/radaer/ukca\_check\_radaer\_coupling\_mod.F90](https://code.metoffice.gov.uk/trac/ukca/browser/main/branches/dev/matthewwoodhouse/um13.0_SSinAit/src/science/radaer/ukca_check_radaer_coupling_mod.F90?rev=5133 "Show entry in browser")([1 diff](https://code.metoffice.gov.uk/trac/ukca/changeset?reponame=&new=5133%40main%2Fbranches%2Fdev%2Fmatthewwoodhouse%2Fum13.0_SSinAit&old=264%40main%2Ftrunk#file5 "Show differences"))

Best,

Xin

---

<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:** [16 December 2025 09:02 UTC](https://cms-helpdesk.ncas.ac.uk/t/um-ukca-run-error/1939/6 "2025-12-16T09:02:17Z")

</div>

Hi Xin,

From memory, I had this issue when I was trying to set up Mode Setup 4, following [UKCA Chemistry and Aerosol vn10.4 Tutorial 11 - UKCA](https://www.ukca.ac.uk/wiki/index.php/UKCA_Chemistry_and_Aerosol_vn10.4_Tutorial_11) where multiple prognostics needed to have their option code updated to work with mode setup 4. I wonder if it is a similar situation here. Can you ensure all new tracers have the same option codes as the tracers which already work for the given mode setup you are using?

In your aerosol changes, have you also ensured that the aerosol setup you intend to use expects Aitken mode sea salt?

Let me know,

James

---

<div class="post-metadata">

**Author:** ![emxin](https://avatars.discourse-cdn.com/v4/letter/e/8baadc/32.png) [@emxin](https://cms-helpdesk.ncas.ac.uk/u/emxin)\
**Post date:** [16 December 2025 10:55 UTC](https://cms-helpdesk.ncas.ac.uk/t/um-ukca-run-error/1939/7 "2025-12-16T10:55:01Z")

</div>

Hi James,

Thanks for the further message. It seems I know what caused the problem: my current suite setup has an I\_MODE\_SETUP=2 option, which does not work with the new SS tracers in the Aitkin mode. Thus, I changed to I\_MODE\_SETUP=8 in the new setup. I am testing and will let you know if I have a confirmed result.

Best,

Xin

---

<div class="post-metadata">

**Author:** ![emxin](https://avatars.discourse-cdn.com/v4/letter/e/8baadc/32.png) [@emxin](https://cms-helpdesk.ncas.ac.uk/u/emxin)\
**Post date:** [28 December 2025 01:00 UTC](https://cms-helpdesk.ncas.ac.uk/t/um-ukca-run-error/1939/8 "2025-12-28T01:00:51Z")

</div>

Hi there,

I have made some progress, but am still unsure about a few things that need your advice. For example, is option i\_mode\_setup=2 supporting the Aithin mode for sea salt? Currently, it only supports accumulation and nucleation modes; I feel it would be easier to work on top of this option, but I may be wrong to do so.

Best,

Xin

### 

### **i\_mode\_setup=2**

---

<div class="post-metadata">

**Author:** ![emxin](https://avatars.discourse-cdn.com/v4/letter/e/8baadc/32.png) [@emxin](https://cms-helpdesk.ncas.ac.uk/u/emxin)\
**Post date:** [30 December 2025 13:52 UTC](https://cms-helpdesk.ncas.ac.uk/t/um-ukca-run-error/1939/9 "2025-12-30T13:52:26Z")

</div>

Hi there,

Happy New Year to you all!

Just to let you know that I have made it work with the standard option of i\_mode\_setup=2.

xin

---

<div class="post-metadata">

**Author:** ![emxin](https://avatars.discourse-cdn.com/v4/letter/e/8baadc/32.png) [@emxin](https://cms-helpdesk.ncas.ac.uk/u/emxin)\
**Post date:** [14 January 2026 12:34 UTC](https://cms-helpdesk.ncas.ac.uk/t/um-ukca-run-error/1939/10 "2026-01-14T12:34:21Z")

</div>

Hi there,

Since this is a follow-up question, I did not raise a new ticket for it.

The added tracer (34127) seems to work well. However, the outputs for this tracer, both the monthly mean (UPM) and the 3-hourly, are inconsistent, which is strange. I can see that the results in the monthly mean are fine (with a level of 1E-12), but the 3-hourly file (UP8) does not appear to capture the new tracer values, giving ~1E-16, close to the initial value given in “Reconfiguration and Ancillary Control” by initialising its value to a constant value of 1E-15. Could you please instruct me on how to fix this problem?

Cheers,

Xin

---

<div class="post-metadata">

**Author:** ![emxin](https://avatars.discourse-cdn.com/v4/letter/e/8baadc/32.png) [@emxin](https://cms-helpdesk.ncas.ac.uk/u/emxin)\
**Post date:** [15 January 2026 10:45 UTC](https://cms-helpdesk.ncas.ac.uk/t/um-ukca-run-error/1939/11 "2026-01-15T10:45:00Z")

</div>

Please ignore the above item as I raised a new ticket for it.

Xin

---

<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:** [14 February 2026 10:45 UTC](https://cms-helpdesk.ncas.ac.uk/t/um-ukca-run-error/1939/12 "2026-02-14T10:45:23Z")

</div>

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