ARCSWAT报错error010240无法将栅格数据保存到指定位置解决以及error-2147467259方法

 报错内容

在用swat进行水文分析时,点击DEM-based下的自动生成河网时出现报错Unhandled exception has occurred in a component in yourapplication. If you click Continue, the application willignore this error and attempt to continue.
"esriDataSourcesRaster.GdalDriver") Failed to copyraster datasetERROR 010240: Could not save raster dataset toC:\User\AppData Local withoutput format GRID

同时,对于error-2147467259也有可能解决

Error number: -2147467259

Error message: Error HRESULT E_FAIL has been returned from a call to a COM component.

Module name: mAGUtil

Function name: lyr_create

Procedure (error line or description): 3

Failed in getting SpatialAnalyst Setting Error HRESULT E_FAIL has been returned from a call to a COM component.

Spatial Reference: Object  reference not set to an  instance of an object.

Error Number: 91

Object reference not set to an instance of an object.

解决方法

在尝试网上的方法,在地理处理栏中环境选项下的并行处理设置为0后仍报错的情况下,我在google上搜寻到了几种可能出现报错的原因:

1.将系统时间调整为美国时间

具体方法:

(1)右击右下角时间,选择“调整日期/时间”

(2)将区域修改为“美国”,调整时间格式。

2.修改文件夹权限

 报错也可能是由于用户没有目标文件夹的修改权限

具体方法:

找到目标文件夹、项目文件夹以及arcgis的安装文件夹,分别将文件夹右击,点击属性,若“只读”被勾选则取消勾选。

3.将输入法语言首选项设置为英文

点击输入法图标,选择语言首选项,增加英语(美国)语言

评论 7
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值