zoran-cuckovic / QGIS-visibility-analysis

Quantum GIS plugin for visibility analysis
GNU General Public License v3.0
72 stars 18 forks source link

Depth Below Horizon fails with "write_output() got an unexpected keyword argument 'fill'" #23

Closed anitagraser closed 5 years ago

anitagraser commented 5 years ago

The output raster is not correctly generated:

Traceback (most recent call last):
File "C:/Users/agraser/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\ViewshedAnalysis\algorithms\viewshed_horizon_depth.py", line 175, in processAlgorithm
dem.write_output(output_path, fill = np.nan)
TypeError: write_output() got an unexpected keyword argument 'fill'
zoran-cuckovic commented 5 years ago

Thank you for signalling the issue! I've fixed the problem in the experimental branch. I'll update QGIS plugin repository shortly.

zoran-cuckovic commented 5 years ago

Fixed in 0.6.6 version