Problem: Misaligned cell structure of output and input grids from GRID functions


Output grids created from input grids with misaligned cell structure will not align with all input grids. Two methods are described to resolve the problem.


Not all input grids have aligned cell structure.

Solution or Workaround

  • Use the {snap_grid} option of SETWINDOW in Grid to align the cell structure of all input grids.

    SETWINDOW clip_grd ingrid1 ingrid2_snp = ingrid2

    This method will create a new grid from ingrid2 that is snapped to the cell alignment of ingrid1 and has the extent of clip_grd.
  • Use GRIDSHIFT at the GRID or Arc prompts.

Related Information