When running a gp.RasterToASCII_conversion in python and specifying a gp.workspace, the temporary rasters will be written to the workspace specified as gp.workspace and are not deleted.
Last Published: August 25, 2014No Product Found
Bug ID Number
NIM007151
Submitted
March 1, 2007
Last Modified
April 2, 2025
Applies to
No Product Found
Version found
9.2
Status
Will Not Be Addressed
The development team has considered the issue or request and concluded it will not be addressed. The issue's Additional Information section may contain further explanation.
Additional Information
No Public Explanation
Workaround
Generally the gp.workspace will be set when a list needs to be generated using the files in the workspace. Setting gp.workspace = r"<a href="file://in_memory" target="_blank">\\in_memory</a>" after the list has been generated from the gp.workspace seems to avoid having the workspace fill up with temporary rasters.