我想自动输入一些名称为数组“日期”的文件,然后在一些操作后保存它们,但代码不起作用:
dates=[20120711,20120712,20120713,20120714,20120715]
DEM="C:\\Path\\iranDem.tif"
for i in dates:
Norma="C:\\Temporar\\%d.tif"
JoNorma="C:\\%d.tif"
Delta=arcpy.sa.Times(DEM,0.0065)
JoNorma=arcpy.sa.Minus(Norma,Delta)
% i