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.
上次发布: August 25, 2014No Product Found
漏洞 ID 编号
NIM007151
已提交
March 1, 2007
上次修改时间
April 2, 2025
适用范围
No Product Found
找到的版本
9.2
状态
Will Not Be Addressed
开发团队已考虑过该问题或请求,并决定不会解决该问题。 问题的“其他信息”部分可能包含进一步说明。
附加信息
No Public Explanation
解决办法
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.