Esri / Esri/elevation-gp-python

Refractivity coefficient: The input is not within the defined domain

未关闭
#3 2 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

还没有人认领这个 Issue。

主要语言
Python
星标
19
派生
7
PR 合并指标
30 天内没有已合并 PR

描述

Hi,

I've followed the steps in "Setting up the viewshed geoprocessing service (ArcGIS Pro).pdf".

But when I excute "ElevationTools.pyt" I get these errors:

```
Start Time: lunes, 18 de julio de 2022 19:56:07
Maximum distance: 15000 meters, DEM resolution: 90 meters, Mosaic Layer: C:\ElevationPro\Data\Elevation.gdb\dem90m, Observer offset: 1.75, Surface offset: 0.0.
Failed to execute. Parameters are not valid.
[ERROR 000864:](javascript:void(0);) Refractivity coefficient: The input is not within the defined domain.
[ERROR 000892:](javascript:void(0);) The numeric value is outside of the valid range.
Failed to execute (Visibility).
File "", line 729, in execute
File "", line 319, in executeVisibility
File "D:\Program Files\ArcGIS\Pro\Resources\ArcPy\arcpy\geoprocessing\_base.py", line 512, in
return lambda *args: val(*gp_fixargs(args, True))
arcgisscripting.ExecuteError: Failed to execute. Parameters are not valid.
ERROR 000864: Refractivity coefficient: The input is not within the defined domain.
ERROR 000892: The numeric value is outside of the valid range.
Failed to execute (Visibility).
Failed to execute (Viewshed).
Failed at lunes, 18 de julio de 2022 19:56:13 (Elapsed Time: 5,48 seconds)
```

![RefractivityCoefficientError](https://user-images.githubusercontent.com/13570124/179576047-a6b67dbb-f86e-480f-8a66-812dcdf418f6.png)

In addition to the previous error. I have this questions, Is it necessary an ArcGIS Image Server license to publish the viewshed script tool?

贡献指南

打开贡献指南

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

调研方向

从“Setting up the viewshed geoprocessing service (ArcGIS Pro).pdf)”开始,使用报告中的参数运行 ElevationTools.pyt 以重现失败。跟踪 Visibility/Viewshed 的执行过程,尤其是 executeVisibility,以确定折射率系数被拒绝的原因,然后验证修正后的行为,并确定发布是否需要 ArcGIS Image Server 许可证。

由索引模型根据 Issue 内容生成。

评估

技术栈
python
领域
tooling
Issue 类型
缺陷
难度
4/5
预计耗时
3-5 天
活跃度
停滞
描述清晰度
需要澄清
新手友好度
25/100

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。