001167: No extension is allowed for in-memory raster dataset name.

Description

When the output raster is an in-memory raster dataset, you cannot add a file extension.

Solution

Rename the output in-memory raster so there is no file extension associated with the name.