SDR error - missing value

I am running the SDR model and the following error message:

ValueError: The following 1 raster values [-3.4e+38] from “/Volumes/GoogleDrive/[…]/Sediment/intermediate_outputs/churn_dir_not_for_humans/aligned_lulc_baseline_v3.tif” do not have corresponding entries in the value_map: {1.0: 0.27, 2.0: 0.99, 3.0: 0.128, 4.0: 0.99, 5.0: 0.009000000000000001, 6.0: 0.001, 7.0: 0.001, 8.0: 0.002, 9.0: 0.002, 10.0: 0.002, 11.0: 0.02, 12.0: 0.003, 13.0: 0.002, 14.0: 0.175, 15.0: 0.001, 16.0: 1.0, 17.0: 0.003, 18.0: 0.002, 19.0: 0.175, 32001.0: 1.0, 32002.0: 0.9, 32003.0: 0.8, 32004.0: 0.7, 32005.0: 0.6, 2531015.0: 0.006, 2531520.0: 0.075, 2541015.0: 0.006, 2541520.0: 0.075, -3.4000000000000003e+38: 0.0}

When I open that tif in my GIS it indeed initially seems to have this very low value [-3.4e+38] but I cannot find amongst the pixels. When I go to classify the pixels based on their LULC codes this value also disappears.

I can only think that this error related to NoData somewhere. I have checked that all of the input layers overlap and are in the same projection. Any other tips you may have to solve this error would be greatly appreciated.

Sylvia

Run log:

Initializing…

Showing messages with level INFO and higher

2021-01-08 10:56:44,165 utils.prepare_workspace(111) INFO Writing log messages to /Volumes/GoogleDrive/.shortcut-targets-by-id/137PT8GtRF-lifVRYGLBn5MDL3XCv3x6f/1 - Drive Eco2Urb/Clients-Projects/Projets en cours/CREDDO/4-Analysis/2-Analysis/Sediment/InVEST-Sediment-Delivery-Ratio-Model-(SDR)-log-2021-01-08–10_56_44.txt

2021-01-08 10:56:44,254 model._logged_target(1626) Level 100 Starting model with parameters:

Arguments for InVEST natcap.invest.sdr.sdr 3.8.9:

biophysical_table_path /Volumes/GoogleDrive/.shortcut-targets-by-id/137PT8GtRF-lifVRYGLBn5MDL3XCv3x6f/1 - Drive Eco2Urb/Clients-Projects/Projets en cours/CREDDO/4-Analysis/1-Data/GeospatialData/Sediments/Biophysical_table_SDR_CREDDO_2021.csv

dem_path /Volumes/GoogleDrive/.shortcut-targets-by-id/137PT8GtRF-lifVRYGLBn5MDL3XCv3x6f/1 - Drive Eco2Urb/Clients-Projects/Projets en cours/CREDDO/4-Analysis/1-Data/GeospatialData/Sediments/CDEM/DEM.tif

drainage_path

erodibility_path /Volumes/GoogleDrive/.shortcut-targets-by-id/137PT8GtRF-lifVRYGLBn5MDL3XCv3x6f/1 - Drive Eco2Urb/Clients-Projects/Projets en cours/CREDDO/4-Analysis/1-Data/GeospatialData/Sediments/Erodibility_K_CREDDO.tif

erosivity_path /Volumes/GoogleDrive/.shortcut-targets-by-id/137PT8GtRF-lifVRYGLBn5MDL3XCv3x6f/1 - Drive Eco2Urb/Clients-Projects/Projets en cours/CREDDO/4-Analysis/1-Data/GeospatialData/Sediments/Erositivity_CREDDO.tif

ic_0_param 0.9

k_param 3.5

lulc_path /Volumes/GoogleDrive/.shortcut-targets-by-id/137PT8GtRF-lifVRYGLBn5MDL3XCv3x6f/1 - Drive Eco2Urb/Clients-Projects/Projets en cours/CREDDO/4-Analysis/1-Data/GeospatialData/LandUse/land_use_bassinVersant_cl27.tif

n_workers -1

results_suffix _baseline_v3

sdr_max 0.8

threshold_flow_accumulation 1000

watersheds_path /Volumes/GoogleDrive/.shortcut-targets-by-id/137PT8GtRF-lifVRYGLBn5MDL3XCv3x6f/1 - Drive Eco2Urb/Clients-Projects/Projets en cours/CREDDO/4-Analysis/1-Data/GeospatialData/Sediments/Bassin Versant_CREDDO_32198.shp

workspace_dir /Volumes/GoogleDrive/.shortcut-targets-by-id/137PT8GtRF-lifVRYGLBn5MDL3XCv3x6f/1 - Drive Eco2Urb/Clients-Projects/Projets en cours/CREDDO/4-Analysis/2-Analysis/Sediment

2021-01-08 10:56:51,805 geoprocessing.raster_calculator(375) INFO starting stats_worker

2021-01-08 10:56:51,919 geoprocessing.raster_calculator(381) INFO started stats_worker <Thread(Thread-185, started daemon 123145475821568)>

2021-01-08 10:56:52,418 geoprocessing.raster_calculator(454) INFO 100.0%% complete

2021-01-08 10:56:52,420 geoprocessing.raster_calculator(457) INFO signaling stats worker to terminate

2021-01-08 10:56:52,423 geoprocessing.raster_calculator(459) INFO Waiting for raster stats worker result.

2021-01-08 10:56:53,137 geoprocessing.align_and_resize_raster_stack(752) INFO 1 of 4 aligned: aligned_dem_baseline_v3.tif

2021-01-08 10:56:56,533 geoprocessing.raster_calculator(375) INFO starting stats_worker

2021-01-08 10:56:56,535 geoprocessing.raster_calculator(381) INFO started stats_worker <Thread(Thread-186, started daemon 123145475821568)>

2021-01-08 10:56:57,094 geoprocessing.raster_calculator(454) INFO 100.0%% complete

2021-01-08 10:56:57,099 geoprocessing.raster_calculator(457) INFO signaling stats worker to terminate

2021-01-08 10:56:57,100 geoprocessing.raster_calculator(459) INFO Waiting for raster stats worker result.

2021-01-08 10:56:57,962 geoprocessing.align_and_resize_raster_stack(752) INFO 2 of 4 aligned: aligned_lulc_baseline_v3.tif

2021-01-08 10:57:02,452 geoprocessing.raster_calculator(375) INFO starting stats_worker

2021-01-08 10:57:02,457 geoprocessing.raster_calculator(381) INFO started stats_worker <Thread(Thread-187, started daemon 123145475821568)>

2021-01-08 10:57:04,048 geoprocessing.raster_calculator(454) INFO 100.0%% complete

2021-01-08 10:57:04,050 geoprocessing.raster_calculator(457) INFO signaling stats worker to terminate

2021-01-08 10:57:04,054 geoprocessing.raster_calculator(459) INFO Waiting for raster stats worker result.

2021-01-08 10:57:07,525 geoprocessing.align_and_resize_raster_stack(752) INFO 3 of 4 aligned: aligned_erosivity_baseline_v3.tif

2021-01-08 10:57:13,128 geoprocessing.raster_calculator(375) INFO starting stats_worker

2021-01-08 10:57:13,134 geoprocessing.raster_calculator(381) INFO started stats_worker <Thread(Thread-188, started daemon 123145475821568)>

2021-01-08 10:57:14,253 geoprocessing.raster_calculator(454) INFO 100.0%% complete

2021-01-08 10:57:14,254 geoprocessing.raster_calculator(457) INFO signaling stats worker to terminate

2021-01-08 10:57:14,256 geoprocessing.raster_calculator(459) INFO Waiting for raster stats worker result.

2021-01-08 10:57:15,423 geoprocessing.align_and_resize_raster_stack(752) INFO 4 of 4 aligned: aligned_erodibility_baseline_v3.tif

2021-01-08 10:57:15,425 geoprocessing.align_and_resize_raster_stack(754) INFO aligned all 4 rasters.

2021-01-08 10:57:21,385 Task._call(1174) INFO 38.1% complete

2021-01-08 10:57:27,275 Task._call(1174) INFO 69.8% complete

2021-01-08 10:57:28,874 Task._call(1174) INFO 100.0% complete

2021-01-08 10:57:31,386 geoprocessing.raster_calculator(375) INFO starting stats_worker

2021-01-08 10:57:31,388 geoprocessing.raster_calculator(381) INFO started stats_worker <Thread(Thread-189, started daemon 123145475821568)>

2021-01-08 10:57:32,048 geoprocessing.raster_calculator(454) INFO 100.0%% complete

2021-01-08 10:57:32,059 geoprocessing.raster_calculator(457) INFO signaling stats worker to terminate

2021-01-08 10:57:32,060 geoprocessing.raster_calculator(459) INFO Waiting for raster stats worker result.

2021-01-08 10:57:39,028 Task._call(1174) INFO 44.4% complete

2021-01-08 10:57:43,584 Task._call(1174) INFO 100.0% complete

2021-01-08 10:57:43,748 Task._call(1174) INFO Calculating average aspect

2021-01-08 10:57:44,368 Task._call(1174) INFO Average aspect 0.00% complete

2021-01-08 10:57:44,373 Task._call(1174) INFO Average aspect 0.56% complete

2021-01-08 10:57:44,378 Task._call(1174) INFO Average aspect 1.13% complete

2021-01-08 10:57:44,384 Task._call(1174) INFO Average aspect 1.69% complete

2021-01-08 10:57:44,391 Task._call(1174) INFO Average aspect 2.26% complete

2021-01-08 10:57:44,396 Task._call(1174) INFO Average aspect 2.82% complete

2021-01-08 10:57:44,402 Task._call(1174) INFO Average aspect 3.38% complete

2021-01-08 10:57:44,414 Task._call(1174) INFO Average aspect 3.95% complete

2021-01-08 10:57:44,421 Task._call(1174) INFO Average aspect 4.51% complete

2021-01-08 10:57:44,432 Task._call(1174) INFO Average aspect 5.08% complete

2021-01-08 10:57:44,440 Task._call(1174) INFO Average aspect 5.64% complete

2021-01-08 10:57:44,447 Task._call(1174) INFO Average aspect 6.21% complete

2021-01-08 10:57:44,451 Task._call(1174) INFO Average aspect 6.34% complete

2021-01-08 10:57:44,471 Task._call(1174) INFO Average aspect 6.91% complete

2021-01-08 10:57:44,508 Task._call(1174) INFO Average aspect 7.47% complete

2021-01-08 10:57:44,515 Task._call(1174) INFO Average aspect 8.04% complete

2021-01-08 10:57:44,522 Task._call(1174) INFO Average aspect 8.60% complete

2021-01-08 10:57:44,534 Task._call(1174) INFO Average aspect 9.17% complete

2021-01-08 10:57:44,546 Task._call(1174) INFO Average aspect 9.73% complete

2021-01-08 10:57:44,552 Task._call(1174) INFO Average aspect 10.29% complete

2021-01-08 10:57:44,560 Task._call(1174) INFO Average aspect 10.86% complete

2021-01-08 10:57:44,566 Task._call(1174) INFO Average aspect 11.42% complete

2021-01-08 10:57:44,575 Task._call(1174) INFO Average aspect 11.99% complete

2021-01-08 10:57:44,583 Task._call(1174) INFO Average aspect 12.55% complete

2021-01-08 10:57:44,587 Task._call(1174) INFO Average aspect 12.69% complete

2021-01-08 10:57:44,618 Task._call(1174) INFO Average aspect 13.25% complete

2021-01-08 10:57:44,646 Task._call(1174) INFO Average aspect 13.82% complete

2021-01-08 10:57:44,661 Task._call(1174) INFO Average aspect 14.38% complete

2021-01-08 10:57:44,675 Task._call(1174) INFO Average aspect 14.95% complete

2021-01-08 10:57:44,693 Task._call(1174) INFO Average aspect 15.51% complete

2021-01-08 10:57:44,711 Task._call(1174) INFO Average aspect 16.07% complete

2021-01-08 10:57:44,723 Task._call(1174) INFO Average aspect 16.64% complete

2021-01-08 10:57:44,733 Task._call(1174) INFO Average aspect 17.20% complete

2021-01-08 10:57:44,742 Task._call(1174) INFO Average aspect 17.77% complete

2021-01-08 10:57:44,752 Task._call(1174) INFO Average aspect 18.33% complete

2021-01-08 10:57:44,761 Task._call(1174) INFO Average aspect 18.89% complete

2021-01-08 10:57:44,765 Task._call(1174) INFO Average aspect 19.03% complete

2021-01-08 10:57:44,780 Task._call(1174) INFO Average aspect 19.60% complete

2021-01-08 10:57:44,802 Task._call(1174) INFO Average aspect 20.16% complete

2021-01-08 10:57:44,823 Task._call(1174) INFO Average aspect 20.73% complete

2021-01-08 10:57:44,844 Task._call(1174) INFO Average aspect 21.29% complete

2021-01-08 10:57:44,883 Task._call(1174) INFO Average aspect 21.85% complete

2021-01-08 10:57:44,908 Task._call(1174) INFO Average aspect 22.42% complete

2021-01-08 10:57:44,918 Task._call(1174) INFO Average aspect 22.98% complete

2021-01-08 10:57:44,931 Task._call(1174) INFO Average aspect 23.55% complete

2021-01-08 10:57:44,941 Task._call(1174) INFO Average aspect 24.11% complete

2021-01-08 10:57:44,949 Task._call(1174) INFO Average aspect 24.67% complete

2021-01-08 10:57:44,959 Task._call(1174) INFO Average aspect 25.24% complete

2021-01-08 10:57:44,964 Task._call(1174) INFO Average aspect 25.38% complete

2021-01-08 10:57:44,972 Task._call(1174) INFO Average aspect 25.94% complete

2021-01-08 10:57:44,986 Task._call(1174) INFO Average aspect 26.51% complete

2021-01-08 10:57:45,007 Task._call(1174) INFO Average aspect 27.07% complete

2021-01-08 10:57:45,026 Task._call(1174) INFO Average aspect 27.63% complete

2021-01-08 10:57:45,045 Task._call(1174) INFO Average aspect 28.20% complete

2021-01-08 10:57:45,060 Task._call(1174) INFO Average aspect 28.76% complete

2021-01-08 10:57:45,067 Task._call(1174) INFO Average aspect 29.33% complete

2021-01-08 10:57:45,076 Task._call(1174) INFO Average aspect 29.89% complete

2021-01-08 10:57:45,083 Task._call(1174) INFO Average aspect 30.46% complete

2021-01-08 10:57:45,090 Task._call(1174) INFO Average aspect 31.02% complete

2021-01-08 10:57:45,098 Task._call(1174) INFO Average aspect 31.58% complete

2021-01-08 10:57:45,102 Task._call(1174) INFO Average aspect 31.72% complete

2021-01-08 10:57:45,109 Task._call(1174) INFO Average aspect 32.29% complete

2021-01-08 10:57:45,125 Task._call(1174) INFO Average aspect 32.85% complete

2021-01-08 10:57:45,144 Task._call(1174) INFO Average aspect 33.41% complete

2021-01-08 10:57:45,162 Task._call(1174) INFO Average aspect 33.98% complete

2021-01-08 10:57:45,181 Task._call(1174) INFO Average aspect 34.54% complete

2021-01-08 10:57:45,200 Task._call(1174) INFO Average aspect 35.11% complete

2021-01-08 10:57:45,218 Task._call(1174) INFO Average aspect 35.67% complete

2021-01-08 10:57:45,271 Task._call(1174) INFO Average aspect 36.24% complete

2021-01-08 10:57:45,312 Task._call(1174) INFO Average aspect 36.80% complete

2021-01-08 10:57:45,330 Task._call(1174) INFO Average aspect 37.36% complete

2021-01-08 10:57:45,384 Task._call(1174) INFO Average aspect 37.93% complete

2021-01-08 10:57:45,391 Task._call(1174) INFO Average aspect 38.07% complete

2021-01-08 10:57:45,400 Task._call(1174) INFO Average aspect 38.63% complete

2021-01-08 10:57:45,429 Task._call(1174) INFO Average aspect 39.20% complete

2021-01-08 10:57:45,455 Task._call(1174) INFO Average aspect 39.76% complete

2021-01-08 10:57:45,482 Task._call(1174) INFO Average aspect 40.32% complete

2021-01-08 10:57:45,508 Task._call(1174) INFO Average aspect 40.89% complete

2021-01-08 10:57:45,534 Task._call(1174) INFO Average aspect 41.45% complete

2021-01-08 10:57:45,563 Task._call(1174) INFO Average aspect 42.02% complete

2021-01-08 10:57:45,606 Task._call(1174) INFO Average aspect 42.58% complete

2021-01-08 10:57:45,640 Task._call(1174) INFO Average aspect 43.14% complete

2021-01-08 10:57:45,667 Task._call(1174) INFO Average aspect 43.71% complete

2021-01-08 10:57:45,698 Task._call(1174) INFO Average aspect 44.27% complete

2021-01-08 10:57:45,705 Task._call(1174) INFO Average aspect 44.41% complete

2021-01-08 10:57:45,732 Task._call(1174) INFO Average aspect 44.98% complete

2021-01-08 10:57:45,744 Task._call(1174) INFO Average aspect 45.54% complete

2021-01-08 10:57:45,773 Task._call(1174) INFO Average aspect 46.10% complete

2021-01-08 10:57:45,811 Task._call(1174) INFO Average aspect 46.67% complete

2021-01-08 10:57:45,983 Task._call(1174) INFO Average aspect 47.23% complete

2021-01-08 10:57:46,015 Task._call(1174) INFO Average aspect 47.80% complete

2021-01-08 10:57:46,038 Task._call(1174) INFO Average aspect 48.36% complete

2021-01-08 10:57:46,070 Task._call(1174) INFO Average aspect 48.92% complete

2021-01-08 10:57:46,127 Task._call(1174) INFO Average aspect 49.49% complete

2021-01-08 10:57:46,173 Task._call(1174) INFO Average aspect 50.05% complete

2021-01-08 10:57:46,180 Task._call(1174) INFO Average aspect 50.62% complete

2021-01-08 10:57:46,185 Task._call(1174) INFO Average aspect 50.76% complete

2021-01-08 10:57:46,192 Task._call(1174) INFO Average aspect 51.32% complete

2021-01-08 10:57:46,200 Task._call(1174) INFO Average aspect 51.88% complete

2021-01-08 10:57:46,210 Task._call(1174) INFO Average aspect 52.45% complete

2021-01-08 10:57:46,228 Task._call(1174) INFO Average aspect 53.01% complete

2021-01-08 10:57:46,251 Task._call(1174) INFO Average aspect 53.58% complete

2021-01-08 10:57:46,276 Task._call(1174) INFO Average aspect 54.14% complete

2021-01-08 10:57:46,307 Task._call(1174) INFO Average aspect 54.70% complete

2021-01-08 10:57:46,328 Task._call(1174) INFO Average aspect 55.27% complete

2021-01-08 10:57:46,345 Task._call(1174) INFO Average aspect 55.83% complete

2021-01-08 10:57:46,354 Task._call(1174) INFO Average aspect 56.40% complete

2021-01-08 10:57:46,363 Task._call(1174) INFO Average aspect 56.96% complete

2021-01-08 10:57:46,374 Task._call(1174) INFO Average aspect 57.10% complete

2021-01-08 10:57:46,383 Task._call(1174) INFO Average aspect 57.66% complete

2021-01-08 10:57:46,393 Task._call(1174) INFO Average aspect 58.23% complete

2021-01-08 10:57:46,502 Task._call(1174) INFO Average aspect 58.79% complete

2021-01-08 10:57:46,531 Task._call(1174) INFO Average aspect 59.36% complete

2021-01-08 10:57:46,549 Task._call(1174) INFO Average aspect 59.92% complete

2021-01-08 10:57:46,579 Task._call(1174) INFO Average aspect 60.49% complete

2021-01-08 10:57:46,642 Task._call(1174) INFO Average aspect 61.05% complete

2021-01-08 10:57:46,704 Task._call(1174) INFO Average aspect 61.61% complete

2021-01-08 10:57:46,754 Task._call(1174) INFO Average aspect 62.18% complete

2021-01-08 10:57:46,776 Task._call(1174) INFO Average aspect 62.74% complete

2021-01-08 10:57:46,784 Task._call(1174) INFO Average aspect 63.31% complete

2021-01-08 10:57:46,789 Task._call(1174) INFO Average aspect 63.44% complete

2021-01-08 10:57:46,799 Task._call(1174) INFO Average aspect 64.01% complete

2021-01-08 10:57:46,807 Task._call(1174) INFO Average aspect 64.57% complete

2021-01-08 10:57:46,817 Task._call(1174) INFO Average aspect 65.14% complete

2021-01-08 10:57:46,826 Task._call(1174) INFO Average aspect 65.70% complete

2021-01-08 10:57:46,836 Task._call(1174) INFO Average aspect 66.27% complete

2021-01-08 10:57:46,857 Task._call(1174) INFO Average aspect 66.83% complete

2021-01-08 10:57:46,880 Task._call(1174) INFO Average aspect 67.39% complete

2021-01-08 10:57:46,915 Task._call(1174) INFO Average aspect 67.96% complete

2021-01-08 10:57:46,946 Task._call(1174) INFO Average aspect 68.52% complete

2021-01-08 10:57:46,979 Task._call(1174) INFO Average aspect 69.09% complete

2021-01-08 10:57:46,998 Task._call(1174) INFO Average aspect 69.65% complete

2021-01-08 10:57:47,025 Task._call(1174) INFO Average aspect 69.79% complete

2021-01-08 10:57:47,074 Task._call(1174) INFO Average aspect 70.35% complete

2021-01-08 10:57:47,096 Task._call(1174) INFO Average aspect 70.92% complete

2021-01-08 10:57:47,117 Task._call(1174) INFO Average aspect 71.48% complete

2021-01-08 10:57:47,138 Task._call(1174) INFO Average aspect 72.05% complete

2021-01-08 10:57:47,150 Task._call(1174) INFO Average aspect 72.61% complete

2021-01-08 10:57:47,168 Task._call(1174) INFO Average aspect 73.17% complete

2021-01-08 10:57:47,201 Task._call(1174) INFO Average aspect 73.74% complete

2021-01-08 10:57:47,368 Task._call(1174) INFO Average aspect 74.30% complete

2021-01-08 10:57:47,460 Task._call(1174) INFO Average aspect 74.87% complete

2021-01-08 10:57:47,506 Task._call(1174) INFO Average aspect 75.43% complete

2021-01-08 10:57:47,524 Task._call(1174) INFO Average aspect 75.99% complete

2021-01-08 10:57:47,533 Task._call(1174) INFO Average aspect 76.13% complete

2021-01-08 10:57:47,547 Task._call(1174) INFO Average aspect 76.70% complete

2021-01-08 10:57:47,558 Task._call(1174) INFO Average aspect 77.26% complete

2021-01-08 10:57:47,570 Task._call(1174) INFO Average aspect 77.83% complete

2021-01-08 10:57:47,586 Task._call(1174) INFO Average aspect 78.39% complete

2021-01-08 10:57:47,616 Task._call(1174) INFO Average aspect 78.95% complete

2021-01-08 10:57:47,627 Task._call(1174) INFO Average aspect 79.52% complete

2021-01-08 10:57:47,652 Task._call(1174) INFO Average aspect 80.08% complete

2021-01-08 10:57:47,701 Task._call(1174) INFO Average aspect 80.65% complete

2021-01-08 10:57:47,784 Task._call(1174) INFO Average aspect 81.21% complete

2021-01-08 10:57:47,818 Task._call(1174) INFO Average aspect 81.78% complete

2021-01-08 10:57:47,838 Task._call(1174) INFO Average aspect 82.34% complete

2021-01-08 10:57:47,844 Task._call(1174) INFO Average aspect 82.48% complete

2021-01-08 10:57:47,855 Task._call(1174) INFO Average aspect 83.04% complete

2021-01-08 10:57:47,867 Task._call(1174) INFO Average aspect 83.61% complete

2021-01-08 10:57:47,883 Task._call(1174) INFO Average aspect 84.17% complete

2021-01-08 10:57:47,905 Task._call(1174) INFO Average aspect 84.73% complete

2021-01-08 10:57:47,915 Task._call(1174) INFO Average aspect 85.30% complete

2021-01-08 10:57:47,923 Task._call(1174) INFO Average aspect 85.86% complete

2021-01-08 10:57:47,934 Task._call(1174) INFO Average aspect 86.43% complete

2021-01-08 10:57:47,976 Task._call(1174) INFO Average aspect 86.99% complete

2021-01-08 10:57:48,026 Task._call(1174) INFO Average aspect 87.56% complete

2021-01-08 10:57:48,063 Task._call(1174) INFO Average aspect 88.12% complete

2021-01-08 10:57:48,076 Task._call(1174) INFO Average aspect 88.68% complete

2021-01-08 10:57:48,082 Task._call(1174) INFO Average aspect 88.82% complete

2021-01-08 10:57:48,091 Task._call(1174) INFO Average aspect 89.39% complete

2021-01-08 10:57:48,100 Task._call(1174) INFO Average aspect 89.95% complete

2021-01-08 10:57:48,109 Task._call(1174) INFO Average aspect 90.52% complete

2021-01-08 10:57:48,121 Task._call(1174) INFO Average aspect 91.08% complete

2021-01-08 10:57:48,130 Task._call(1174) INFO Average aspect 91.64% complete

2021-01-08 10:57:48,141 Task._call(1174) INFO Average aspect 92.21% complete

2021-01-08 10:57:48,150 Task._call(1174) INFO Average aspect 92.77% complete

2021-01-08 10:57:48,157 Task._call(1174) INFO Average aspect 93.34% complete

2021-01-08 10:57:48,196 Task._call(1174) INFO Average aspect 93.90% complete

2021-01-08 10:57:48,227 Task._call(1174) INFO Average aspect 94.46% complete

2021-01-08 10:57:48,236 Task._call(1174) INFO Average aspect 95.03% complete

2021-01-08 10:57:48,243 Task._call(1174) INFO Average aspect 95.17% complete

2021-01-08 10:57:48,250 Task._call(1174) INFO Average aspect 95.60% complete

2021-01-08 10:57:48,256 Task._call(1174) INFO Average aspect 96.03% complete

2021-01-08 10:57:48,266 Task._call(1174) INFO Average aspect 96.46% complete

2021-01-08 10:57:48,276 Task._call(1174) INFO Average aspect 96.89% complete

2021-01-08 10:57:48,285 Task._call(1174) INFO Average aspect 97.32% complete

2021-01-08 10:57:48,294 Task._call(1174) INFO Average aspect 97.75% complete

2021-01-08 10:57:48,302 Task._call(1174) INFO Average aspect 98.18% complete

2021-01-08 10:57:48,311 Task._call(1174) INFO Average aspect 98.61% complete

2021-01-08 10:57:48,321 Task._call(1174) INFO Average aspect 99.03% complete

2021-01-08 10:57:48,330 Task._call(1174) INFO Average aspect 99.46% complete

2021-01-08 10:57:48,338 Task._call(1174) INFO Average aspect 99.89% complete

2021-01-08 10:57:48,345 Task._call(1174) INFO Average aspect 100.00% complete

2021-01-08 10:57:55,000 Task._call(1174) INFO mfd flow accum 4.9% complete

2021-01-08 10:58:01,000 Task._call(1174) INFO mfd flow accum 23.2% complete

2021-01-08 10:58:04,192 Task._call(1174) INFO 100.0% complete

2021-01-08 10:58:04,985 geoprocessing.raster_calculator(375) INFO starting stats_worker

2021-01-08 10:58:04,987 geoprocessing.raster_calculator(381) INFO started stats_worker <Thread(Thread-190, started daemon 123145475821568)>

2021-01-08 10:58:09,993 geoprocessing.(451) INFO 94.5% complete

2021-01-08 10:58:10,663 geoprocessing.raster_calculator(454) INFO 100.0%% complete

2021-01-08 10:58:10,714 geoprocessing.raster_calculator(457) INFO signaling stats worker to terminate

2021-01-08 10:58:10,717 geoprocessing.raster_calculator(459) INFO Waiting for raster stats worker result.

2021-01-08 10:58:18,506 Task._call(1174) INFO filter out incomplete divergent streams

2021-01-08 10:58:18,799 Task._call(1174) INFO 100.0% complete

2021-01-08 10:58:19,007 geoprocessing.raster_calculator(375) INFO starting stats_worker

2021-01-08 10:58:19,009 geoprocessing.raster_calculator(381) INFO started stats_worker <Thread(Thread-191, started daemon 123145475821568)>

2021-01-08 10:58:19,199 geoprocessing.raster_calculator(486) INFO Waiting for raster stats worker result.

2021-01-08 10:58:19,202 threading.run(870) WARNING No valid pixels were received, sending None.

2021-01-08 10:58:19,204 Task.add_task(731) ERROR Something went wrong when adding task calculate W (9), terminating taskgraph.

Traceback (most recent call last):

File “site-packages/taskgraph/Task.py”, line 697, in add_task

File “site-packages/taskgraph/Task.py”, line 1174, in _call

File “site-packages/natcap/invest/sdr/sdr.py”, line 990, in _calculate_w

File “site-packages/pygeoprocessing/geoprocessing.py”, line 1763, in reclassify_raster

File “site-packages/pygeoprocessing/geoprocessing.py”, line 424, in raster_calculator

File “site-packages/pygeoprocessing/geoprocessing.py”, line 1756, in _map_dataset_to_value_op

ValueError: The following 1 raster values [-3.4e+38] from “/Volumes/GoogleDrive/.shortcut-targets-by-id/137PT8GtRF-lifVRYGLBn5MDL3XCv3x6f/1 - Drive Eco2Urb/Clients-Projects/Projets en cours/CREDDO/4-Analysis/2-Analysis/Sediment/intermediate_outputs/churn_dir_not_for_humans/aligned_lulc_baseline_v3.tif” do not have corresponding entries in the value_map: {1.0: 0.27, 2.0: 0.99, 3.0: 0.128, 4.0: 0.99, 5.0: 0.009000000000000001, 6.0: 0.001, 7.0: 0.001, 8.0: 0.002, 9.0: 0.002, 10.0: 0.002, 11.0: 0.02, 12.0: 0.003, 13.0: 0.002, 14.0: 0.175, 15.0: 0.001, 16.0: 1.0, 17.0: 0.003, 18.0: 0.002, 19.0: 0.175, 32001.0: 1.0, 32002.0: 0.9, 32003.0: 0.8, 32004.0: 0.7, 32005.0: 0.6, 2531015.0: 0.006, 2531520.0: 0.075, 2541015.0: 0.006, 2541520.0: 0.075, -3.4000000000000003e+38: 0.0}

2021-01-08 10:58:19,210 model._logged_target(1632) ERROR Exception while executing <function execute at 0x186e67dd0>

Traceback (most recent call last):

File “site-packages/natcap/invest/ui/model.py”, line 1629, in _logged_target

File “site-packages/natcap/invest/sdr/sdr.py”, line 466, in execute

File “site-packages/taskgraph/Task.py”, line 697, in add_task

File “site-packages/taskgraph/Task.py”, line 1174, in _call

File “site-packages/natcap/invest/sdr/sdr.py”, line 990, in _calculate_w

File “site-packages/pygeoprocessing/geoprocessing.py”, line 1763, in reclassify_raster

File “site-packages/pygeoprocessing/geoprocessing.py”, line 424, in raster_calculator

File “site-packages/pygeoprocessing/geoprocessing.py”, line 1756, in _map_dataset_to_value_op

ValueError: The following 1 raster values [-3.4e+38] from “/Volumes/GoogleDrive/.shortcut-targets-by-id/137PT8GtRF-lifVRYGLBn5MDL3XCv3x6f/1 - Drive Eco2Urb/Clients-Projects/Projets en cours/CREDDO/4-Analysis/2-Analysis/Sediment/intermediate_outputs/churn_dir_not_for_humans/aligned_lulc_baseline_v3.tif” do not have corresponding entries in the value_map: {1.0: 0.27, 2.0: 0.99, 3.0: 0.128, 4.0: 0.99, 5.0: 0.009000000000000001, 6.0: 0.001, 7.0: 0.001, 8.0: 0.002, 9.0: 0.002, 10.0: 0.002, 11.0: 0.02, 12.0: 0.003, 13.0: 0.002, 14.0: 0.175, 15.0: 0.001, 16.0: 1.0, 17.0: 0.003, 18.0: 0.002, 19.0: 0.175, 32001.0: 1.0, 32002.0: 0.9, 32003.0: 0.8, 32004.0: 0.7, 32005.0: 0.6, 2531015.0: 0.006, 2531520.0: 0.075, 2541015.0: 0.006, 2541520.0: 0.075, -3.4000000000000003e+38: 0.0}

2021-01-08 10:58:19,220 model._logged_target(1635) INFO Execution finished

2021-01-08 10:58:19,234 utils.prepare_workspace(117) INFO Elapsed time: 1m 35.06s

2021-01-08 10:58:19,278 execution.run(78) ERROR Target <function InVESTModel.execute_model.._logged_target at 0x19a31d560> failed with exception

Traceback (most recent call last):

File “site-packages/natcap/invest/ui/execution.py”, line 68, in run

File “site-packages/natcap/invest/ui/model.py”, line 1629, in _logged_target

File “site-packages/natcap/invest/sdr/sdr.py”, line 466, in execute

File “site-packages/taskgraph/Task.py”, line 697, in add_task

File “site-packages/taskgraph/Task.py”, line 1174, in _call

File “site-packages/natcap/invest/sdr/sdr.py”, line 990, in _calculate_w

File “site-packages/pygeoprocessing/geoprocessing.py”, line 1763, in reclassify_raster

File “site-packages/pygeoprocessing/geoprocessing.py”, line 424, in raster_calculator

File “site-packages/pygeoprocessing/geoprocessing.py”, line 1756, in _map_dataset_to_value_op

ValueError: The following 1 raster values [-3.4e+38] from “/Volumes/GoogleDrive/.shortcut-targets-by-id/137PT8GtRF-lifVRYGLBn5MDL3XCv3x6f/1 - Drive Eco2Urb/Clients-Projects/Projets en cours/CREDDO/4-Analysis/2-Analysis/Sediment/intermediate_outputs/churn_dir_not_for_humans/aligned_lulc_baseline_v3.tif” do not have corresponding entries in the value_map: {1.0: 0.27, 2.0: 0.99, 3.0: 0.128, 4.0: 0.99, 5.0: 0.009000000000000001, 6.0: 0.001, 7.0: 0.001, 8.0: 0.002, 9.0: 0.002, 10.0: 0.002, 11.0: 0.02, 12.0: 0.003, 13.0: 0.002, 14.0: 0.175, 15.0: 0.001, 16.0: 1.0, 17.0: 0.003, 18.0: 0.002, 19.0: 0.175, 32001.0: 1.0, 32002.0: 0.9, 32003.0: 0.8, 32004.0: 0.7, 32005.0: 0.6, 2531015.0: 0.006, 2531520.0: 0.075, 2541015.0: 0.006, 2541520.0: 0.075, -3.4000000000000003e+38: 0.0}

2021-01-08 10:58:19,285 execution.run(83) INFO Execution finished

Hi @SylvieWood ,

Yes, this is most likely related to your nodata value and how that’s represented numerically. Is it possible that your landcover raster is in a floating-point format? If so, it may help to save your raster as an Int32 type and then try re-running.

We also improved how we do reclassifications in InVEST 3.9.0, including some better handling of nodata values. Could you download and try the latest version of InVEST and see if that fixes the issue for you?

Let us know how this goes!
James

Hi James,

Thank you for your quick reply. I think transforming them to Int32 did the trick! Will keep this in mind for future work.

Best
Sylvia

2 Likes

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.