# How to pick imin imax jmin jmax

**URL:** <https://forum.croco-ocean.org/t/how-to-pick-imin-imax-jmin-jmax/165>\
**Category:** nesting\
**Tags:** nesting, compilation-installation\
**Created:** [December 22, 2019, 9:47pm UTC](https://forum.croco-ocean.org/t/how-to-pick-imin-imax-jmin-jmax/165 "2019-12-22T21:47:05Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![sonaljit](https://forum.croco-ocean.org/letter_avatar_proxy/v4/letter/s/3ec8ea/32.png) [@sonaljit](https://forum.croco-ocean.org/u/sonaljit)\
**Post date:** [December 22, 2019, 9:47pm UTC](https://forum.croco-ocean.org/t/how-to-pick-imin-imax-jmin-jmax/165/1 "2019-12-22T21:47:05Z")

</div>

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 AGRIF\_FixedGrids.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.  
Thanks.
