Skip to content

Using SkyViewFactor in ArcGIS-Modelbuilder fails on r=kwargs['raster_info'] #12

@ThatMikaTho

Description

@ThatMikaTho

I am trying to use the SkyView-Function inside my ArcGIS Pro model. I tested the function manually with the raster function and the same raster and it works, but using "Generate Raster From Raster Function" returns ERROR 99999 saying the following:

ERROR 999999: Something unexpected caused the tool to fail. Contact Esri Technical Support (http://esriurl.com/support) to Report a Bug, and refer to the error help for potential solutions or workarounds.
Unable to bind to python raster function.
Traceback (most recent call last):
 File "c:\program files\esri\pro\Resources\Raster\Functions\Custom\rvt-arcgis-pro\svf.py", line 101, in updateRasterInfo
 r = kwargs['raster_info']
 ~~~~~~^^^^^^^^^^^^^^^
KeyError: 'raster_info'
Python raster function's .updateRasterInfo() method returned nothing.
Start Time: Wednesday, 11 December 2024 10:31:07
A raster error has occurred. The messages that follow will provide more detail.
Executing (Generate Raster From Raster Function): GenerateRasterFromRasterFunction "C:\Program Files\ESRI\Pro\Resources\Raster\Functions\Custom\rvt-arcgis-pro\svf.rft.xml"
F:Sachen_F\OneDrive\3_GIS\Projekte\Gewerbegebiete\data\BodennaheTemperatur\BodennahTest_2024_12_11.gdb\SVF_FRAC_FG_Test "RasterF:Sachen_F\OneDrive\3_GIS\Projekte\Gewerbegebiete\data\BodennaheTemperatur\BodennahTest_2024_12_11.gdb\DGM_plus_Buildings.tif;calc_8_bit False;nr_directions 32;max_rad 100"
# GRID CURRENT_SLICE
Generate Raster from Raster Function ...
Unable to bind to python raster function.
Traceback (most recent call last):
 File "c:\program files\esri\pro\Resources\Raster\Functions\Custom\rvt-arcgis-pro\svf.py", line 101, in updateRasterInfo
 r = kwargs['raster_info']
 ~~~~~~^^^^^^^^^^^^^^^
KeyError: 'raster_info'
Python raster function's .updateRasterInfo() method returned nothing.
Failed to execute (Generate Raster From Raster Function).
Failed at Wednesday, 11 December 2024 10:31:08 (Elapsed Time: 0,24 seconds)

Screenshot 2024-12-11 104144

Any help would be greatly appreciated!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions