Second nesting, blow up, CHECKDIMS ERROR message

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

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

?

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

Please see the new error message here:
Any idea on how to solve that would be appreciated!
image description

Quick question. Are you using ROMS_AGRIF or CROCO?

Im using ROMS_AGRIF with crocs_tools (for EBUS)

Please switch to CROCO v1.3.1 !

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

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!