010797: Distance units must be cells for the specified input surface raster.

Description

When the input surface raster has a geographic coordinate system or an unknown coordinate system, the distance units must be the number of cells, not a distance value in linear units.

Solution

Change the Distance Units parameter value to Cells and run the tool again.

To specify the distance value in linear units, you can project the input surface raster into a projected coordinate system before running this tool.