# Changing the diag table in ACCESS-CM2

**URL:** https://forum.access-hive.org.au/t/changing-the-diag-table-in-access-cm2/5555
**Category:** Coupled Model
**Tags:** help
**Created:** [17 November 2025 05:53 UTC](https://forum.access-hive.org.au/t/changing-the-diag-table-in-access-cm2/5555 "2025-11-17T05:53:30Z")
**Posts on this page:** 5
**Page:** 1

<div class="post-metadata">

### Author: ![wghuneke](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.access-hive.org.au/wghuneke/32/102_2.png) [@wghuneke](https://forum.access-hive.org.au/u/wghuneke)
#### Post date: [17 November 2025 05:53 UTC](https://forum.access-hive.org.au/t/changing-the-diag-table-in-access-cm2/5555/1 "2025-11-17T05:53:30Z")

</div>

Hi,

I want to change the ocean diag table. As a first step, I copied the existing diag table from `/g/data/access/access-cm2/input_O1/mom5_360x300/CMIP6_diagtable_as7904_20190814` to a local directory. I updated the path to the diag table in `/app/coupled/rose-suite.conf` and updated the storage flags in `suite.rc`.

When doing a test run (i.e. using the same diag table just from a different location) I get a `bad or missing value` error message. Does anyone have a suggestion what I’m doing wrong?

Thanks,  
Wilma

---

<div class="post-metadata">

### Author: ![spencerwong](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.access-hive.org.au/spencerwong/32/1894_2.png) [@spencerwong](https://forum.access-hive.org.au/u/spencerwong)
#### Post date: [18 November 2025 05:12 UTC](https://forum.access-hive.org.au/t/changing-the-diag-table-in-access-cm2/5555/2 "2025-11-18T05:12:29Z")

</div>

Hi @wghuneke,

I’ve had a go repeating the same steps with the `u-cy339` suite.  
Specifically changing:

#### `app/coupled/rose-app.conf`

```diff
 [file:$OCN_RUNDIR/INPUT/diag_table]
-source=~access/access-cm2/input_O1/mom5_360x300/CMIP6_diagtable_as7904_20190814
+source=/g/data/lg87/sw6175/cm2-diagtable/CMIP6_diagtable_as7904_20190814

```

#### `suite.rc`

```diff
    [[NCI]]
...
- -l storage = gdata/{{PROJECT}}+gdata/access+gdata/xp65+gdata/hr22+gdata/ki32
+ -l storage = gdata/{{PROJECT}}+gdata/access+gdata/xp65+gdata/hr22+gdata/ki32+gdata/lg87

```

This worked in a short 1 month run without crashing. Do these match the changes you made? Would you be able to copy the complete error message?

Thanks,  
Spencer

---

<div class="post-metadata">

### Author: ![wghuneke](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.access-hive.org.au/wghuneke/32/102_2.png) [@wghuneke](https://forum.access-hive.org.au/u/wghuneke)
#### Post date: [18 November 2025 05:30 UTC](https://forum.access-hive.org.au/t/changing-the-diag-table-in-access-cm2/5555/3 "2025-11-18T05:30:49Z")

</div>

Hi Spencer,

Thanks you for having a look into this.

I have the following storage flag in my `suite.rc`:  
`-l storage = gdata/x77+scratch/x77+gdata/access+gdata/xp65+gdata/p66+gdata/hr22+gdata/ki32+gdata/lg87`

And my `app/coupled/rose-app.conf` looks like this:  
`[file:$OCN_RUNDIR/INPUT/diag_table]`  
`#source=~access/access-cm2/input_O1/mom5_360x300/CMIP6_diagtable_as7904_20190814`  
`source=/g/data/x77/wgh581/inputs/access-cm2/mom5_360x300/CMIP6_diagtable_as7904_20190814`

This is the error message I get:

```auto
Using the cylc session localhost

Loading cylc7/23.09
Loading requirement: mosrs-setup/1.0.1

Package -----------------------------.- Versions --------.- Last mod. -------
Currently Loaded Modulefiles:
nco/5.0.5 2022/02/01 00:26:36
ncview/2.1.7 2019/12/02 03:32:10
mosrs-setup/1.0.1 2023/03/31 02:19:50
cylc7/23.09 2023/10/20 06:10:48
python2-as-python 2019/11/04 03:02:35
openmpi/4.0.2 2022/02/14 19:20:11
fcm/2019.09.0 2020/12/14 04:10:00
pythonlib/f90nml/1.0.2 2020/12/14 04:15:56
[WARN] file:/home/581/wgh581/cylc-run/u-dt651/work/09500101/coupled/ATM_RUNDIR/IDEALISE: skip missing optional source: namelist:idealise
[WARN] file:/home/581/wgh581/cylc-run/u-dt651/work/09500101/coupled/ATM_RUNDIR/STASHC: skip missing optional source: namelist:exclude_package(

[WARN] file:/home/581/wgh581/cylc-run/u-dt651/work/09500101/coupled/ATM_RUNDIR/RECONA: skip missing optional source: namelist:trans(

[FAIL] file:/home/581/wgh581/cylc-run/u-dt651/work/09500101/coupled/OCN_RUNDIR/INPUT/diag_table=source=/g/data/x77/wgh581/inputs/access-cm2/mom5_360x300/CMIP6_diagtable_as7904_20190814: bad or missing value
2025-11-17T05:30:28Z CRITICAL - failed/EXIT

```

Thanks,

Wilma

---

<div class="post-metadata">

### Author: ![wghuneke](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.access-hive.org.au/wghuneke/32/102_2.png) [@wghuneke](https://forum.access-hive.org.au/u/wghuneke)
#### Post date: [18 November 2025 22:59 UTC](https://forum.access-hive.org.au/t/changing-the-diag-table-in-access-cm2/5555/4 "2025-11-18T22:59:39Z")

</div>

Argh, apologies. The path to the new location was wrong!

---

<div class="post-metadata">

### Author: ![spencerwong](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.access-hive.org.au/spencerwong/32/1894_2.png) [@spencerwong](https://forum.access-hive.org.au/u/spencerwong)
#### Post date: [18 November 2025 23:03 UTC](https://forum.access-hive.org.au/t/changing-the-diag-table-in-access-cm2/5555/5 "2025-11-18T23:03:57Z")

</div>

No worries, good to know that it is working!
