Error:  010391 : Kernel file is not provided or does not exist

相关信息
Article ID: 43185
Software:
ArcGIS - ArcEditor 10
ArcGIS - ArcInfo 10
ArcGIS - ArcView 10
ArcGIS for Desktop Advanced 10.1, 10.2, 10.2.1, 10.2.2, 10.3
ArcGIS for Desktop Standard 10.1, 10.2, 10.2.1, 10.2.2, 10.3
ArcGIS for Desktop Basic 10.1, 10.2, 10.2.1, 10.2.2, 10.3
Platforms: N/A

错误信息
The error message "010391: Kernel file is not provided or does not exist" is generated in the Focal Statistics Geoprocessing tool when the Neighborhood type is selected as 'weight' or 'irregular'. When using these options in ArcGIS for Desktop 10.2.2, the 'Browse to folder' icon becomes disabled, preventing the user from selecting the kernel file.



错误原因
This is a known issue that occurs at version 10.2.2.
已邀请:

EsriSupport

赞同来自:

解决方案
For ArcGIS for Desktop 10.2.2

Run the Focal Statistics tool through a Python script, like the sample Python script below.


Change the folder location paths to match the file location paths on the machine.
import arcpy
from arcpy import env
from arcpy.sa import *

env.workspace = "D:\\Incident\\New Geodatabase.gdb"

# Local variables:
inRaster = "Clip_image"
inkarnelfile = "D:\\Incident\\testkernal.txt"
neighborhood = NbrIrregular(inkarnelfile)

# Check out any necessary licenses
arcpy.CheckOutExtension("spatial")

# Execute FocalStatistics
outFocalStatistics = FocalStatistics(inRaster, neighborhood, "MINIMUM")

# Save the output
outFocalStatistics.save("D:\\Incident\\New Geodatabase.gdb\\focalstatout")

For ArcGIS for Desktop 10, 10.1, 10.2, 10.2.1, 10.3 Continue selecting the kernel file by clicking the 'Browse to folder' icon to add it into the Focal Statistics tool.


创建及修改时间
Created: 9/30/2014

Last Modified: 11/18/2014
原文链接
http://support.esri.com/en/kno ... 43185

要回复问题请先登录注册