2021-05-31 10:24:47,184 utils.prepare_workspace(123) INFO Writing log messages to E:/wateryieldoutput/2000\InVEST-Hydropower-Water-Yield-log-2021-05-31--10_24_47.txt 2021-05-31 10:24:47,186 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 E:/InVEST_wateryield_RUN/biophysical_table/biophysical_table3.csv depth_to_root_rest_layer_path E:/InVEST_wateryield_RUN/depth_to_root_restricting_layer/turanshendu1.tif do_scarcity_and_valuation False eto_path E:/InVEST_wateryield_RUN/reference_evapotranspiration/eto2000_run.tif lulc_path E:/LUCC_1/2000/2000_input_test1.tif n_workers -1 pawc_path E:/InVEST_wateryield_RUN/plant_available_water_fraction/PAWC_test1.tif precipitation_path E:/InVEST_wateryield_RUN/precipitation/rain2000_run.tif results_suffix 2000 seasonality_constant 15 sub_watersheds_path E:/InVEST_wateryield_RUN/watersheds_input/yp_subwatersheds_input.shp watersheds_path E:/InVEST_wateryield_RUN/watersheds/yp_watersheds_input.shp workspace_dir E:/wateryieldoutput/2000 2021-05-31 10:24:47,188 hydropower_water_yield.execute(269) INFO Validating arguments 2021-05-31 10:24:47,188 validation._wrapped_validate_func(911) DEBUG Using ARG_SPEC for validation 2021-05-31 10:24:47,188 validation._wrapped_validate_func(915) INFO Starting whole-model validation with ARGS_SPEC 2021-05-31 10:24:47,189 validation.timeout(625) DEBUG Starting file checking thread with timeout=5 2021-05-31 10:24:47,238 validation.timeout(637) DEBUG File checking thread completed. 2021-05-31 10:24:47,239 validation.timeout(625) DEBUG Starting file checking thread with timeout=5 2021-05-31 10:24:47,275 validation.timeout(637) DEBUG File checking thread completed. 2021-05-31 10:24:47,275 validation.timeout(625) DEBUG Starting file checking thread with timeout=5 2021-05-31 10:24:47,283 validation.timeout(637) DEBUG File checking thread completed. 2021-05-31 10:24:47,284 validation.timeout(625) DEBUG Starting file checking thread with timeout=5 2021-05-31 10:24:47,311 validation.timeout(637) DEBUG File checking thread completed. 2021-05-31 10:24:47,311 validation.timeout(625) DEBUG Starting file checking thread with timeout=5 2021-05-31 10:24:47,343 validation.timeout(637) DEBUG File checking thread completed. 2021-05-31 10:24:47,343 validation.timeout(625) DEBUG Starting file checking thread with timeout=5 2021-05-31 10:24:47,375 validation.timeout(637) DEBUG File checking thread completed. 2021-05-31 10:24:47,375 validation.timeout(625) DEBUG Starting file checking thread with timeout=5 2021-05-31 10:24:47,398 validation.timeout(637) DEBUG File checking thread completed. 2021-05-31 10:24:47,399 validation.validate(794) DEBUG Provided key do_scarcity_and_valuation does not exist in ARGS_SPEC 2021-05-31 10:24:47,399 validation.timeout(625) DEBUG Starting file checking thread with timeout=5 2021-05-31 10:24:47,422 validation.timeout(637) DEBUG File checking thread completed. 2021-05-31 10:24:47,422 validation.timeout(625) DEBUG Starting file checking thread with timeout=5 2021-05-31 10:24:47,425 validation.timeout(637) DEBUG File checking thread completed. 2021-05-31 10:24:47,470 validation._wrapped_validate_func(962) DEBUG Validation warnings: [] 2021-05-31 10:24:47,753 geoprocessing.align_and_resize_raster_stack(795) INFO 1 of 5 aligned: eto_2000.tif 2021-05-31 10:24:48,027 geoprocessing.align_and_resize_raster_stack(795) INFO 2 of 5 aligned: precip_2000.tif 2021-05-31 10:24:48,161 geoprocessing.align_and_resize_raster_stack(795) INFO 3 of 5 aligned: depth_to_root_rest_layer_2000.tif 2021-05-31 10:24:48,353 geoprocessing.align_and_resize_raster_stack(795) INFO 4 of 5 aligned: pawc_2000.tif 2021-05-31 10:24:48,461 geoprocessing.align_and_resize_raster_stack(795) INFO 5 of 5 aligned: clipped_lulc_2000.tif 2021-05-31 10:24:48,461 geoprocessing.align_and_resize_raster_stack(797) INFO aligned all 5 rasters. 2021-05-31 10:24:48,483 hydropower_water_yield.execute(405) DEBUG bio_lucodes {32, 33, 128.0, 41, 11, 12, 43, 51, 52, 21, 22, 23, 31} 2021-05-31 10:24:48,483 hydropower_water_yield.execute(453) INFO Reclassifying temp_Kc raster 2021-05-31 10:24:48,491 geoprocessing.raster_calculator(391) INFO starting stats_worker 2021-05-31 10:24:48,491 threading.run(870) DEBUG stats worker PID: 12568 2021-05-31 10:24:48,491 geoprocessing.raster_calculator(397) INFO started stats_worker 2021-05-31 10:24:48,494 geoprocessing.raster_calculator(507) INFO Waiting for raster stats worker result. 2021-05-31 10:24:48,494 threading.run(870) WARNING No valid pixels were received, sending None. 2021-05-31 10:24:48,495 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 "E:/wateryieldoutput/2000\\intermediate\\clipped_lulc_2000.tif" do not have corresponding entries in the ``value_map``: {11: 0.65, 12: 0.65, 21: 1.0, 22: 0.39799999999999996, 23: 1.0, 31: 0.65, 32: 0.65, 33: 0.65, 41: 1.2, 43: 1.2, 51: 0.3, 52: 0.3}.', 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-05-31 10:24:48,496 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 "E:/wateryieldoutput/2000\\intermediate\\clipped_lulc_2000.tif" do not have corresponding entries in the ``value_map``: {11: 0.65, 12: 0.65, 21: 1.0, 22: 0.39799999999999996, 23: 1.0, 31: 0.65, 32: 0.65, 33: 0.65, 41: 1.2, 43: 1.2, 51: 0.3, 52: 0.3}.', 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-05-31 10:24:48,497 model._logged_target(1655) INFO Execution finished 2021-05-31 10:24:48,499 utils.prepare_workspace(129) INFO Elapsed time: 1.31s