I have been running into this error in several geoprocessing scripts I've written lately. When I call a spatial analyst function I return this error:
FATAL ERROR (INFDEF) DIRECTORY FULL
The exact function call doesn't seem to matter (but limited to Spatial Analyst functions). In this case the function is arcpy.sa.ExtractByMask, but arcpy.sa.TabulateArea has also caused this error.
What really confuses me is that about 10% of the time the script will succeed without error. I ran across this documentation on the Esri website, that discusses a limit to the number of GRID files that can be stored in a single workspace. This might help explain the problem I'm running into, but it still doesn't explain the intermittent nature of the error, or that there is no issue running these same functions as tools within the desktop software.
Potentially the error is related to an internal conversion of a vector feature to raster format. Is there a temporary work space that can be cleared, do these temporary conversions get written to disk space?
Has anybody else run into this issue?