English

Error: ERROR 010067: Error in executing grid expression. Failed to execute (FloatToRaster)

Error Message

When running the Float to Raster tool, the following error occurs:

"ERROR 010067: Error in executing grid expression.
Failed to execute (FloatToRaster)."

Cause

The header file may have been formatted incorrectly. Instead of having cellsize in the .hdr file, it may have xdim and ydim.

Solution or Workaround

The header file (.hdr) must be manually edited in a text editor such as Notepad for the tool to run correctly. The xdim and ydim must be replaced with cellsize for the tool to run correctly.

  1. Open the .hdr file in a text editor, such as Notepad.
  2. Change the format from:

    NCOLS xxx
    NROWS xxx
    XLLCENTER xxx | XLLCORNER xxx
    YLLCENTER xxx | YLLCORNER xxx
    XDIM xxx
    YDIM xxx
    NODATA_VALUE xxx
    BYTEORDER <MSBFIRST | LSBFIRST>

    To the following format:

    NCOLS xxx
    NROWS xxx
    XLLCENTER xxx | XLLCORNER xxx
    YLLCENTER xxx | YLLCORNER xxx
    CELLSIZE xxx
    NODATA_VALUE xxx
    BYTEORDER <MSBFIRST | LSBFIRST>
  3. Save the .hdr file and run the Float to Raster tool.

Related Information