2023-05-07 16:20:04,181 (natcap.invest.utils) utils.prepare_workspace(161) Level 100 Writing log messages to [C:\SWY\InVEST-natcap.invest.seasonal_water_yield.seasonal_water_yield-log-2023-05-07--16_20_04.txt] 2023-05-07 16:20:04,181 (__main__) cli.main(475) Level 100 Starting model with parameters: Arguments for InVEST natcap.invest.seasonal_water_yield.seasonal_water_yield 3.12.0: alpha_m 1/12 aoi_path C:\shp圖資\論文相關\高屏溪流域.dbf beta_i 1 biophysical_table_path C:\Users\jenni\Desktop\INVEST\SWYtest\swy_biotable2.csv climate_zone_raster_path climate_zone_table_path dem_raster_path C:\Users\jenni\Desktop\INVEST\SWYtest\DEMGP.tif et0_dir C:\Users\jenni\Desktop\INVEST\SWYtest\ETO Directory gamma 1 l_path lulc_raster_path C:\shp圖資\INVEST\LULC_INVEST.tif monthly_alpha False monthly_alpha_path n_workers -1 precip_dir C:\Users\jenni\Desktop\INVEST\SWYtest\Precipitation Directory rain_events_table_path C:\Users\jenni\Desktop\INVEST\SWYtest\swy_Rain Events Table.csv results_suffix 1 soil_group_path C:\shp圖資\INVEST\HSGGP_NEW.tif threshold_flow_accumulation 1000 user_defined_climate_zones False user_defined_local_recharge False workspace_dir C:\SWY 2023-05-07 16:20:04,182 (natcap.invest.seasonal_water_yield.seasonal_water_yield) seasonal_water_yield._execute(423) INFO prepare and test inputs for common errors 2023-05-07 16:20:04,199 (natcap.invest.utils) utils.build_lookup_from_csv(569) WARNING Empty or NaN values were found in the table: C:\Users\jenni\Desktop\INVEST\SWYtest\swy_biotable2.csv. 2023-05-07 16:20:04,199 (natcap.invest.utils) utils.build_lookup_from_csv(576) WARNING Encountered an entirely blank row on line(s) [nan, nan, nan, nan, nan, nan, nan, nan, nan, nan]. Dropping rows from table. 2023-05-07 16:20:05,128 (natcap.invest.seasonal_water_yield.seasonal_water_yield) seasonal_water_yield._execute(489) INFO Building file registry 2023-05-07 16:20:05,129 (natcap.invest.seasonal_water_yield.seasonal_water_yield) seasonal_water_yield._execute(495) INFO Checking that the AOI is not the output aggregate vector 2023-05-07 16:20:05,129 (natcap.invest.seasonal_water_yield.seasonal_water_yield) seasonal_water_yield._execute(504) INFO Aligning and clipping dataset list 2023-05-07 16:20:10,960 (pygeoprocessing.geoprocessing) geoprocessing.logger_callback(3323) INFO Warp 76.0% complete C:\SWY\cache_dir\prcp_a0_1.tif 2023-05-07 16:20:11,040 (pygeoprocessing.geoprocessing) geoprocessing.logger_callback(3323) INFO Warp 100.0% complete C:\SWY\cache_dir\prcp_a0_1.tif 2023-05-07 16:20:11,786 (pygeoprocessing.geoprocessing) geoprocessing.align_and_resize_raster_stack(824) INFO 1 of 27 aligned: prcp_a0_1.tif 2023-05-07 16:20:16,959 (pygeoprocessing.geoprocessing) geoprocessing.align_and_resize_raster_stack(824) INFO 2 of 27 aligned: prcp_a1_1.tif 2023-05-07 16:20:21,892 (pygeoprocessing.geoprocessing) geoprocessing.align_and_resize_raster_stack(824) INFO 3 of 27 aligned: prcp_a2_1.tif 2023-05-07 16:20:27,309 (pygeoprocessing.geoprocessing) geoprocessing.logger_callback(3323) INFO Warp 51.0% complete C:\SWY\cache_dir\prcp_a3_1.tif 2023-05-07 16:20:49,139 (pygeoprocessing.geoprocessing) geoprocessing.logger_callback(3323) INFO Warp 76.0% complete C:\SWY\cache_dir\prcp_a3_1.tif 2023-05-07 16:20:49,219 (pygeoprocessing.geoprocessing) geoprocessing.logger_callback(3323) INFO Warp 100.0% complete C:\SWY\cache_dir\prcp_a3_1.tif 2023-05-07 16:20:49,997 (pygeoprocessing.geoprocessing) geoprocessing.align_and_resize_raster_stack(824) INFO 4 of 27 aligned: prcp_a3_1.tif 2023-05-07 16:21:16,840 (pygeoprocessing.geoprocessing) geoprocessing.logger_callback(3323) INFO Warp 1.0% complete C:\SWY\cache_dir\prcp_a4_1.tif 2023-05-07 16:21:21,084 (pygeoprocessing.geoprocessing) geoprocessing.logger_callback(3323) INFO Warp 100.0% complete C:\SWY\cache_dir\prcp_a4_1.tif 2023-05-07 16:21:21,889 (pygeoprocessing.geoprocessing) geoprocessing.align_and_resize_raster_stack(824) INFO 5 of 27 aligned: prcp_a4_1.tif 2023-05-07 16:21:27,538 (pygeoprocessing.geoprocessing) geoprocessing.align_and_resize_raster_stack(824) INFO 6 of 27 aligned: prcp_a5_1.tif 2023-05-07 16:21:33,097 (pygeoprocessing.geoprocessing) geoprocessing.logger_callback(3323) INFO Warp 76.0% complete C:\SWY\cache_dir\prcp_a6_1.tif 2023-05-07 16:21:33,179 (pygeoprocessing.geoprocessing) geoprocessing.logger_callback(3323) INFO Warp 100.0% complete C:\SWY\cache_dir\prcp_a6_1.tif 2023-05-07 16:21:33,991 (pygeoprocessing.geoprocessing) geoprocessing.align_and_resize_raster_stack(824) INFO 7 of 27 aligned: prcp_a6_1.tif 2023-05-07 16:21:40,683 (pygeoprocessing.geoprocessing) geoprocessing.logger_callback(3323) INFO Warp 26.0% complete C:\SWY\cache_dir\prcp_a7_1.tif 2023-05-07 16:21:43,189 (pygeoprocessing.geoprocessing) geoprocessing.logger_callback(3323) INFO Warp 100.0% complete C:\SWY\cache_dir\prcp_a7_1.tif 2023-05-07 16:21:43,965 (pygeoprocessing.geoprocessing) geoprocessing.align_and_resize_raster_stack(824) INFO 8 of 27 aligned: prcp_a7_1.tif 2023-05-07 16:21:54,627 (pygeoprocessing.geoprocessing) geoprocessing.logger_callback(3323) INFO Warp 26.0% complete C:\SWY\cache_dir\prcp_a8_1.tif 2023-05-07 16:21:58,398 (pygeoprocessing.geoprocessing) geoprocessing.logger_callback(3323) INFO Warp 100.0% complete C:\SWY\cache_dir\prcp_a8_1.tif 2023-05-07 16:21:59,315 (pygeoprocessing.geoprocessing) geoprocessing.align_and_resize_raster_stack(824) INFO 9 of 27 aligned: prcp_a8_1.tif 2023-05-07 16:22:04,813 (pygeoprocessing.geoprocessing) geoprocessing.logger_callback(3323) INFO Warp 51.0% complete C:\SWY\cache_dir\prcp_a9_1.tif 2023-05-07 16:22:07,376 (pygeoprocessing.geoprocessing) geoprocessing.logger_callback(3323) INFO Warp 100.0% complete C:\SWY\cache_dir\prcp_a9_1.tif 2023-05-07 16:22:08,162 (pygeoprocessing.geoprocessing) geoprocessing.align_and_resize_raster_stack(824) INFO 10 of 27 aligned: prcp_a9_1.tif 2023-05-07 16:22:18,326 (pygeoprocessing.geoprocessing) geoprocessing.logger_callback(3323) INFO Warp 1.0% complete C:\SWY\cache_dir\prcp_a10_1.tif 2023-05-07 16:22:21,495 (pygeoprocessing.geoprocessing) geoprocessing.logger_callback(3323) INFO Warp 100.0% complete C:\SWY\cache_dir\prcp_a10_1.tif 2023-05-07 16:22:22,270 (pygeoprocessing.geoprocessing) geoprocessing.align_and_resize_raster_stack(824) INFO 11 of 27 aligned: prcp_a10_1.tif 2023-05-07 16:22:27,576 (pygeoprocessing.geoprocessing) geoprocessing.align_and_resize_raster_stack(824) INFO 12 of 27 aligned: prcp_a11_1.tif 2023-05-07 16:22:29,081 (pygeoprocessing.geoprocessing) geoprocessing.align_and_resize_raster_stack(824) INFO 13 of 27 aligned: soil_group_aligned_1.tif 2023-05-07 16:22:35,568 (pygeoprocessing.geoprocessing) geoprocessing.logger_callback(3323) INFO Warp 76.0% complete C:\SWY\cache_dir\et0_a0_1.tif 2023-05-07 16:22:35,649 (pygeoprocessing.geoprocessing) geoprocessing.logger_callback(3323) INFO Warp 100.0% complete C:\SWY\cache_dir\et0_a0_1.tif 2023-05-07 16:22:36,436 (pygeoprocessing.geoprocessing) geoprocessing.align_and_resize_raster_stack(824) INFO 14 of 27 aligned: et0_a0_1.tif 2023-05-07 16:22:43,043 (pygeoprocessing.geoprocessing) geoprocessing.logger_callback(3323) INFO Warp 51.0% complete C:\SWY\cache_dir\et0_a1_1.tif 2023-05-07 16:22:44,351 (pygeoprocessing.geoprocessing) geoprocessing.logger_callback(3323) INFO Warp 100.0% complete C:\SWY\cache_dir\et0_a1_1.tif 2023-05-07 16:22:45,141 (pygeoprocessing.geoprocessing) geoprocessing.align_and_resize_raster_stack(824) INFO 15 of 27 aligned: et0_a1_1.tif 2023-05-07 16:22:50,268 (pygeoprocessing.geoprocessing) geoprocessing.logger_callback(3323) INFO Warp 1.0% complete C:\SWY\cache_dir\et0_a2_1.tif 2023-05-07 16:22:53,634 (pygeoprocessing.geoprocessing) geoprocessing.logger_callback(3323) INFO Warp 100.0% complete C:\SWY\cache_dir\et0_a2_1.tif 2023-05-07 16:22:54,424 (pygeoprocessing.geoprocessing) geoprocessing.align_and_resize_raster_stack(824) INFO 16 of 27 aligned: et0_a2_1.tif 2023-05-07 16:23:00,001 (pygeoprocessing.geoprocessing) geoprocessing.align_and_resize_raster_stack(824) INFO 17 of 27 aligned: et0_a3_1.tif 2023-05-07 16:23:10,551 (pygeoprocessing.geoprocessing) geoprocessing.logger_callback(3323) INFO Warp 1.0% complete C:\SWY\cache_dir\et0_a4_1.tif 2023-05-07 16:23:15,927 (pygeoprocessing.geoprocessing) geoprocessing.logger_callback(3323) INFO Warp 76.0% complete C:\SWY\cache_dir\et0_a4_1.tif 2023-05-07 16:23:16,007 (pygeoprocessing.geoprocessing) geoprocessing.logger_callback(3323) INFO Warp 100.0% complete C:\SWY\cache_dir\et0_a4_1.tif 2023-05-07 16:23:17,140 (pygeoprocessing.geoprocessing) geoprocessing.align_and_resize_raster_stack(824) INFO 18 of 27 aligned: et0_a4_1.tif 2023-05-07 16:23:22,769 (pygeoprocessing.geoprocessing) geoprocessing.logger_callback(3323) INFO Warp 51.0% complete C:\SWY\cache_dir\et0_a5_1.tif 2023-05-07 16:23:24,040 (pygeoprocessing.geoprocessing) geoprocessing.logger_callback(3323) INFO Warp 100.0% complete C:\SWY\cache_dir\et0_a5_1.tif 2023-05-07 16:23:24,873 (pygeoprocessing.geoprocessing) geoprocessing.align_and_resize_raster_stack(824) INFO 19 of 27 aligned: et0_a5_1.tif 2023-05-07 16:23:30,131 (pygeoprocessing.geoprocessing) geoprocessing.logger_callback(3323) INFO Warp 76.0% complete C:\SWY\cache_dir\et0_a6_1.tif 2023-05-07 16:23:30,215 (pygeoprocessing.geoprocessing) geoprocessing.logger_callback(3323) INFO Warp 100.0% complete C:\SWY\cache_dir\et0_a6_1.tif 2023-05-07 16:23:30,980 (pygeoprocessing.geoprocessing) geoprocessing.align_and_resize_raster_stack(824) INFO 20 of 27 aligned: et0_a6_1.tif 2023-05-07 16:23:36,866 (pygeoprocessing.geoprocessing) geoprocessing.logger_callback(3323) INFO Warp 1.0% complete C:\SWY\cache_dir\et0_a7_1.tif 2023-05-07 16:23:40,265 (pygeoprocessing.geoprocessing) geoprocessing.logger_callback(3323) INFO Warp 100.0% complete C:\SWY\cache_dir\et0_a7_1.tif 2023-05-07 16:23:40,921 (pygeoprocessing.geoprocessing) geoprocessing.align_and_resize_raster_stack(824) INFO 21 of 27 aligned: et0_a7_1.tif 2023-05-07 16:23:46,565 (pygeoprocessing.geoprocessing) geoprocessing.align_and_resize_raster_stack(824) INFO 22 of 27 aligned: et0_a8_1.tif 2023-05-07 16:23:52,077 (pygeoprocessing.geoprocessing) geoprocessing.align_and_resize_raster_stack(824) INFO 23 of 27 aligned: et0_a9_1.tif 2023-05-07 16:23:57,533 (pygeoprocessing.geoprocessing) geoprocessing.align_and_resize_raster_stack(824) INFO 24 of 27 aligned: et0_a10_1.tif 2023-05-07 16:24:05,384 (pygeoprocessing.geoprocessing) geoprocessing.logger_callback(3323) INFO Warp 51.0% complete C:\SWY\cache_dir\et0_a11_1.tif 2023-05-07 16:24:06,432 (pygeoprocessing.geoprocessing) geoprocessing.logger_callback(3323) INFO Warp 100.0% complete C:\SWY\cache_dir\et0_a11_1.tif 2023-05-07 16:24:07,171 (pygeoprocessing.geoprocessing) geoprocessing.align_and_resize_raster_stack(824) INFO 25 of 27 aligned: et0_a11_1.tif 2023-05-07 16:24:07,803 (pygeoprocessing.geoprocessing) geoprocessing.align_and_resize_raster_stack(824) INFO 26 of 27 aligned: lulc_aligned_1.tif 2023-05-07 16:24:12,720 (pygeoprocessing.geoprocessing) geoprocessing.align_and_resize_raster_stack(824) INFO 27 of 27 aligned: dem_aligned_1.tif 2023-05-07 16:24:12,720 (pygeoprocessing.geoprocessing) geoprocessing.align_and_resize_raster_stack(828) INFO aligned all 27 rasters. 2023-05-07 16:24:14,715 (taskgraph.Task) Task.add_task(706) ERROR Something went wrong when adding task fill dem pits (1), terminating taskgraph. UnicodeDecodeError: 'utf-8' codec can't decode byte 0xa7 in position 79: invalid start byte The above exception was the direct cause of the following exception: Traceback (most recent call last): File "natcap\invest\utils.py", line 72, in _log_gdal_errors SystemError: returned a result with an exception set The above exception was the direct cause of the following exception: SystemError: returned a result with an exception set The above exception was the direct cause of the following exception: Traceback (most recent call last): File "natcap\invest\utils.py", line 72, in _log_gdal_errors SystemError: returned a result with an exception set The above exception was the direct cause of the following exception: SystemError: returned a result with an exception set The above exception was the direct cause of the following exception: Traceback (most recent call last): File "natcap\invest\utils.py", line 72, in _log_gdal_errors SystemError: returned a result with an exception set The above exception was the direct cause of the following exception: SystemError: returned a result with an exception set The above exception was the direct cause of the following exception: Traceback (most recent call last): File "natcap\invest\utils.py", line 72, in _log_gdal_errors SystemError: returned a result with an exception set The above exception was the direct cause of the following exception: SystemError: returned a result with an exception set The above exception was the direct cause of the following exception: Traceback (most recent call last): File "natcap\invest\utils.py", line 72, in _log_gdal_errors SystemError: returned a result with an exception set The above exception was the direct cause of the following exception: SystemError: returned a result with an exception set The above exception was the direct cause of the following exception: Traceback (most recent call last): File "natcap\invest\utils.py", line 72, in _log_gdal_errors SystemError: returned a result with an exception set The above exception was the direct cause of the following exception: SystemError: returned a result with an exception set The above exception was the direct cause of the following exception: Traceback (most recent call last): File "natcap\invest\utils.py", line 72, in _log_gdal_errors SystemError: returned a result with an exception set The above exception was the direct cause of the following exception: SystemError: returned a result with an exception set The above exception was the direct cause of the following exception: Traceback (most recent call last): File "natcap\invest\utils.py", line 72, in _log_gdal_errors SystemError: returned a result with an exception set The above exception was the direct cause of the following exception: Traceback (most recent call last): File "taskgraph\Task.py", line 674, in add_task File "taskgraph\Task.py", line 1093, in _call File "src\pygeoprocessing\routing\routing.pyx", line 784, in pygeoprocessing.routing.routing.fill_pits File "pygeoprocessing\geoprocessing.py", line 2953, in iterblocks File "osgeo\gdal.py", line 3743, in ReadAsArray File "C:\Users\jenni\AppData\Local\Temp\embedded.pj6ek0yh.zip\shibokensupport\__feature__.py", line 142, in _import File "", line 1027, in _find_and_load File "", line 1006, in _find_and_load_unlocked File "", line 688, in _load_unlocked File "PyInstaller\loader\pyimod03_importers.py", line 495, in exec_module File "osgeo\gdal_array.py", line 137, in SystemError: _PyEval_EvalFrameDefault returned a result with an exception set 2023-05-07 16:24:14,733 (natcap.invest.utils) utils.prepare_workspace(166) ERROR Exception while executing natcap.invest.seasonal_water_yield.seasonal_water_yield UnicodeDecodeError: 'utf-8' codec can't decode byte 0xa7 in position 79: invalid start byte The above exception was the direct cause of the following exception: Traceback (most recent call last): File "natcap\invest\utils.py", line 72, in _log_gdal_errors SystemError: returned a result with an exception set The above exception was the direct cause of the following exception: SystemError: returned a result with an exception set The above exception was the direct cause of the following exception: Traceback (most recent call last): File "natcap\invest\utils.py", line 72, in _log_gdal_errors SystemError: returned a result with an exception set The above exception was the direct cause of the following exception: SystemError: returned a result with an exception set The above exception was the direct cause of the following exception: Traceback (most recent call last): File "natcap\invest\utils.py", line 72, in _log_gdal_errors SystemError: returned a result with an exception set The above exception was the direct cause of the following exception: SystemError: returned a result with an exception set The above exception was the direct cause of the following exception: Traceback (most recent call last): File "natcap\invest\utils.py", line 72, in _log_gdal_errors SystemError: returned a result with an exception set The above exception was the direct cause of the following exception: SystemError: returned a result with an exception set The above exception was the direct cause of the following exception: Traceback (most recent call last): File "natcap\invest\utils.py", line 72, in _log_gdal_errors SystemError: returned a result with an exception set The above exception was the direct cause of the following exception: SystemError: returned a result with an exception set The above exception was the direct cause of the following exception: Traceback (most recent call last): File "natcap\invest\utils.py", line 72, in _log_gdal_errors SystemError: returned a result with an exception set The above exception was the direct cause of the following exception: SystemError: returned a result with an exception set The above exception was the direct cause of the following exception: Traceback (most recent call last): File "natcap\invest\utils.py", line 72, in _log_gdal_errors SystemError: returned a result with an exception set The above exception was the direct cause of the following exception: SystemError: returned a result with an exception set The above exception was the direct cause of the following exception: Traceback (most recent call last): File "natcap\invest\utils.py", line 72, in _log_gdal_errors SystemError: returned a result with an exception set The above exception was the direct cause of the following exception: 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\seasonal_water_yield\seasonal_water_yield.py", line 408, in execute File "natcap\invest\seasonal_water_yield\seasonal_water_yield.py", line 566, in _execute File "taskgraph\Task.py", line 674, in add_task File "taskgraph\Task.py", line 1093, in _call File "src\pygeoprocessing\routing\routing.pyx", line 784, in pygeoprocessing.routing.routing.fill_pits File "pygeoprocessing\geoprocessing.py", line 2953, in iterblocks File "osgeo\gdal.py", line 3743, in ReadAsArray File "C:\Users\jenni\AppData\Local\Temp\embedded.pj6ek0yh.zip\shibokensupport\__feature__.py", line 142, in _import File "", line 1027, in _find_and_load File "", line 1006, in _find_and_load_unlocked File "", line 688, in _load_unlocked File "PyInstaller\loader\pyimod03_importers.py", line 495, in exec_module File "osgeo\gdal_array.py", line 137, in SystemError: _PyEval_EvalFrameDefault returned a result with an exception set 2023-05-07 16:24:14,735 (natcap.invest.utils) utils.prepare_workspace(169) INFO Elapsed time: 4m 10.550000000000011s 2023-05-07 16:24:14,736 (natcap.invest.utils) utils.prepare_workspace(172) INFO Execution finished