python批处理系列代码-GRD转TIF
import sys, string, osnimport arcpyndir = “D:\\test”nfiles = os.listdir(dir)nfor f in files:n if os.path.splitext(f)[1] == ‘.GRD’:n Input_raster_file = dir + os.sep + fnRaster_Format = “TIFF”nOutput_…
import sys, string, osnimport arcpyndir = “D:\\test”nfiles = os.listdir(dir)nfor f in files:n if os.path.splitext(f)[1] == ‘.GRD’:n Input_raster_file = dir + os.sep + fnRaster_Format = “TIFF”nOutput_…