2022-05-10 10:57:41,320 (natcap.invest.utils) utils.prepare_workspace(162) Level 100 Writing log messages to C:\Users\longxps\Documents\ndr_workspace\InVEST-Nutrient-Delivery-Ratio-log-2022-05-10--10_57_41.txt 2022-05-10 10:57:41,323 (natcap.invest.ui.model) model._logged_target(1643) Level 100 Starting model with parameters: Arguments for InVEST natcap.invest.ndr.ndr 3.10.2: biophysical_table_path C:/Users/longxps/OneDrive - National University of Singapore/Desktop/UES/UES InVEST and SWMM/InVEST model/3_InVEST NDR data for Punggol/Biophysical table_NDR.csv calc_n False calc_p True dem_path C:/Users/longxps/OneDrive - National University of Singapore/Desktop/UES/UES InVEST and SWMM/InVEST model/3_InVEST NDR data for Punggol/DEM_20210510_PNS.tif k_param 2 lulc_path C:/Users/longxps/OneDrive - National University of Singapore/Desktop/UES/UES InVEST and SWMM/InVEST model/3_InVEST NDR data for Punggol/LULC2019_bioretention and edeck_reprojected.tif n_workers -1 results_suffix 2022-05-10_NDR_PNS runoff_proxy_path C:/Users/longxps/OneDrive - National University of Singapore/Desktop/UES/UES InVEST and SWMM/InVEST model/3_InVEST NDR data for Punggol/Nutrient Runoff Proxy_WorldClim_10min_PNS.tif subsurface_critical_length_n subsurface_eff_n threshold_flow_accumulation 100 watersheds_path C:/Users/longxps/OneDrive - National University of Singapore/Desktop/UES/UES InVEST and SWMM/InVEST model/3_InVEST NDR data for Punggol/1_Watershed_DelineateIT_clipped_PNS.geojson workspace_dir C:\Users\longxps\Documents\ndr_workspace 2022-05-10 10:57:41,342 (natcap.invest.utils) utils.build_lookup_from_csv(570) WARNING Empty or NaN values were found in the table: C:/Users/longxps/OneDrive - National University of Singapore/Desktop/UES/UES InVEST and SWMM/InVEST model/3_InVEST NDR data for Punggol/Biophysical table_NDR.csv. 2022-05-10 10:57:41,515 (pygeoprocessing.geoprocessing) geoprocessing.raster_calculator(396) INFO starting stats_worker 2022-05-10 10:57:41,516 (pygeoprocessing.geoprocessing_core) threading.run(870) DEBUG stats worker PID: 17676 2022-05-10 10:57:41,516 (pygeoprocessing.geoprocessing) geoprocessing.raster_calculator(402) INFO started stats_worker 2022-05-10 10:57:41,517 (pygeoprocessing.geoprocessing) geoprocessing.raster_calculator(498) ERROR exception encountered in raster_calculator Traceback (most recent call last): File "natcap\invest\ndr\ndr.py", line 954, in _map_load_op KeyError: 1.0 During handling of the above exception, another exception occurred: Traceback (most recent call last): File "pygeoprocessing\geoprocessing.py", line 443, in raster_calculator File "natcap\invest\ndr\ndr.py", line 957, in _map_load_op KeyError: 'lucode: 1 is present in the landuse raster but missing from the biophysical table' 2022-05-10 10:57:41,524 (pygeoprocessing.geoprocessing) geoprocessing.raster_calculator(513) INFO Waiting for raster stats worker result. 2022-05-10 10:57:41,524 (pygeoprocessing.geoprocessing_core) threading.run(870) WARNING No valid pixels were received, sending None. 2022-05-10 10:57:41,525 (taskgraph.Task) Task.add_task(706) ERROR Something went wrong when adding task p load (17), terminating taskgraph. Traceback (most recent call last): File "natcap\invest\ndr\ndr.py", line 954, in _map_load_op KeyError: 1.0 During handling of the above exception, another exception occurred: 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\ndr\ndr.py", line 962, in _calculate_load File "pygeoprocessing\geoprocessing.py", line 443, in raster_calculator File "natcap\invest\ndr\ndr.py", line 957, in _map_load_op KeyError: 'lucode: 1 is present in the landuse raster but missing from the biophysical table' 2022-05-10 10:57:41,538 (natcap.invest.utils) utils.prepare_workspace(167) ERROR Exception while executing Nutrient-Delivery-Ratio Traceback (most recent call last): File "natcap\invest\ndr\ndr.py", line 954, in _map_load_op KeyError: 1.0 During handling of the above exception, another exception occurred: Traceback (most recent call last): File "natcap\invest\utils.py", line 165, in prepare_workspace File "natcap\invest\ui\model.py", line 1649, in _logged_target File "natcap\invest\ndr\ndr.py", line 542, in execute File "taskgraph\Task.py", line 674, in add_task File "taskgraph\Task.py", line 1093, in _call File "natcap\invest\ndr\ndr.py", line 962, in _calculate_load File "pygeoprocessing\geoprocessing.py", line 443, in raster_calculator File "natcap\invest\ndr\ndr.py", line 957, in _map_load_op KeyError: 'lucode: 1 is present in the landuse raster but missing from the biophysical table' 2022-05-10 10:57:41,548 (natcap.invest.utils) utils.prepare_workspace(170) INFO Elapsed time: 0.23s 2022-05-10 10:57:41,548 (natcap.invest.utils) utils.prepare_workspace(173) INFO Execution finished