2020-07-06 11:20:11,046 utils.prepare_workspace(111) INFO Writing log messages to H:/xm/Habitat\InVEST-Habitat-Quality-log-2020-07-06--11_20_11.txt 2020-07-06 11:20:11,047 model._logged_target(1629) Level 100 Starting model with parameters: Arguments for InVEST natcap.invest.habitat_quality 3.8.5: half_saturation_constant 0.5 lulc_cur_path F:/原真性/生物多样性/LULC/lulc_QTP_2015_c.tif n_workers -1 results_suffix sensitivity_table_path F:/原真性/生物多样性/Sensitivity.csv threat_raster_folder F:/原真性/生物多样性/Threat New threats_table_path F:/原真性/生物多样性/Threats_Data.csv workspace_dir H:/xm/Habitat 2020-07-06 11:20:11,163 habitat_quality.execute(365) INFO Starting aligning and resizing land cover and threat rasters 2020-07-06 11:20:11,171 geoprocessing.align_and_resize_raster_stack(646) DEBUG assuming manual bounding box mode of [73.43946426498516, 25.99305059439334, 104.67730626591805, 39.83071584453156] 2020-07-06 11:20:11,269 geoprocessing.align_and_resize_raster_stack(752) INFO 1 of 7 aligned: lulc_QTP_2015_c_aligned.tif 2020-07-06 11:20:11,349 geoprocessing.align_and_resize_raster_stack(752) INFO 2 of 7 aligned: Agriculture_c_aligned.tif 2020-07-06 11:20:11,428 geoprocessing.align_and_resize_raster_stack(752) INFO 3 of 7 aligned: Urban_c_aligned.tif 2020-07-06 11:20:11,552 geoprocessing.align_and_resize_raster_stack(752) INFO 4 of 7 aligned: Rural_c_aligned.tif 2020-07-06 11:20:11,650 geoprocessing.align_and_resize_raster_stack(752) INFO 5 of 7 aligned: Construction_c_aligned.tif 2020-07-06 11:20:11,731 geoprocessing.align_and_resize_raster_stack(752) INFO 6 of 7 aligned: Roads1_c_aligned.tif 2020-07-06 11:20:11,816 geoprocessing.align_and_resize_raster_stack(752) INFO 7 of 7 aligned: Roads2_c_aligned.tif 2020-07-06 11:20:11,817 geoprocessing.align_and_resize_raster_stack(754) INFO aligned all 7 rasters. 2020-07-06 11:20:11,819 habitat_quality.execute(380) INFO Finished aligning and resizing land cover and threat rasters 2020-07-06 11:20:11,820 habitat_quality.execute(401) INFO Preprocessing threat values for H:/xm/Habitat\intermediate\Agriculture_c_aligned.tif 2020-07-06 11:20:11,889 habitat_quality.execute(401) INFO Preprocessing threat values for H:/xm/Habitat\intermediate\Urban_c_aligned.tif 2020-07-06 11:20:11,953 habitat_quality.execute(401) INFO Preprocessing threat values for H:/xm/Habitat\intermediate\Rural_c_aligned.tif 2020-07-06 11:20:12,012 habitat_quality.execute(401) INFO Preprocessing threat values for H:/xm/Habitat\intermediate\Construction_c_aligned.tif 2020-07-06 11:20:12,078 habitat_quality.execute(401) INFO Preprocessing threat values for H:/xm/Habitat\intermediate\Roads1_c_aligned.tif 2020-07-06 11:20:12,127 habitat_quality.execute(401) INFO Preprocessing threat values for H:/xm/Habitat\intermediate\Roads2_c_aligned.tif 2020-07-06 11:20:12,178 habitat_quality.execute(426) INFO Starting habitat_quality biophysical calculations 2020-07-06 11:20:12,178 habitat_quality.execute(433) INFO Handling Access Shape 2020-07-06 11:20:12,247 habitat_quality.execute(446) INFO No Access Shape Provided, access raster filled with 1s. 2020-07-06 11:20:12,248 habitat_quality.execute(454) DEBUG lulc_path_dict : {'_c': 'H:/xm/Habitat\\intermediate\\lulc_QTP_2015_c_aligned.tif'} 2020-07-06 11:20:12,248 habitat_quality.execute(458) INFO Calculating habitat quality for landuse: H:/xm/Habitat\intermediate\lulc_QTP_2015_c_aligned.tif 2020-07-06 11:20:12,248 habitat_quality.map_raster_to_dict_values(846) INFO Starting map_raster_to_dict_values 2020-07-06 11:20:12,254 geoprocessing.raster_calculator(375) INFO starting stats_worker 2020-07-06 11:20:12,255 geoprocessing.raster_calculator(381) INFO started stats_worker 2020-07-06 11:20:12,327 geoprocessing.raster_calculator(454) INFO 100.0%% complete 2020-07-06 11:20:12,328 geoprocessing.raster_calculator(457) INFO signaling stats worker to terminate 2020-07-06 11:20:12,328 geoprocessing.raster_calculator(459) INFO Waiting for raster stats worker result. 2020-07-06 11:20:12,328 threading.run(870) DEBUG payload is None, terminating 2020-07-06 11:20:12,416 habitat_quality.execute(481) INFO Calculating threat: Agriculture. Threat data: {'MAX_DIST': 1.5, 'WEIGHT': 0.6, 'THREAT': 'Agriculture', 'DECAY': 'linear', 'DESCRIP': 'Agricultural lands'} 2020-07-06 11:20:12,416 habitat_quality.execute(485) INFO threat_raster_path H:/xm/Habitat\intermediate\Agriculture_c_aligned.tif 2020-07-06 11:20:12,418 habitat_quality.execute(508) DEBUG Max distance in pixels: 130946.945691 2020-07-06 16:34:57,387 geoprocessing.convolve_2d(2422) INFO starting convolve 2020-07-06 17:58:49,987 utils._log_gdal_errors(68) ERROR [errno 1] H:/xm/Habitat\intermediate\kernels\kernel_Agriculture_c.tif:Failed to allocate memory for TIFFReadDirEntryArray (1 elements of 2095160 bytes each) 2020-07-06 17:58:50,027 utils._log_gdal_errors(68) ERROR [errno 1] TIFFFetchStripThing:Out of memory reading of "StripByteCounts" 2020-07-06 17:58:50,027 model._logged_target(1635) ERROR Exception while executing Traceback (most recent call last): File "site-packages\natcap\invest\ui\model.py", line 1632, in _logged_target File "site-packages\natcap\invest\habitat_quality.py", line 531, in execute File "site-packages\pygeoprocessing\geoprocessing.py", line 2454, in convolve_2d File "site-packages\pygeoprocessing\geoprocessing.py", line 2636, in iterblocks ValueError: Raster at H:/xm/Habitat\intermediate\kernels\kernel_Agriculture_c.tif could not be opened. 2020-07-06 17:58:50,191 model._logged_target(1638) INFO Execution finished 2020-07-06 17:58:50,232 utils.prepare_workspace(117) INFO Elapsed time: 6h 38m 39.18999999999869s