Habitat Qulity Questions

I really appreciate the help from this platform. I have solved my problems one by one. But now I am stuck with another question.After I reprocessed the data that needs be entered for three times,  the same error was till reported in the picture.

Thanks a lot for your kindly help~
812 x 589 - 39K
Tagged:

Comments

  • jdouglassjdouglass Administrator, NatCap Staff
    Would you please post your full logfile here so we can take a look?
  • PackyPacky Member
    Thank you for your reply, here is my full logfile.
    ______________________________________

    Initializing...

    Showing messages with level INFO and higher

    01/15/2019 11:12:41 natcap.invest.utils INFO Writing
    log messages to D:\HZ\TEST_(2015)_01_14_1
    8qu)_Z\InVEST-Habitat-Quality-log-2019-01-15--11_12_41.txt

    01/15/2019 11:12:41 natcap.invest.ui.usage._log_model
    WARNING an exception encountered when logging AttributeError("'NoneType'
    object has no attribute 'ExportToWkt'",)

    01/15/2019 11:12:41 natcap.invest.ui.model Level 100
    Starting model with parameters:

    Arguments for InVEST natcap.invest.habitat_quality
    3.4.4:

    half_saturation_constant 0.5

    landuse_cur_uri D:/HZ/TEST_(2015)_01_14_1 8qu)_Z/LUCC_c.tif

    results_suffix

    sensitivity_uri D:/HZ/TEST_(2015)_01_14_1 8qu)_Z/sensitivity.csv

    threat_raster_folder D:\HZ\TEST_(2015)_01_14_1 8qu)_Z\input

    threats_uri D:/HZ/TEST_(2015)_01_14_1 8qu)_Z/threats.csv

    workspace_dir D:\HZ\TEST_(2015)_01_14_1 8qu)_Z

     

    01/15/2019 11:12:43
    natcap.invest.pygeoprocessing_0_3_3.geoprocessing INFO starting convolve

    01/15/2019 11:12:49
    natcap.invest.pygeoprocessing_0_3_3.geoprocessing INFO convolution operating on
    signal pixel (0, 512)

    01/15/2019 11:12:55
    natcap.invest.pygeoprocessing_0_3_3.geoprocessing INFO convolution operating on
    signal pixel (0, 1024)

    01/15/2019 11:13:03
    natcap.invest.pygeoprocessing_0_3_3.geoprocessing INFO convolution operating on
    signal pixel (0, 1536)

    01/15/2019 11:13:09
    natcap.invest.pygeoprocessing_0_3_3.geoprocessing INFO convolution operating on
    signal pixel (0, 2048)

    01/15/2019 11:13:14
    natcap.invest.pygeoprocessing_0_3_3.geoprocessing INFO convolution operating on
    signal pixel (0, 2560)

    01/15/2019 11:13:16 osgeo ERROR [errno 3] Free disk
    space available is 55785353216 bytes, whereas 1902497030582639616 are at least
    necessary. You can disable this check by defining the CHECK_DISK_FREE_SPACE configuration
    option to FALSE.

    01/15/2019 11:13:16 natcap.invest.ui.model ERROR
    Exception while executing <function execute at 0x141A5370>

    Traceback (most recent call last):

    File
    "c:\users\natcap-servers\jenkins-home\workspace\natcap.invest\label\gce-windows-1\release_env\lib\site-packages\natcap\invest\ui\model.py",
    line 1505, in _logged_target

    File
    "c:\users\natcap-servers\jenkins-home\workspace\natcap.invest\label\gce-windows-1\release_env\lib\site-packages\natcap\invest\habitat_quality.py",
    line 250, in execute

    File
    "c:\users\natcap-servers\jenkins-home\workspace\natcap.invest\label\gce-windows-1\release_env\lib\site-packages\natcap\invest\utils.py",
    line 273, in exponential_decay_kernel_raster

    AttributeError: 'NoneType' object has no attribute
    'SetGeoTransform'

    01/15/2019 11:13:16 natcap.invest.ui.model INFO
    Execution finished

    01/15/2019 11:13:16 natcap.invest.utils INFO Elapsed
    time: 35.07s

    01/15/2019 11:13:16 natcap.invest.ui.execution ERROR
    Target <function _logged_target at 0x02C51130> failed with exception

    Traceback (most recent call last):

    File
    "c:\users\natcap-servers\jenkins-home\workspace\natcap.invest\label\gce-windows-1\release_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\release_env\lib\site-packages\natcap\invest\ui\model.py",
    line 1505, in _logged_target

    File
    "c:\users\natcap-servers\jenkins-home\workspace\natcap.invest\label\gce-windows-1\release_env\lib\site-packages\natcap\invest\habitat_quality.py",
    line 250, in execute

    File
    "c:\users\natcap-servers\jenkins-home\workspace\natcap.invest\label\gce-windows-1\release_env\lib\site-packages\natcap\invest\utils.py",
    line 273, in exponential_decay_kernel_raster

    AttributeError: 'NoneType' object has no attribute
    'SetGeoTransform'

    01/15/2019 11:13:16 natcap.invest.ui.execution INFO
    Execution finished

     ____________________________________________________

    Thanks again for your kindly help~

  • jdouglassjdouglass Administrator, NatCap Staff
    Ha, take a look at that error:

    " Free disk space available is 55785353216 bytes, whereas 1902497030582639616 are at least necessary"

    That's trying to create a 1902.5 petabyte decay kernel!

    Typically this happens because one of your rasters is unprojected (it has WGS84 CRS, but is not linearly projected in m).  Could you make sure that your lulc and all threat rasters are projected in m and try re-running?


  • PackyPacky Member
    @jdouglass Thank you very much,with your help I finally have got the result.


                                                                                                                           Packy


                                                                                
This discussion has been closed.