Dimension Error in Nesting Simulation

Hi everyone!
I’m trying to run a nesting simulation, and I’m receiving this error message: CHECKDIMS ERROR: inconsistent size of dimension 'eta_u': 80 (must be 77).

In the case of the parent dimensions in croco_grd.nc:
xi_u = 60 ;
eta_u = 82 ;
xi_v = 61 ;
eta_v = 81 ;
xi_rho = 61 ;
eta_rho = 82 ;
xi_psi = 60 ;
eta_psi = 81 ;
one = 1 ;
two = 2 ;
four = 4 ;
bath = 1 ;

And the child dimensions in croco_grd.nc.1 are:
xi_u = 73 ;
eta_u = 80 ;
xi_v = 74 ;
eta_v = 79 ;
xi_rho = 74 ;
eta_rho = 80 ;
xi_psi = 73 ;
eta_psi = 79 ;
one = 1 ;
two = 2 ;
four = 4 ;

I’m using this AGRIF_FixedGrids.in file:

1
30 54 45 70 3 3 3 3
0

I already changed the file param.h, and before the nesting, I tried to run the simulation without defining AGRIF and AGRIF_2WAY, and I didn’t have any problem. So, I don’t know how to resolve it. Is there anyone who can help me? Thank you!

We found the problem and it was related to the AGRIF_FixedGrids.in file.

It was not consistent with the output from

ncdump -h croco_grd.nc.1