Refractivity coefficient: The input is not within the defined domain
Nobody has claimed this yet.
Assessment
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Newbie friendliness
- 25/100
Research direction
Start with “Setting up the viewshed geoprocessing service (ArcGIS Pro).pdf” and reproduce the failure by running ElevationTools.pyt with the reported parameters. Trace the Visibility/Viewshed execution, especially executeVisibility, to identify why the refractivity coefficient is rejected, then verify the corrected behavior and determine whether publishing requires an ArcGIS Image Server license.
Written by the indexing model from the issue text.
Description
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 "<string>", line 729, in execute
File "<string>", line 319, in executeVisibility
File "D:\Program Files\ArcGIS\Pro\Resources\ArcPy\arcpy\geoprocessing\_base.py", line 512, in <lambda>
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)

In addition to the previous error. I have this questions, Is it necessary an ArcGIS Image Server license to publish the viewshed script tool?
- Dominant language
- Python
- Stars
- 19
- Forks
- 7
- PR merge metrics
- No merged PRs in 30d
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Similar issues
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
use-agent-os/agent-os#3314 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
BasedHardware/omi#15662 · 1 comment ·
-
documentation help wanted
Difficulty 2/5 1-3 hours Newbie friendliness 90/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 62/100
AiursoftWeb/AnduinOS-2#19 ·