# Errors when adding output variables in ACCESS-rAM3: NetCDF: Index exceeds dimension bound

**URL:** <https://forum.access-hive.org.au/t/errors-when-adding-output-variables-in-access-ram3-netcdf-index-exceeds-dimension-bound/4797>\
**Category:** General\
**Tags:** help, netcdf, access-ram3\
**Created:** [18 August 2025 06:34 UTC](https://forum.access-hive.org.au/t/errors-when-adding-output-variables-in-access-ram3-netcdf-index-exceeds-dimension-bound/4797 "2025-08-18T06:34:10Z")\
**Posts on this page:** 11\
**Page:** 1

<div class="post-metadata">

**Author:** ![qinggangg](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.access-hive.org.au/qinggangg/32/4460_2.png) [@qinggangg](https://forum.access-hive.org.au/u/qinggangg)\
**Post date:** [18 August 2025 06:34 UTC](https://forum.access-hive.org.au/t/errors-when-adding-output-variables-in-access-ram3-netcdf-index-exceeds-dimension-bound/4797/1 "2025-08-18T06:34:10Z")

</div>

Hello

Has anyone got the following error message before (within directory $reg\_$res\_GAL9\_um\_fcst\_000)? I got it when I try to add more output variables in ACCESS-rAM3 simulations. I am adding tens of variables so not sure which one cause the problem (I am trying to identify it). Would you have some idea about the possible cause of this error?

> ???  
> ???!!!???!!!???!!!???!!!???!!! ERROR ???!!!???!!!???!!!???!!!???!!!  
> ? Error code: 40  
> ? Error from routine: NC\_PUT\_VAR\_REAL\_1D  
> ? Error message: NetCDF: Index exceeds dimension bound : NF90\_PUT\_VAR  
> ? Error from processor: 0  
> ? Error number: 93  
> ???

There is also another error message in the job.out file:

> [1755496769.314044] [gadi-cpu-clx-0424:250531:0] ucc\_context.c:399 UCC ERROR failed to create tl context for nccl

Regards, Qinggang

---

<div class="post-metadata">

**Author:** ![qinggangg](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.access-hive.org.au/qinggangg/32/4460_2.png) [@qinggangg](https://forum.access-hive.org.au/u/qinggangg)\
**Post date:** [18 August 2025 12:27 UTC](https://forum.access-hive.org.au/t/errors-when-adding-output-variables-in-access-ram3-netcdf-index-exceeds-dimension-bound/4797/2 "2025-08-18T12:27:36Z")

</div>

I find the error results from this set of eight variables:

UPWARD SW FLUX ON LEVELS, DOWNWARD SW FLUX ON LEVELS, CLEAR-SKY UPWARD SW FLUX ON LEVELS, CLEAR-SKY DOWNWARD SW FLUX ON LEVELS

UPWARD LW FLUX ON LEVELS, DOWNWARD LW FLUX ON LEVELS, CLEAR-SKY UPWARD LW FLUX ON LEVELS, CLEAR-SKY DOWNWARD LW FLUX ON LEVELS

---

<div class="post-metadata">

**Author:** ![cbengel](https://avatars.discourse-cdn.com/v4/letter/c/ce7236/32.png) [@cbengel](https://forum.access-hive.org.au/u/cbengel)\
**Post date:** [19 August 2025 01:08 UTC](https://forum.access-hive.org.au/t/errors-when-adding-output-variables-in-access-ram3-netcdf-index-exceeds-dimension-bound/4797/3 "2025-08-19T01:08:17Z")

</div>

Hi @qinggangg, it might be that you need to extend the number of records allowed into your output file.

Have you made a new output stream?

If so, my first piece of advice would be to look at the settings for the “\_pb” stream in app/um/opt/rose-app-stashpack6.conf and copy the reinit settings from there into your stream.

If you did not create a new stream, please come back and I will ask a few more questions.

---

<div class="post-metadata">

**Author:** ![helen](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.access-hive.org.au/helen/32/2840_2.png) [@helen](https://forum.access-hive.org.au/u/helen)\
**Post date:** [19 August 2025 01:23 UTC](https://forum.access-hive.org.au/t/errors-when-adding-output-variables-in-access-ram3-netcdf-index-exceeds-dimension-bound/4797/4 "2025-08-19T01:23:32Z")

</div>



---

<div class="post-metadata">

**Author:** ![qinggangg](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.access-hive.org.au/qinggangg/32/4460_2.png) [@qinggangg](https://forum.access-hive.org.au/u/qinggangg)\
**Post date:** [19 August 2025 04:39 UTC](https://forum.access-hive.org.au/t/errors-when-adding-output-variables-in-access-ram3-netcdf-index-exceeds-dimension-bound/4797/5 "2025-08-19T04:39:52Z")

</div>

Hi @cbengel, thank you. I can output more other variables, but only these eight cause the problem.

I do not make a new output stream.

In addition, I tried to add more variables from COSP satellite simulators (see [COSP](https://www.cfmip.org/tools-and-data/cosp)), but all values are zero from all the COSP variables. Does ACCESS-rAM3 support COSP simulators now?

---

<div class="post-metadata">

**Author:** ![cbengel](https://avatars.discourse-cdn.com/v4/letter/c/ce7236/32.png) [@cbengel](https://forum.access-hive.org.au/u/cbengel)\
**Post date:** [19 August 2025 04:43 UTC](https://forum.access-hive.org.au/t/errors-when-adding-output-variables-in-access-ram3-netcdf-index-exceeds-dimension-bound/4797/6 "2025-08-19T04:43:35Z")

</div>

Hi @qinggangg,

I wonder if the problem is related to the netcdf output. Are you open to working with FieldsFile output?

If so, you could switch to the u-dg768/access\_rel\_1\_ff branch.

Is that something you would be open to trying?

In regards to COSP, I haven’t heard of anyone here using the COSP simulators. I will have to get back to you on whether that is possible with the u-dg768 suite.

---

<div class="post-metadata">

**Author:** ![qinggangg](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.access-hive.org.au/qinggangg/32/4460_2.png) [@qinggangg](https://forum.access-hive.org.au/u/qinggangg)\
**Post date:** [19 August 2025 04:51 UTC](https://forum.access-hive.org.au/t/errors-when-adding-output-variables-in-access-ram3-netcdf-index-exceeds-dimension-bound/4797/7 "2025-08-19T04:51:12Z")

</div>

Hi @cbengel Thank you.  
I think I am fine without these variables for now. If I would like it later, I may try FieldsFile.  
I would love to hear the update about COSP with ACCESS-rAM3.

---

<div class="post-metadata">

**Author:** ![griff](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.access-hive.org.au/griff/32/332_2.png) [@griff](https://forum.access-hive.org.au/u/griff)\
**Post date:** [19 August 2025 05:11 UTC](https://forum.access-hive.org.au/t/errors-when-adding-output-variables-in-access-ram3-netcdf-index-exceeds-dimension-bound/4797/8 "2025-08-19T05:11:22Z")

</div>

I have had this error when I try to write a X by Y variable into Y by X space.  
It can also happen trying to write a U (cell edge) grid into a T (cell centered) grid.

Given the number of permutations to the possible error, it is unlikely that we will be able to guess the correct answer for what the problem is. I offer this as a potential mental jog for you to find the right direction in your solution.

---

<div class="post-metadata">

**Author:** ![bethanwhite](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.access-hive.org.au/bethanwhite/32/3080_2.png) [@bethanwhite](https://forum.access-hive.org.au/u/bethanwhite)\
**Post date:** [19 August 2025 11:33 UTC](https://forum.access-hive.org.au/t/errors-when-adding-output-variables-in-access-ram3-netcdf-index-exceeds-dimension-bound/4797/9 "2025-08-19T11:33:00Z")

</div>

@cbengel running the COSP simulators is definitely something the Centre wants the capability to do. We can take the discussion off this thread but I am keen to implement this if it isn’t already.

---

<div class="post-metadata">

**Author:** ![cbengel](https://avatars.discourse-cdn.com/v4/letter/c/ce7236/32.png) [@cbengel](https://forum.access-hive.org.au/u/cbengel)\
**Post date:** [19 August 2025 23:16 UTC](https://forum.access-hive.org.au/t/errors-when-adding-output-variables-in-access-ram3-netcdf-index-exceeds-dimension-bound/4797/10 "2025-08-19T23:16:58Z")

</div>

Hi @qinggangg, @griff and @bethanwhite,

There is a mix of issues going on here that we can work on offline.

I will close the topic for now, but will report back once when we find a working solution (to COSP and the other variables).

---

<div class="post-metadata">

**Author:** ![cbengel](https://avatars.discourse-cdn.com/v4/letter/c/ce7236/32.png) [@cbengel](https://forum.access-hive.org.au/u/cbengel)\
**Post date:** [19 August 2025 23:17 UTC](https://forum.access-hive.org.au/t/errors-when-adding-output-variables-in-access-ram3-netcdf-index-exceeds-dimension-bound/4797/11 "2025-08-19T23:17:02Z")

</div>


