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 required ASCII header file may have been formatted incorrectly. Instead of having cellsize in the .hdr file, it may have xdim and ydim.

Note:
The .hdr file must be in the same folder as the .flt file required as input by the Float to Raster geoprocessing tool.

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>
  1. Save the .hdr file and run the Float to Raster tool.

Related Information

Last Published: 7/5/2019

Article ID: 000010619