2021-02-18 16:16:15,448 utils.prepare_workspace(123) INFO Writing log messages to C:/Users/user/Desktop/FYP GIS/FYP/New folder\InVEST-Hydropower-Water-Yield-log-2021-02-18--16_16_15.txt 2021-02-18 16:16:15,452 model._logged_target(1646) Level 100 Starting model with parameters: Arguments for InVEST natcap.invest.hydropower.hydropower_water_yield 3.9.0: biophysical_table_path C:/Users/user/Desktop/FYP GIS/FYP/InVEST/biotable.csv depth_to_root_rest_layer_path C:/Users/user/Desktop/FYP GIS/FYP/InVEST/SoilDepth.img do_scarcity_and_valuation False eto_path C:/Users/user/Desktop/FYP GIS/FYP/InVEST/PETAnnual.img lulc_path C:/Users/user/Desktop/FYP GIS/FYP/InVEST/class.img n_workers -1 pawc_path C:/Users/user/Desktop/FYP GIS/FYP/InVEST/PAWC.img precipitation_path C:/Users/user/Desktop/FYP GIS/FYP/InVEST/Rainfall.img results_suffix seasonality_constant 10 sub_watersheds_path watersheds_path C:/Users/user/Desktop/FYP GIS/FYP/InVEST/LangatBasin.shp workspace_dir C:/Users/user/Desktop/FYP GIS/FYP/New folder 2021-02-18 16:16:15,463 hydropower_water_yield.execute(269) INFO Validating arguments 2021-02-18 16:16:15,464 validation._wrapped_validate_func(911) DEBUG Using ARG_SPEC for validation 2021-02-18 16:16:15,464 validation._wrapped_validate_func(915) INFO Starting whole-model validation with ARGS_SPEC 2021-02-18 16:16:15,465 validation.timeout(625) DEBUG Starting file checking thread with timeout=5 2021-02-18 16:16:15,518 validation.timeout(637) DEBUG File checking thread completed. 2021-02-18 16:16:15,519 validation.timeout(625) DEBUG Starting file checking thread with timeout=5 2021-02-18 16:16:15,528 validation.timeout(637) DEBUG File checking thread completed. 2021-02-18 16:16:15,529 validation.timeout(625) DEBUG Starting file checking thread with timeout=5 2021-02-18 16:16:15,575 validation.timeout(637) DEBUG File checking thread completed. 2021-02-18 16:16:15,575 validation.validate(794) DEBUG Provided key do_scarcity_and_valuation does not exist in ARGS_SPEC 2021-02-18 16:16:15,575 validation.timeout(625) DEBUG Starting file checking thread with timeout=5 2021-02-18 16:16:15,583 validation.timeout(637) DEBUG File checking thread completed. 2021-02-18 16:16:15,583 validation.timeout(625) DEBUG Starting file checking thread with timeout=5 2021-02-18 16:16:15,622 validation.timeout(637) DEBUG File checking thread completed. 2021-02-18 16:16:15,623 validation.timeout(625) DEBUG Starting file checking thread with timeout=5 2021-02-18 16:16:15,658 validation.timeout(637) DEBUG File checking thread completed. 2021-02-18 16:16:15,659 validation.timeout(625) DEBUG Starting file checking thread with timeout=5 2021-02-18 16:16:15,691 validation.timeout(637) DEBUG File checking thread completed. 2021-02-18 16:16:15,692 validation.timeout(625) DEBUG Starting file checking thread with timeout=5 2021-02-18 16:16:15,723 validation.timeout(637) DEBUG File checking thread completed. 2021-02-18 16:16:15,855 validation._wrapped_validate_func(962) DEBUG Validation warnings: [] 2021-02-18 16:16:17,341 geoprocessing.align_and_resize_raster_stack(795) INFO 1 of 5 aligned: eto.tif 2021-02-18 16:16:18,658 geoprocessing.align_and_resize_raster_stack(795) INFO 2 of 5 aligned: precip.tif 2021-02-18 16:16:19,634 geoprocessing.align_and_resize_raster_stack(795) INFO 3 of 5 aligned: depth_to_root_rest_layer.tif 2021-02-18 16:16:20,271 geoprocessing.align_and_resize_raster_stack(795) INFO 4 of 5 aligned: pawc.tif 2021-02-18 16:16:20,972 geoprocessing.align_and_resize_raster_stack(795) INFO 5 of 5 aligned: clipped_lulc.tif 2021-02-18 16:16:20,973 geoprocessing.align_and_resize_raster_stack(797) INFO aligned all 5 rasters. 2021-02-18 16:16:21,030 hydropower_water_yield.execute(405) DEBUG bio_lucodes {1, 2, 3, 4, 5, 6, 15.0} 2021-02-18 16:16:21,030 hydropower_water_yield.execute(453) INFO Reclassifying temp_Kc raster 2021-02-18 16:16:21,052 geoprocessing.raster_calculator(391) INFO starting stats_worker 2021-02-18 16:16:21,054 threading.run(870) DEBUG stats worker PID: 7764 2021-02-18 16:16:21,054 geoprocessing.raster_calculator(397) INFO started stats_worker 2021-02-18 16:16:21,096 geoprocessing.raster_calculator(507) INFO Waiting for raster stats worker result. 2021-02-18 16:16:21,096 threading.run(870) WARNING No valid pixels were received, sending None. 2021-02-18 16:16:21,097 Task.add_task(781) ERROR Something went wrong when adding task create_Kc_raster (1), terminating taskgraph. Traceback (most recent call last): File "site-packages\natcap\invest\utils.py", line 854, in reclassify_raster File "site-packages\pygeoprocessing\geoprocessing.py", line 1836, in reclassify_raster File "site-packages\pygeoprocessing\geoprocessing.py", line 438, in raster_calculator File "site-packages\pygeoprocessing\geoprocessing.py", line 1829, in _map_dataset_to_value_op pygeoprocessing.geoprocessing.ReclassificationMissingValuesError: ('The following 1 raster values [0] from "C:/Users/user/Desktop/FYP GIS/FYP/New folder\\intermediate\\clipped_lulc.tif" do not have corresponding entries in the ``value_map``: {1: 1.0, 2: 1.0, 3: 1.02, 4: 1.0, 5: 0.28800000000000003, 6: 0.5}.', array([0], dtype=uint8)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "site-packages\taskgraph\Task.py", line 747, in add_task File "site-packages\taskgraph\Task.py", line 1234, in _call File "site-packages\natcap\invest\utils.py", line 862, in reclassify_raster ValueError: Values in the LULC raster were found that are not represented under the 'lucode' column of the Biophysical table. The missing values found in the LULC raster but not the table are: [0]. 2021-02-18 16:16:21,099 model._logged_target(1652) ERROR Exception while executing Traceback (most recent call last): File "site-packages\natcap\invest\utils.py", line 854, in reclassify_raster File "site-packages\pygeoprocessing\geoprocessing.py", line 1836, in reclassify_raster File "site-packages\pygeoprocessing\geoprocessing.py", line 438, in raster_calculator File "site-packages\pygeoprocessing\geoprocessing.py", line 1829, in _map_dataset_to_value_op pygeoprocessing.geoprocessing.ReclassificationMissingValuesError: ('The following 1 raster values [0] from "C:/Users/user/Desktop/FYP GIS/FYP/New folder\\intermediate\\clipped_lulc.tif" do not have corresponding entries in the ``value_map``: {1: 1.0, 2: 1.0, 3: 1.02, 4: 1.0, 5: 0.28800000000000003, 6: 0.5}.', array([0], dtype=uint8)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "site-packages\natcap\invest\ui\model.py", line 1649, in _logged_target File "site-packages\natcap\invest\hydropower\hydropower_water_yield.py", line 462, in execute File "site-packages\taskgraph\Task.py", line 747, in add_task File "site-packages\taskgraph\Task.py", line 1234, in _call File "site-packages\natcap\invest\utils.py", line 862, in reclassify_raster ValueError: Values in the LULC raster were found that are not represented under the 'lucode' column of the Biophysical table. The missing values found in the LULC raster but not the table are: [0]. 2021-02-18 16:16:21,100 model._logged_target(1655) INFO Execution finished 2021-02-18 16:16:21,105 utils.prepare_workspace(129) INFO Elapsed time: 5.66s