The length (number of characters) of the map algebra expression is too large. This situation may happen if the data directory paths are very long and if there is a large number of input or output datasets specified in the expression.
- Use shorter data paths.
- Use shorter dataset names.
- Process your datasets in sections and aggregate to achieve a final result.
For example, combine rasters ras1, ras2, and ras3 into ras123, and ras4, ras5, and ras6 into ras456, then combine ras123 and ras456 to get the final result.