1.基于Python的批量简单栅格计算.
import arcpy
arcpy.env.workspace = "I:\\MODIS\\EVI\\test"
rasterlist = arcpy.ListRasters("*","tif")
output_path = "I:\\MODIS\\EVI\\test2\\"
for raster in rasterlist:
print str(raster)
out = output_path + raster
#Raster(raster)读取已有的栅格数据来建立栅格对象
inRaster = arcpy.Raster(raster)
outraster = inRaster * 0.0001
outraster.save(out)
print("OK!")