How to pick imin imax jmin jmax

Hi all,
I’m facing a small problem that has probably a simple solution, but I couldn’t figure out. Can anyone help?

How do I pick the values of imin, imax, jmin and jmax in

My parent grid has lat=224, lon=299 points. My nested child grid has lat=90, lon=122 points.

When running, I get this error:
CHECKDIMS ERROR: inconsistent size of dimension ‘eta_rho’: 90 (must be 89).

I tried with different values of imin, imax etc. But the same error props up again.

Please advice.