English

Error: Non-integer output item in look-up table - Unable to initialize reclass table

Error Message

Using the RECLASS function in Grid results in the following message:

Grid: out_g = reclass (in_g, remapfile, #, val, lin)
Non-integer output item in look-up table
Unable to initialize reclass table
Grid:

Cause

The RECLASS function only supports Integer and Binary item types for the out_item in remap tables. The Number type with 0 decimal places is not acceptable.

The online documentation for RECLASS() mentions the following:

"Each assignment line maps a value or range of values from the input grid to an output value. Only numeric values are accepted on an assignment line."

This can be misconstrued as the Numeric item type being supported. However, the following text from the Notes section of RECLASS() states that floating point values are not allowed:

"The output grid will always be of integer type. If the output assignment values in the remap table are floating-point values, an error message will be returned and the program will halt."

Solution or Workaround

Use only the Integer or Binary item types for the out_item in INFO remap tables.