# Second nesting, blow up, CHECKDIMS ERROR message

**URL:** <https://forum.croco-ocean.org/t/second-nesting-blow-up-checkdims-error-message/495>\
**Category:** nesting\
**Tags:** biogeochemistry, nesting, coupling\
**Created:** [November 5, 2023, 2:11pm UTC](https://forum.croco-ocean.org/t/second-nesting-blow-up-checkdims-error-message/495 "2023-11-05T14:11:28Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![Gandy](https://forum.croco-ocean.org/letter_avatar_proxy/v4/letter/g/3da27b/32.png) [@Gandy](https://forum.croco-ocean.org/u/Gandy)\
**Post date:** [November 5, 2023, 2:11pm UTC](https://forum.croco-ocean.org/t/second-nesting-blow-up-checkdims-error-message/495/1 "2023-11-05T14:11:28Z")

</div>

Hello!,  
Im getting this error message: CHECKDIMS ERROR: inconsistent size of dimension ‘xi\_rho’: 494 (must be 275) and blow up message, Can somebody please guide me how to fixed that?

# ======================================= = = = STEP2D: ABNORMAL JOB END = = BLOW UP = = =

VMAX (M/S) = 107.91  
IMAX JMAX = 262 43  
IINT IEXT = 12 8

* * *

some details:  
-----Im using this AGRIF\_FixedGrids.in  
1  
109 200 31 110 3 3 3 3  
1  
50 253 29 185 3 3 4 4  
0

----- these are the dimensions when using ncdump -h :

parent:  
xi\_u = 240 ;  
eta\_u = 211 ;  
xi\_v = 241 ;  
eta\_v = 210 ;  
xi\_rho = 241 ;  
eta\_rho = 211 ;  
xi\_psi = 240 ;  
eta\_psi = 210 ;  
one = 1 ;  
two = 2 ;  
four = 4 ;  
bath = 1 ;

child 1:  
xi\_u = 274 ;  
eta\_u = 239 ;  
xi\_v = 275 ;  
eta\_v = 238 ;  
xi\_rho = 275 ;  
eta\_rho = 239 ;  
xi\_psi = 274 ;  
eta\_psi = 238 ;  
one = 1 ;  
two = 2 ;  
four = 4 ;  
bath = UNLIMITED ; // (1 currently)

child 2:  
xi\_u = 610 ;  
eta\_u = 470 ;  
xi\_v = 611 ;  
eta\_v = 469 ;  
xi\_rho = 611 ;  
eta\_rho = 470 ;  
xi\_psi = 610 ;  
eta\_psi = 469 ;  
one = 1 ;  
two = 2 ;  
four = 4 ;  
bath = UNLIMITED ; // (1 currently)

thank you

---

<div class="post-metadata">

**Author:** ![AndresSepulveda](https://forum.croco-ocean.org/user_avatar/forum.croco-ocean.org/andressepulveda/32/262_2.png) [@AndresSepulveda](https://forum.croco-ocean.org/u/AndresSepulveda)\
**Post date:** [November 6, 2023, 2:28pm UTC](https://forum.croco-ocean.org/t/second-nesting-blow-up-checkdims-error-message/495/2 "2023-11-06T14:28:41Z")

</div>

Seems your param.h was not properly configured. I should match the dimensions of the first domain (not the nested one).

Can you upload that file and the output from

ncdump -h croco\_grd.nc

?

---

<div class="post-metadata">

**Author:** ![Gandy](https://forum.croco-ocean.org/letter_avatar_proxy/v4/letter/g/3da27b/32.png) [@Gandy](https://forum.croco-ocean.org/u/Gandy)\
**Post date:** [November 7, 2023, 2:44am UTC](https://forum.croco-ocean.org/t/second-nesting-blow-up-checkdims-error-message/495/3 "2023-11-07T02:44:04Z")

</div>

Yes! thank you so much. Ive just modified that, I was using an old grid, not the correct one. But now Im getting this error message:  
WRT\_HIS ERROR while writing variable ‘time\_step’ into history file. Time record: 1 netCDF error code -39  
WRT\_HIS ERROR: Cannot synchronize/close history netCDF file

---

<div class="post-metadata">

**Author:** ![Gandy](https://forum.croco-ocean.org/letter_avatar_proxy/v4/letter/g/3da27b/32.png) [@Gandy](https://forum.croco-ocean.org/u/Gandy)\
**Post date:** [November 7, 2023, 2:46am UTC](https://forum.croco-ocean.org/t/second-nesting-blow-up-checkdims-error-message/495/4 "2023-11-07T02:46:30Z")

</div>

Please see the new error message here:  
Any idea on how to solve that would be appreciated!  
 ![image description](https://forum.croco-ocean.org/uploads/default/original/1X/10d0668d6023e9e47c1d89c70a876dfca18f4ee0.jpeg)

---

<div class="post-metadata">

**Author:** ![AndresSepulveda](https://forum.croco-ocean.org/user_avatar/forum.croco-ocean.org/andressepulveda/32/262_2.png) [@AndresSepulveda](https://forum.croco-ocean.org/u/AndresSepulveda)\
**Post date:** [November 7, 2023, 7:30pm UTC](https://forum.croco-ocean.org/t/second-nesting-blow-up-checkdims-error-message/495/5 "2023-11-07T19:30:34Z")

</div>

Quick question. Are you using ROMS\_AGRIF or CROCO?

---

<div class="post-metadata">

**Author:** ![Gandy](https://forum.croco-ocean.org/letter_avatar_proxy/v4/letter/g/3da27b/32.png) [@Gandy](https://forum.croco-ocean.org/u/Gandy)\
**Post date:** [November 8, 2023, 2:23am UTC](https://forum.croco-ocean.org/t/second-nesting-blow-up-checkdims-error-message/495/6 "2023-11-08T02:23:51Z")

</div>

Im using ROMS\_AGRIF with crocs\_tools (for EBUS)

---

<div class="post-metadata">

**Author:** ![AndresSepulveda](https://forum.croco-ocean.org/user_avatar/forum.croco-ocean.org/andressepulveda/32/262_2.png) [@AndresSepulveda](https://forum.croco-ocean.org/u/AndresSepulveda)\
**Post date:** [November 8, 2023, 3:51pm UTC](https://forum.croco-ocean.org/t/second-nesting-blow-up-checkdims-error-message/495/7 "2023-11-08T15:51:30Z")

</div>

Please switch to CROCO v1.3.1 !

How big is the HIS file now? Close to 2Gb?

---

<div class="post-metadata">

**Author:** ![Gandy](https://forum.croco-ocean.org/letter_avatar_proxy/v4/letter/g/3da27b/32.png) [@Gandy](https://forum.croco-ocean.org/u/Gandy)\
**Post date:** [November 11, 2023, 2:37am UTC](https://forum.croco-ocean.org/t/second-nesting-blow-up-checkdims-error-message/495/8 "2023-11-11T02:37:39Z")

</div>

It is a big bigger than that 8GB. it is a size problem, so we modified the netcdf to be able to make it work. It worked out! thank you!
