2023-03-13 14:54:45,745 (natcap.invest.utils) utils.prepare_workspace(161) Level 100 Writing log messages to [E:\StudyThing2\START\HQ\InVEST-natcap.invest.habitat_quality-log-2023-03-13--14_54_45.txt] 2023-03-13 14:54:45,745 (__main__) cli.main(475) Level 100 Starting model with parameters: Arguments for InVEST natcap.invest.habitat_quality 3.12.0: access_vector_path half_saturation_constant 0.5 lulc_bas_path lulc_cur_path E:\StudyThing2\START\HQ\try\2007_c.tif lulc_fut_path n_workers -1 results_suffix sensitivity_table_path E:\StudyThing2\START\HQ\running_space\Sensitivity.csv threats_table_path E:\StudyThing2\START\HQ\running_space\Threat.csv workspace_dir E:\StudyThing2\START\HQ 2023-03-13 14:54:45,750 (natcap.invest.habitat_quality) habitat_quality.execute(261) INFO Starting execute of Habitat Quality model. 2023-03-13 14:54:45,750 (natcap.invest.habitat_quality) habitat_quality.execute(267) INFO Creating workspace 2023-03-13 14:54:45,771 (natcap.invest.habitat_quality) habitat_quality.execute(280) INFO Checking Threat and Sensitivity tables for compliance 2023-03-13 14:54:45,778 (natcap.invest.utils) utils.build_lookup_from_csv(569) WARNING Empty or NaN values were found in the table: E:\StudyThing2\START\HQ\running_space\Threat.csv. 2023-03-13 14:54:45,784 (natcap.invest.utils) utils.build_lookup_from_csv(569) WARNING Empty or NaN values were found in the table: E:\StudyThing2\START\HQ\running_space\Sensitivity.csv. 2023-03-13 14:54:45,786 (natcap.invest.habitat_quality) habitat_quality.execute(307) INFO Validate threat rasters and collect unique LULC codes 2023-03-13 14:54:47,060 (natcap.invest.habitat_quality) habitat_quality.execute(369) INFO Checking threat raster values are valid ( 0 <= x <= 1 ). 2023-03-13 14:54:47,060 (natcap.invest.habitat_quality) habitat_quality.execute(380) INFO Aligning and resizing land cover and threat rasters 2023-03-13 14:54:48,694 (pygeoprocessing.geoprocessing) geoprocessing.align_and_resize_raster_stack(824) INFO 1 of 3 aligned: 2007_c_aligned.tif 2023-03-13 14:54:50,569 (pygeoprocessing.geoprocessing) geoprocessing.align_and_resize_raster_stack(824) INFO 2 of 3 aligned: 2007_uban_aligned.tif 2023-03-13 14:54:52,360 (pygeoprocessing.geoprocessing) geoprocessing.align_and_resize_raster_stack(824) INFO 3 of 3 aligned: 2007_crop_aligned.tif 2023-03-13 14:54:52,360 (pygeoprocessing.geoprocessing) geoprocessing.align_and_resize_raster_stack(828) INFO aligned all 3 rasters. 2023-03-13 14:54:52,367 (natcap.invest.habitat_quality) habitat_quality.execute(433) INFO Starting habitat_quality biophysical calculations 2023-03-13 14:54:53,412 (natcap.invest.habitat_quality) habitat_quality.execute(477) INFO Calculating habitat quality for landuse: E:\StudyThing2\START\HQ\intermediate\2007_c_aligned.tif 2023-03-13 14:54:53,427 (pygeoprocessing.geoprocessing) geoprocessing.raster_calculator(396) INFO starting stats_worker 2023-03-13 14:54:53,428 (pygeoprocessing.geoprocessing) geoprocessing.raster_calculator(402) INFO started stats_worker 2023-03-13 14:54:55,547 (pygeoprocessing.geoprocessing) geoprocessing.raster_calculator(482) INFO 100.0% complete 2023-03-13 14:54:55,547 (pygeoprocessing.geoprocessing) geoprocessing.raster_calculator(485) INFO Waiting for raster stats worker result. 2023-03-13 14:54:56,560 (osgeo) utils._log_gdal_errors(97) ERROR [errno 6] E:\StudyThing2\START\HQ\intermediate\kernels\kernel_uban_c.tif: File too large regarding tile size. This would result in a file with tile arrays larger than 2GB 2023-03-13 14:54:56,561 (taskgraph.Task) Task.add_task(706) ERROR Something went wrong when adding task decay_kernel_exponential_c_uban (5), terminating taskgraph. Traceback (most recent call last): File "taskgraph\Task.py", line 674, in add_task File "taskgraph\Task.py", line 1093, in _call File "natcap\invest\habitat_quality.py", line 897, in _create_decay_kernel File "natcap\invest\utils.py", line 357, in exponential_decay_kernel_raster AttributeError: 'NoneType' object has no attribute 'SetGeoTransform' 2023-03-13 14:54:56,566 (natcap.invest.utils) utils.prepare_workspace(166) ERROR Exception while executing natcap.invest.habitat_quality Traceback (most recent call last): File "natcap\invest\utils.py", line 164, in prepare_workspace File "invest\cli.py", line 486, in main File "natcap\invest\habitat_quality.py", line 536, in execute File "taskgraph\Task.py", line 674, in add_task File "taskgraph\Task.py", line 1093, in _call File "natcap\invest\habitat_quality.py", line 897, in _create_decay_kernel File "natcap\invest\utils.py", line 357, in exponential_decay_kernel_raster AttributeError: 'NoneType' object has no attribute 'SetGeoTransform' 2023-03-13 14:54:56,568 (natcap.invest.utils) utils.prepare_workspace(169) INFO Elapsed time: 10.82s 2023-03-13 14:54:56,568 (natcap.invest.utils) utils.prepare_workspace(172) INFO Execution finished