Habitat quality model-could not convert string to float

Hi
Please help me solve this problem

Initializing...

Showing messages with level INFO and higher

12/17/2018 15:22:33 natcap.invest.utils INFO Writing log messages to D:\payan name\word\Habitat Quality\Invest\2018\InVEST-Habitat-Quality-log-2018-12-17--15_22_33.txt

12/17/2018 15:22:33 natcap.invest.ui.usage._log_model WARNING an exception encountered when logging AttributeError("'NoneType' object has no attribute 'ExportToWkt'",)

12/17/2018 15:22:33 natcap.invest.ui.model Level 100 Starting model with parameters:

Arguments for InVEST natcap.invest.habitat_quality 3.5.0:

half_saturation_constant

landuse_cur_uri D:/payan name/word/Habitat Quality/Invest/2018/lulc2018ftif.tif

results_suffix

sensitivity_uri D:/payan name/word/Habitat Quality/Invest/2018/sensitivity2018.csv

threat_raster_folder D:\payan name\word\Habitat Quality\Invest\2018\Threatftif

threats_uri D:/payan name/word/Habitat Quality/Invest/2018/threats2018.csv

workspace_dir D:\payan name\word\Habitat Quality\Invest\2018


12/17/2018 15:22:33 natcap.invest.ui.model ERROR Exception while executing <function execute at 0x1150B7F0>

Traceback (most recent call last):

File "C:\Users\natcap-servers\jenkins-home\workspace\natcap.invest\label\GCE-windows-1\env\lib\site-packages\natcap\invest\ui\model.py", line 1541, in _logged_target

File "C:\Users\natcap-servers\jenkins-home\workspace\natcap.invest\label\GCE-windows-1\env\lib\site-packages\natcap\invest\habitat_quality.py", line 100, in execute

ValueError: could not convert string to float:

12/17/2018 15:22:33 natcap.invest.ui.model INFO Execution finished

12/17/2018 15:22:33 natcap.invest.utils INFO Elapsed time: 0.06s

12/17/2018 15:22:33 natcap.invest.ui.execution ERROR Target <function _logged_target at 0x1150BDB0> failed with exception

Traceback (most recent call last):

File "C:\Users\natcap-servers\jenkins-home\workspace\natcap.invest\label\GCE-windows-1\env\lib\site-packages\natcap\invest\ui\execution.py", line 68, in run

File "C:\Users\natcap-servers\jenkins-home\workspace\natcap.invest\label\GCE-windows-1\env\lib\site-packages\natcap\invest\ui\model.py", line 1541, in _logged_target

File "C:\Users\natcap-servers\jenkins-home\workspace\natcap.invest\label\GCE-windows-1\env\lib\site-packages\natcap\invest\habitat_quality.py", line 100, in execute

ValueError: could not convert string to float:

12/17/2018 15:22:33 natcap.invest.ui.execution INFO Execution finished


Comments

  • jdouglassjdouglass Administrator, NatCap Staff
    Hello,

    It looks like your half-saturation constant is missing from the UI.  If you add it there, the model should continue executing.

    Hope this helps!
    James
Sign In or Register to comment.