# Simulation fails at forecast 007

**URL:** <https://cms-helpdesk.ncas.ac.uk/t/simulation-fails-at-forecast-007/2032>\
**Category:** Uncategorized\
**Created:** [12 March 2026 08:44 UTC](https://cms-helpdesk.ncas.ac.uk/t/simulation-fails-at-forecast-007/2032 "2026-03-12T08:44:22Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![miclen](https://avatars.discourse-cdn.com/v4/letter/m/3da27b/32.png) [@miclen](https://cms-helpdesk.ncas.ac.uk/u/miclen)\
**Post date:** [12 March 2026 08:44 UTC](https://cms-helpdesk.ncas.ac.uk/t/simulation-fails-at-forecast-007/2032/1 "2026-03-12T08:44:22Z")

</div>

Hi, I have a suite (u-dv923, just committed) that consistently fails at forecast 007. Here is the error message:

???  
???!!!???!!!???!!!???!!!???!!! 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: 35  
???

So it sounds like the issue is in writing one of the variables I request to netcdf - but I’m wondering how to tell which variable is causing the problem? For this suite, I’m creating output at specific timesteps in addition to the standard hourly output. To do that, I cloned a set of STASH requests and set their timestream to be the specific times of interest, and have them write to a new netcdf. The suite runs when I don’t request variables at the additional timesteps, and it also runs when I just requested one variable (theta after timestep) at the specific timesteps.

---

<div class="post-metadata">

**Author:** ![miclen](https://avatars.discourse-cdn.com/v4/letter/m/3da27b/32.png) [@miclen](https://cms-helpdesk.ncas.ac.uk/u/miclen)\
**Post date:** [20 March 2026 14:00 UTC](https://cms-helpdesk.ncas.ac.uk/t/simulation-fails-at-forecast-007/2032/2 "2026-03-20T14:00:28Z")

</div>

Hi, just following up on this, as I haven’t been able to resolve this issue yet.

---

<div class="post-metadata">

**Author:** ![jonnyhtw](https://dub1.discourse-cdn.com/flex013/user_avatar/cms-helpdesk.ncas.ac.uk/jonnyhtw/32/548_2.png) [@jonnyhtw](https://cms-helpdesk.ncas.ac.uk/u/jonnyhtw)\
**Post date:** [31 March 2026 11:55 UTC](https://cms-helpdesk.ncas.ac.uk/t/simulation-fails-at-forecast-007/2032/3 "2026-03-31T11:55:48Z")

</div>

Hi there.

I’m not sure how much I can help here since this is an NWP workflow and I primarily work with climate models.

Here are my thoughts:

The error is reproducible; that is, the crash happens at the same time step in each of the three runs of your `ASE_km1p5_RAL3_um_fcst_007` task (`20250513T1200Z`, `20250514T1200Z`, `20250515T1200Z`), which is `10:23:00` on the 2nd day of the forecast. In my mind this points to some kind of memory error, i.e. that the files are ‘filling up’. This tallies with your comments that…

> The suite runs when I don’t request variables at the additional timesteps, and it also runs when I just requested one variable (theta after timestep) at the specific timesteps.

My advice would be to try downgrading the precision of the NetCDf files…

 ![image](https://europe1.discourse-cdn.com/flex013/uploads/cms_support/original/1X/9be5bf6ebdcb1ecddd59622ee7226cf79e1904ea.png)

… and/or reinitialise the files every, say, 24 hours rather than the 36 which it is currently set to (`reinit_step`)…

 ![image](https://europe1.discourse-cdn.com/flex013/uploads/cms_support/original/1X/89c7505e1ae9d869295672e95669b124c3b87d80.png)

All the best.

Jonny

---

<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:** [30 April 2026 11:56 UTC](https://cms-helpdesk.ncas.ac.uk/t/simulation-fails-at-forecast-007/2032/4 "2026-04-30T11:56:25Z")

</div>

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