I am importing a raster file and then saving the layer file. This script has worked fine previously, but after changing some input file paths, it has stopped working. Arc finds the inputs, but then has an error code at the make raster layer point related to the input parameters: error codes 000622 and 000628. After making the raster layer I save the layer file, and do other steps, but I have only included the script to the point where it fails.
# Import arcpy module import arcpy # Import system modules import sys, string, os, arcgisscripting # Create the Geoprocessor object gp = arcgisscripting.create() gp.Overwriteoutput = 1 # Set Workspace arcpy.env.workspace = r"S:\Map_Creation" # Set overwrite option arcpy.env.overwriteOutput = True # Local variables: InputRaster = "C:\\Asc_Conversion\\rasters\\r001d1b1_dr0" ExtentFile = "S:\\01.RIM\\Final_Extent_Outputs\\r001d1b1_ext_r0.shp" RasLayerTemp = "Depth" # Process: Make Raster Layer arcpy.MakeRasterLayer_management(InputRaster, RasLayerTemp, "", ExtentFile, "")