I cannot run any modules

Hello everybody.
I cannot run any modules.
I’m taking the Introduction to the Natural Capital Project Approach online course and I’m following the guidelines step by step but my InVEST 3.9.0 x64 doesn’t run. I’ve tried several modules and it doesn’t work.
I request and thank you for your help.
In the last attempt with the SDR, the following appeared in the workspace:
2021-08-14 10:56:55,947 utils.prepare_workspace(123) INFO Writing log messages to C:/Users/aniba/OneDrive/Área de Trabalho/InVEST/SDR_output\InVEST-Sediment-Delivery-Ratio-Model-(SDR)-log-2021-08-14–10_56_55.txt
2021-08-14 10:56:55,952 model._logged_target(1646) Level 100 Starting model with parameters:
Arguments for InVEST natcap.invest.sdr.sdr 3.9.0:
biophysical_table_path C:/Users/aniba/OneDrive/Área de Trabalho/InVEST/Manual data base/SDR/SDR/biophysical_table_Gura.csv
dem_path C:/Users/aniba/OneDrive/Área de Trabalho/InVEST/Manual data base/SDR/SDR/DEM_gura.tif
drainage_path
erodibility_path C:/Users/aniba/OneDrive/Área de Trabalho/InVEST/Manual data base/SDR/SDR/erodibility_gura.tif.xml
erosivity_path C:/Users/aniba/OneDrive/Área de Trabalho/InVEST/Manual data base/SDR/SDR/erosivity_gura.tif
ic_0_param 0.5
k_param 2
lulc_path C:/Users/aniba/OneDrive/Área de Trabalho/InVEST/Manual data base/SDR/SDR/land_use_gura.tif.vat.dbf
n_workers -1
results_suffix Gura
sdr_max 0.8
threshold_flow_accumulation 1000
watersheds_path C:/Users/aniba/OneDrive/Área de Trabalho/InVEST/Manual data base/SDR/SDR/watershed_gura.shp
workspace_dir C:/Users/aniba/OneDrive/Área de Trabalho/InVEST/SDR_output

2021-08-14 10:56:56,064 Task.add_task(781) ERROR Something went wrong when adding task align input rasters (0), terminating taskgraph.
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\pygeoprocessing\geoprocessing.py”, line 680, in align_and_resize_raster_stack
File “site-packages\pygeoprocessing\geoprocessing.py”, line 680, in
File “site-packages\pygeoprocessing\geoprocessing.py”, line 1575, in get_raster_info
ValueError: Could not open C:/Users/aniba/OneDrive/Área de Trabalho/InVEST/Manual data base/SDR/SDR/land_use_gura.tif.vat.dbf as a gdal.OF_RASTER
2021-08-14 10:56:56,065 model._logged_target(1652) ERROR Exception while executing <function execute at 0x0000023B7F090C18>
Traceback (most recent call last):
File “site-packages\natcap\invest\ui\model.py”, line 1649, in _logged_target
File “site-packages\natcap\invest\sdr\sdr.py”, line 346, 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\pygeoprocessing\geoprocessing.py”, line 680, in align_and_resize_raster_stack
File “site-packages\pygeoprocessing\geoprocessing.py”, line 680, in
File “site-packages\pygeoprocessing\geoprocessing.py”, line 1575, in get_raster_info
ValueError: Could not open C:/Users/aniba/OneDrive/Área de Trabalho/InVEST/Manual data base/SDR/SDR/land_use_gura.tif.vat.dbf as a gdal.OF_RASTER
2021-08-14 10:56:56,066 model._logged_target(1655) INFO Execution finished
2021-08-14 10:56:56,068 utils.prepare_workspace(129) INFO Elapsed time: 0.12s

Hi @Anibal ,

Thanks for taking the online course and posting here, welcome. It looks like you put the wrong file in for your LULC input:

lulc_path C:/Users/aniba/OneDrive/Área de Trabalho/InVEST/Manual data base/SDR/SDR/land_use_gura.tif.vat.dbf

That file is often created when you open the actual .tif file in a GIS software. Could you try instead passing in the .tif file for the LULC:

lulc_path C:/Users/aniba/OneDrive/Área de Trabalho/InVEST/Manual data base/SDR/SDR/land_use_gura.tif

Let us know if that does it!

Doug

Hello dcden4
First I want to apologize for the delay in responding and thank you for your attention. I was traveling with the family.
I made the recomended change and it still has problems.
Since now I’m grateful for all the help that comes and I wish you a great week.
I’ll copy the log below:

2021-08-25 10:56:14,479 utils.prepare_workspace(123) INFO Writing log messages to C:/Users/aniba/OneDrive/Área de Trabalho/InVEST/SDR_output\InVEST-Sediment-Delivery-Ratio-Model-(SDR)-log-2021-08-25–10_56_14.txt
2021-08-25 10:56:14,484 model._logged_target(1646) Level 100 Starting model with parameters:
Arguments for InVEST natcap.invest.sdr.sdr 3.9.0:
biophysical_table_path C:/Users/aniba/OneDrive/Área de Trabalho/InVEST/Manual data base/SDR/SDR/biophysical_table_Gura.csv
dem_path C:/Users/aniba/OneDrive/Área de Trabalho/InVEST/Manual data base/SDR/SDR/DEM_gura.tif
drainage_path
erodibility_path C:/Users/aniba/OneDrive/Área de Trabalho/InVEST/Manual data base/SDR/SDR/erodibility_gura.tif
erosivity_path C:/Users/aniba/OneDrive/Área de Trabalho/InVEST/Manual data base/SDR/SDR/erosivity_gura.tif
ic_0_param 0.5
k_param 2
lulc_path C:/Users/aniba/OneDrive/Área de Trabalho/InVEST/Manual data base/SDR/SDR/land_use_gura.tif
n_workers -1
results_suffix Gura
sdr_max 0.8
threshold_flow_accumulation 1000
watersheds_path C:/Users/aniba/OneDrive/Área de Trabalho/InVEST/Manual data base/SDR/SDR/watershed_gura.shp
workspace_dir C:/Users/aniba/OneDrive/Área de Trabalho/InVEST/SDR_output

2021-08-25 10:56:14,649 Task.add_task(781) ERROR Something went wrong when adding task align input rasters (0), terminating taskgraph.
TypeError: _log_gdal_errors() missing 3 required positional arguments: ‘err_level’, ‘err_no’, and ‘err_msg’

The above exception was the direct cause of the following exception:

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\pygeoprocessing\geoprocessing.py”, line 695, in align_and_resize_raster_stack
File “site-packages\pygeoprocessing\geoprocessing.py”, line 695, in
File “site-packages\pygeoprocessing\geoprocessing.py”, line 1517, in get_vector_info
File “site-packages\osgeo\gdal.py”, line 2335, in GetFileList
SystemError: returned a result with an error set
2021-08-25 10:56:14,650 model._logged_target(1652) ERROR Exception while executing <function execute at 0x00000229AC610C18>
TypeError: _log_gdal_errors() missing 3 required positional arguments: ‘err_level’, ‘err_no’, and ‘err_msg’

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
File “site-packages\natcap\invest\ui\model.py”, line 1649, in _logged_target
File “site-packages\natcap\invest\sdr\sdr.py”, line 346, 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\pygeoprocessing\geoprocessing.py”, line 695, in align_and_resize_raster_stack
File “site-packages\pygeoprocessing\geoprocessing.py”, line 695, in
File “site-packages\pygeoprocessing\geoprocessing.py”, line 1517, in get_vector_info
File “site-packages\osgeo\gdal.py”, line 2335, in GetFileList
SystemError: returned a result with an error set
2021-08-25 10:56:14,651 model._logged_target(1655) INFO Execution finished
2021-08-25 10:56:14,653 utils.prepare_workspace(129) INFO Elapsed time: 0.17s

Hi @dcdnu4
Your help has been crucial and encourages me to continue.

I tried again with the inputs from the sample data which I downloaded along with InVESt and got the following error:

2021-08-25 11:30:31,625 utils.prepare_workspace(123) INFO Writing log messages to C:/Users/aniba/OneDrive/Área de Trabalho/InVEST/SDR_output\InVEST-Sediment-Delivery-Ratio-Model-(SDR)-log-2021-08-25–11_30_31.txt
2021-08-25 11:30:31,637 model._logged_target(1646) Level 100 Starting model with parameters:
Arguments for InVEST natcap.invest.sdr.sdr 3.9.0:
biophysical_table_path C:/Users/aniba/OneDrive/Área de Trabalho/InVEST/InVEST_3.9.0_x64/sample_data/SDR/biophysical_table_Gura.csv
dem_path C:/Users/aniba/OneDrive/Área de Trabalho/InVEST/InVEST_3.9.0_x64/sample_data/SDR/DEM_gura.tif
drainage_path
erodibility_path C:/Users/aniba/OneDrive/Área de Trabalho/InVEST/InVEST_3.9.0_x64/sample_data/SDR/erodibility_gura.tif
erosivity_path C:/Users/aniba/OneDrive/Área de Trabalho/InVEST/InVEST_3.9.0_x64/sample_data/SDR/erosivity_gura.tif
ic_0_param 0.5
k_param 2
lulc_path C:/Users/aniba/OneDrive/Área de Trabalho/InVEST/InVEST_3.9.0_x64/sample_data/SDR/land_use_gura.tif
n_workers -1
results_suffix Gura_2
sdr_max 0.8
threshold_flow_accumulation 1000
watersheds_path C:/Users/aniba/OneDrive/Área de Trabalho/InVEST/InVEST_3.9.0_x64/sample_data/SDR/watershed_gura.shp
workspace_dir C:/Users/aniba/OneDrive/Área de Trabalho/InVEST/SDR_output

2021-08-25 11:30:31,997 Task.add_task(781) ERROR Something went wrong when adding task align input rasters (0), terminating taskgraph.
TypeError: _log_gdal_errors() missing 3 required positional arguments: ‘err_level’, ‘err_no’, and ‘err_msg’

The above exception was the direct cause of the following exception:

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\pygeoprocessing\geoprocessing.py”, line 695, in align_and_resize_raster_stack
File “site-packages\pygeoprocessing\geoprocessing.py”, line 695, in
File “site-packages\pygeoprocessing\geoprocessing.py”, line 1517, in get_vector_info
File “site-packages\osgeo\gdal.py”, line 2335, in GetFileList
SystemError: returned a result with an error set
2021-08-25 11:30:31,998 model._logged_target(1652) ERROR Exception while executing <function execute at 0x00000229AC610C18>
TypeError: _log_gdal_errors() missing 3 required positional arguments: ‘err_level’, ‘err_no’, and ‘err_msg’

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
File “site-packages\natcap\invest\ui\model.py”, line 1649, in _logged_target
File “site-packages\natcap\invest\sdr\sdr.py”, line 346, 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\pygeoprocessing\geoprocessing.py”, line 695, in align_and_resize_raster_stack
File “site-packages\pygeoprocessing\geoprocessing.py”, line 695, in
File “site-packages\pygeoprocessing\geoprocessing.py”, line 1517, in get_vector_info
File “site-packages\osgeo\gdal.py”, line 2335, in GetFileList
SystemError: returned a result with an error set
2021-08-25 11:30:32,000 model._logged_target(1655) INFO Execution finished
2021-08-25 11:30:32,001 utils.prepare_workspace(129) INFO Elapsed time: 0.38s

Thanks

Hi @Anibal,

Could you try leaving off the / at the end of your watershed shapefile path?

Was this:

C:/Users/aniba/OneDrive/Desktop/InVEST/Manual data base/SDR/SDR/watershed_gura.shp/

Try this:

C:/Users/aniba/OneDrive/Desktop/InVEST/Manual data base/SDR/SDR/watershed_gura.shp

Cheers

Thanks to you again @dcdenu4
I tried again and got an error.
Now the log is:

2021-08-25 14:40:10,502 utils.prepare_workspace(123) INFO Writing log messages to C:/Users/aniba/OneDrive/Área de Trabalho/InVEST/SDR_output\InVEST-Sediment-Delivery-Ratio-Model-(SDR)-log-2021-08-25–14_40_10.txt
2021-08-25 14:40:10,504 model._logged_target(1646) Level 100 Starting model with parameters:
Arguments for InVEST natcap.invest.sdr.sdr 3.9.0:
biophysical_table_path C:/Users/aniba/OneDrive/Área de Trabalho/InVEST/InVEST_3.9.0_x64/sample_data/SDR/biophysical_table_Gura.csv
dem_path C:/Users/aniba/OneDrive/Área de Trabalho/InVEST/InVEST_3.9.0_x64/sample_data/SDR/DEM_gura.tif
drainage_path
erodibility_path C:/Users/aniba/OneDrive/Área de Trabalho/InVEST/InVEST_3.9.0_x64/sample_data/SDR/erodibility_gura.tif
erosivity_path C:/Users/aniba/OneDrive/Área de Trabalho/InVEST/InVEST_3.9.0_x64/sample_data/SDR/erosivity_gura.tif
ic_0_param 0.5
k_param 2
lulc_path C:/Users/aniba/OneDrive/Área de Trabalho/InVEST/InVEST_3.9.0_x64/sample_data/SDR/land_use_gura.tif
n_workers -1
results_suffix Gura_2
sdr_max 0.8
threshold_flow_accumulation 1000
watersheds_path C:/Users/aniba/OneDrive/Área de Trabalho/InVEST/InVEST_3.9.0_x64/sample_data/SDR/watershed_gura.shp
workspace_dir C:/Users/aniba/OneDrive/Área de Trabalho/InVEST/SDR_output

2021-08-25 14:40:11,304 Task.add_task(781) ERROR Something went wrong when adding task align input rasters (0), terminating taskgraph.
TypeError: _log_gdal_errors() missing 3 required positional arguments: ‘err_level’, ‘err_no’, and ‘err_msg’

The above exception was the direct cause of the following exception:

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\pygeoprocessing\geoprocessing.py”, line 695, in align_and_resize_raster_stack
File “site-packages\pygeoprocessing\geoprocessing.py”, line 695, in
File “site-packages\pygeoprocessing\geoprocessing.py”, line 1517, in get_vector_info
File “site-packages\osgeo\gdal.py”, line 2335, in GetFileList
SystemError: returned a result with an error set
2021-08-25 14:40:11,307 model._logged_target(1652) ERROR Exception while executing <function execute at 0x0000025D387E0C18>
TypeError: _log_gdal_errors() missing 3 required positional arguments: ‘err_level’, ‘err_no’, and ‘err_msg’

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
File “site-packages\natcap\invest\ui\model.py”, line 1649, in _logged_target
File “site-packages\natcap\invest\sdr\sdr.py”, line 346, 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\pygeoprocessing\geoprocessing.py”, line 695, in align_and_resize_raster_stack
File “site-packages\pygeoprocessing\geoprocessing.py”, line 695, in
File “site-packages\pygeoprocessing\geoprocessing.py”, line 1517, in get_vector_info
File “site-packages\osgeo\gdal.py”, line 2335, in GetFileList
SystemError: returned a result with an error set
2021-08-25 14:40:11,309 model._logged_target(1655) INFO Execution finished
2021-08-25 14:40:11,311 utils.prepare_workspace(129) INFO Elapsed time: 0.81s

Hi @Anibal,

Would you mind attaching the logfile here? It should be a text document in your workspace. It’ll make it easier to parse out what is going wrong.

Thanks,

Doug

Ok @dcdenu4 and thank you again.
The file received is also attached.
2021-08-30 07:33:19,256 utils.prepare_workspace(123) INFO Writing log messages to C:/Users/aniba/OneDrive/Área de Trabalho/InVEST/SDR_output\InVEST-Sediment-Delivery-Ratio-Model-(SDR)-log-2021-08-30–07_33_19.txt
2021-08-30 07:33:19,265 model._logged_target(1646) Level 100 Starting model with parameters:
Arguments for InVEST natcap.invest.sdr.sdr 3.9.0:
biophysical_table_path C:/Users/aniba/OneDrive/Área de Trabalho/InVEST/InVEST_3.9.0_x64/sample_data/SDR/biophysical_table_Gura.csv
dem_path C:/Users/aniba/OneDrive/Área de Trabalho/InVEST/InVEST_3.9.0_x64/sample_data/SDR/DEM_gura.tif
drainage_path
erodibility_path C:/Users/aniba/OneDrive/Área de Trabalho/InVEST/InVEST_3.9.0_x64/sample_data/SDR/erodibility_gura.tif
erosivity_path C:/Users/aniba/OneDrive/Área de Trabalho/InVEST/InVEST_3.9.0_x64/sample_data/SDR/erosivity_gura.tif
ic_0_param 0.5
k_param 2
lulc_path C:/Users/aniba/OneDrive/Área de Trabalho/InVEST/InVEST_3.9.0_x64/sample_data/SDR/land_use_gura.tif
n_workers -1
results_suffix Gura_2
sdr_max 0.8
threshold_flow_accumulation 1000
watersheds_path C:/Users/aniba/OneDrive/Área de Trabalho/InVEST/InVEST_3.9.0_x64/sample_data/SDR/watershed_gura.shp
workspace_dir C:/Users/aniba/OneDrive/Área de Trabalho/InVEST/SDR_output

2021-08-30 07:33:21,308 Task.add_task(781) ERROR Something went wrong when adding task align input rasters (0), terminating taskgraph.
TypeError: _log_gdal_errors() missing 3 required positional arguments: ‘err_level’, ‘err_no’, and ‘err_msg’

The above exception was the direct cause of the following exception:

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\pygeoprocessing\geoprocessing.py”, line 695, in align_and_resize_raster_stack
File “site-packages\pygeoprocessing\geoprocessing.py”, line 695, in
File “site-packages\pygeoprocessing\geoprocessing.py”, line 1517, in get_vector_info
File “site-packages\osgeo\gdal.py”, line 2335, in GetFileList
SystemError: returned a result with an error set
2021-08-30 07:33:21,310 model._logged_target(1652) ERROR Exception while executing <function execute at 0x000001941A420C18>
TypeError: _log_gdal_errors() missing 3 required positional arguments: ‘err_level’, ‘err_no’, and ‘err_msg’

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
File “site-packages\natcap\invest\ui\model.py”, line 1649, in _logged_target
File “site-packages\natcap\invest\sdr\sdr.py”, line 346, 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\pygeoprocessing\geoprocessing.py”, line 695, in align_and_resize_raster_stack
File “site-packages\pygeoprocessing\geoprocessing.py”, line 695, in
File “site-packages\pygeoprocessing\geoprocessing.py”, line 1517, in get_vector_info
File “site-packages\osgeo\gdal.py”, line 2335, in GetFileList
SystemError: returned a result with an error set
2021-08-30 07:33:21,312 model._logged_target(1655) INFO Execution finished
2021-08-30 07:33:21,314 utils.prepare_workspace(129) INFO Elapsed time: 2.06s

InVEST-Sediment-Delivery-Ratio-Model-(SDR)-log-2021-08-30–07_33_19.txt (3.49 KB)

HI @Anibal ,

I noticed that the input files are stored on One Drive. Are these files hosted on the cloud or are they on your computer? Could you try moving these files to another location on your computer, like Desktop and see if you get the same issue?

Thanks for your patience as we figure this out. I’ll ping @jdouglass too since we saw this same error in another post here: URBAN COOL COOLING MODEL Sample ERROR - #2 by dcdenu4

Doug

Hi @dcden4
I thank you again for your commitment.
The input files are in the desktop not in the cloud.
I tried again and it appears the message that is in the picture attached.
The log is attached too.
The log is:
2021-08-30 12:21:35,037 utils.prepare_workspace(123) INFO Writing log messages to C:/Users/aniba/OneDrive/Área de Trabalho/InVEST/SDR_output\InVEST-Sediment-Delivery-Ratio-Model-(SDR)-log-2021-08-30–12_21_35.txt
2021-08-30 12:21:35,039 model._logged_target(1646) Level 100 Starting model with parameters:
Arguments for InVEST natcap.invest.sdr.sdr 3.9.0:
biophysical_table_path C:/Users/aniba/OneDrive/Área de Trabalho/InVEST/InVEST_3.9.0_x64/sample_data/SDR/biophysical_table_Gura.csv
dem_path C:/Users/aniba/OneDrive/Área de Trabalho/InVEST/InVEST_3.9.0_x64/sample_data/SDR/DEM_gura.tif
drainage_path
erodibility_path C:/Users/aniba/OneDrive/Área de Trabalho/InVEST/InVEST_3.9.0_x64/sample_data/SDR/erodibility_gura.tif
erosivity_path C:/Users/aniba/OneDrive/Área de Trabalho/InVEST/InVEST_3.9.0_x64/sample_data/SDR/erosivity_gura.tif
ic_0_param 0.5
k_param 2
lulc_path C:/Users/aniba/OneDrive/Área de Trabalho/InVEST/InVEST_3.9.0_x64/sample_data/SDR/land_use_gura.tif
n_workers -1
results_suffix Gura_3
sdr_max 0.8
threshold_flow_accumulation 1000
watersheds_path C:/Users/aniba/OneDrive/Área de Trabalho/InVEST/InVEST_3.9.0_x64/sample_data/SDR/watershed_gura.shp
workspace_dir C:/Users/aniba/OneDrive/Área de Trabalho/InVEST/SDR_output

2021-08-30 12:21:35,370 Task.add_task(781) ERROR Something went wrong when adding task align input rasters (0), terminating taskgraph.
TypeError: _log_gdal_errors() missing 3 required positional arguments: ‘err_level’, ‘err_no’, and ‘err_msg’

The above exception was the direct cause of the following exception:

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\pygeoprocessing\geoprocessing.py”, line 695, in align_and_resize_raster_stack
File “site-packages\pygeoprocessing\geoprocessing.py”, line 695, in
File “site-packages\pygeoprocessing\geoprocessing.py”, line 1517, in get_vector_info
File “site-packages\osgeo\gdal.py”, line 2335, in GetFileList
SystemError: returned a result with an error set
2021-08-30 12:21:35,373 model._logged_target(1652) ERROR Exception while executing <function execute at 0x000002AAE5810C18>
TypeError: _log_gdal_errors() missing 3 required positional arguments: ‘err_level’, ‘err_no’, and ‘err_msg’

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
File “site-packages\natcap\invest\ui\model.py”, line 1649, in _logged_target
File “site-packages\natcap\invest\sdr\sdr.py”, line 346, 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\pygeoprocessing\geoprocessing.py”, line 695, in align_and_resize_raster_stack
File “site-packages\pygeoprocessing\geoprocessing.py”, line 695, in
File “site-packages\pygeoprocessing\geoprocessing.py”, line 1517, in get_vector_info
File “site-packages\osgeo\gdal.py”, line 2335, in GetFileList
SystemError: returned a result with an error set
2021-08-30 12:21:35,375 model._logged_target(1655) INFO Execution finished
2021-08-30 12:21:35,377 utils.prepare_workspace(129) INFO Elapsed time: 0.34s

InVEST-Sediment-Delivery-Ratio-Model-(SDR)-log-2021-08-30–12_21_35.txt (3.49 KB)

Thanks for the mention @dcdenu4 ! We never did figure out the root cause of the issue over in URBAN COOL COOLING MODEL Sample ERROR.

Errors that look like this are really low-level:

SystemError: returned a result with an error set
From what I can tell, there might be a bug in GDAL’s implementation somewhere, and/or maybe with the GDAL error handling in InVEST.

@Anibal , could you try running the model with this linked development build (below) and then post the logfile here on this thread? This build has added some more debugging information that I hope will help us determine what is going on.

Download link: https://storage.googleapis.com/natcap-dev-build-artifacts/invest/phargogh/3.9.0.post437+gbd614bb2/InVEST_phargogh3.9.0.post437+gbd614bb2_x64_Setup.exe

Thanks!
James

1 Like

Hi James and @dcdenu4
I have successfully downloaded the new InVEST you requested.
However, information is missing in the last input that was not required in the previous InVEST. See screenshot attached to this email.
How should I fill in?
Thanks again for your patience and dedication
Anibal

Ah yes, we just added that to the model and it’ll be included in the next release of SDR. The official documentation on this is:

The maximum allowed value of the L parameter when calculating the LS factor. Calculated values that exceed this are clamped to this value. Its default value is 122 but reasonable values in literature place it anywhere between 122-333 see Desmet and Govers, 1996 and Renard et al., 1997. (source)

So if you put in 122, that should be a reasonable default.

James

Hi James and @dcdenu4
I put 122 as per your guidance but it didn’t work. The X remained red and when I put it to run a message appeared as shown in the photo attached to this email.

Thank you in advance and look forward to further guidance from you.

Whoops, sorry about that @Anibal! Here’s another build with that specific issue fixed:

https://storage.googleapis.com/natcap-dev-build-artifacts/invest/phargogh/3.9.0.post438+g8df4aac1/InVEST_phargogh3.9.0.post438+g8df4aac1_x64_Setup.exe

Hi James and @dcdenu4
Problem solved thanks to you two.
Finally InVEST-SDR ran.
I found other problems in the results but I will try to solve them myself.
I am very happy and grateful.
Have a good day

2 Likes

Hi @Anibal , that’s great to hear that the model ran! Would you be willing to share the logfile with us from the model run that did complete? The build I sent you included some extra information in it that could help us prevent this sort of bug from happening in the future.

Thanks in advance!
James

Good morning James,
The logfile is attached.

(Attachment Log file to James.docx is missing)

Soory, I had to split it into 2 emails because of the size.
2021-09-02 15:39:11,811 (natcap.invest.utils) utils.prepare_workspace(141) INFO Writing log messages to C:/Users/aniba/OneDrive/Área de Trabalho/InVEST/SDR_output\InVEST-Sediment-Delivery-Ratio-Model-(SDR)-log-2021-09-02–15_39_11.txt
2021-09-02 15:39:11,818 (natcap.invest.ui.model) model._logged_target(1644) Level 100 Starting model with parameters:
Arguments for InVEST natcap.invest.sdr.sdr 3.9.0.post438+g8df4aac1:
biophysical_table_path C:/Users/aniba/OneDrive/Área de Trabalho/InVEST/InVEST_3.9.0_x64/sample_data/SDR/biophysical_table_Gura.csv
dem_path C:/Users/aniba/OneDrive/Área de Trabalho/InVEST/InVEST_3.9.0_x64/sample_data/SDR/DEM_gura.tif
drainage_path
erodibility_path C:/Users/aniba/OneDrive/Área de Trabalho/InVEST/InVEST_3.9.0_x64/sample_data/SDR/erodibility_gura.tif
erosivity_path C:/Users/aniba/OneDrive/Área de Trabalho/InVEST/InVEST_3.9.0_x64/sample_data/SDR/erosivity_gura.tif
ic_0_param 0.5
k_param 2
l_max 122
lulc_path C:/Users/aniba/OneDrive/Área de Trabalho/InVEST/InVEST_3.9.0_x64/sample_data/SDR/land_use_gura.tif
n_workers -1
results_suffix Gura_5
sdr_max 0.8
threshold_flow_accumulation 1000
watersheds_path C:/Users/aniba/OneDrive/Área de Trabalho/InVEST/InVEST_3.9.0_x64/sample_data/SDR/subwatersheds_gura.shp
workspace_dir C:/Users/aniba/OneDrive/Área de Trabalho/InVEST/SDR_output

2021-09-02 15:39:12,225 (pygeoprocessing.geoprocessing) geoprocessing.raster_calculator(391) INFO starting stats_worker
2021-09-02 15:39:12,226 (pygeoprocessing.geoprocessing_core) threading.run(870) DEBUG stats worker PID: 70300
2021-09-02 15:39:12,226 (pygeoprocessing.geoprocessing) geoprocessing.raster_calculator(397) INFO started stats_worker <Thread(Thread-1632, started daemon 61312)>
2021-09-02 15:39:12,251 (pygeoprocessing.geoprocessing) geoprocessing.raster_calculator(477) INFO 100.0% complete
2021-09-02 15:39:12,251 (pygeoprocessing.geoprocessing) geoprocessing.raster_calculator(480) INFO Waiting for raster stats worker result.
2021-09-02 15:39:12,275 (pygeoprocessing.geoprocessing) geoprocessing.align_and_resize_raster_stack(793) INFO 1 of 4 aligned: aligned_dem_Gura_5.tif
2021-09-02 15:39:12,521 (pygeoprocessing.geoprocessing) geoprocessing.raster_calculator(391) INFO starting stats_worker
2021-09-02 15:39:12,579 (pygeoprocessing.geoprocessing_core) threading.run(870) DEBUG stats worker PID: 70300
2021-09-02 15:39:12,579 (pygeoprocessing.geoprocessing) geoprocessing.raster_calculator(397) INFO started stats_worker <Thread(Thread-1633, started daemon 75488)>
2021-09-02 15:39:12,629 (pygeoprocessing.geoprocessing) geoprocessing.raster_calculator(477) INFO 100.0% complete
2021-09-02 15:39:12,630 (pygeoprocessing.geoprocessing) geoprocessing.raster_calculator(480) INFO Waiting for raster stats worker result.
2021-09-02 15:39:12,672 (pygeoprocessing.geoprocessing) geoprocessing.align_and_resize_raster_stack(793) INFO 2 of 4 aligned: aligned_lulc_Gura_5.tif
2021-09-02 15:39:12,984 (pygeoprocessing.geoprocessing) geoprocessing.raster_calculator(391) INFO starting stats_worker
2021-09-02 15:39:12,988 (pygeoprocessing.geoprocessing_core) threading.run(870) DEBUG stats worker PID: 70300
2021-09-02 15:39:12,988 (pygeoprocessing.geoprocessing) geoprocessing.raster_calculator(397) INFO started stats_worker <Thread(Thread-1634, started daemon 54864)>
2021-09-02 15:39:13,039 (pygeoprocessing.geoprocessing) geoprocessing.raster_calculator(477) INFO 100.0% complete
2021-09-02 15:39:13,040 (pygeoprocessing.geoprocessing) geoprocessing.raster_calculator(480) INFO Waiting for raster stats worker result.
2021-09-02 15:39:13,100 (pygeoprocessing.geoprocessing) geoprocessing.align_and_resize_raster_stack(793) INFO 3 of 4 aligned: aligned_erosivity_Gura_5.tif
2021-09-02 15:39:13,395 (pygeoprocessing.geoprocessing) geoprocessing.raster_calculator(391) INFO starting stats_worker
2021-09-02 15:39:13,397 (pygeoprocessing.geoprocessing_core) threading.run(870) DEBUG stats worker PID: 70300
2021-09-02 15:39:13,397 (pygeoprocessing.geoprocessing) geoprocessing.raster_calculator(397) INFO started stats_worker <Thread(Thread-1635, started daemon 63136)>
2021-09-02 15:39:13,438 (pygeoprocessing.geoprocessing) geoprocessing.raster_calculator(477) INFO 100.0% complete
2021-09-02 15:39:13,439 (pygeoprocessing.geoprocessing) geoprocessing.raster_calculator(480) INFO Waiting for raster stats worker result.
2021-09-02 15:39:13,471 (pygeoprocessing.geoprocessing) geoprocessing.align_and_resize_raster_stack(793) INFO 4 of 4 aligned: aligned_erodibility_Gura_5.tif
2021-09-02 15:39:13,472 (pygeoprocessing.geoprocessing) geoprocessing.align_and_resize_raster_stack(797) INFO aligned all 4 rasters.
2021-09-02 15:39:14,254 (pygeoprocessing.routing.routing) Task._call(1234) INFO 100.0% complete
2021-09-02 15:39:14,763 (pygeoprocessing.geoprocessing) geoprocessing.raster_calculator(391) INFO starting stats_worker
2021-09-02 15:39:14,784 (pygeoprocessing.geoprocessing_core) threading.run(870) DEBUG stats worker PID: 70300
2021-09-02 15:39:14,784 (pygeoprocessing.geoprocessing) geoprocessing.raster_calculator(397) INFO started stats_worker <Thread(Thread-1636, started daemon 67504)>
2021-09-02 15:39:14,835 (pygeoprocessing.geoprocessing) geoprocessing.raster_calculator(477) INFO 100.0% complete
2021-09-02 15:39:14,836 (pygeoprocessing.geoprocessing) geoprocessing.raster_calculator(480) INFO Waiting for raster stats worker result.
2021-09-02 15:39:15,747 (pygeoprocessing.routing.routing) Task._call(1234) INFO 100.0% complete
2021-09-02 15:39:15,885 (natcap.invest.sdr.sdr_core) Task._call(1234) INFO Calculating average aspect
2021-09-02 15:39:15,963 (natcap.invest.sdr.sdr_core) Task._call(1234) INFO Average aspect 0.00% complete
2021-09-02 15:39:15,969 (natcap.invest.sdr.sdr_core) Task._call(1234) INFO Average aspect 5.65% complete
2021-09-02 15:39:15,976 (natcap.invest.sdr.sdr_core) Task._call(1234) INFO Average aspect 11.30% complete
2021-09-02 15:39:15,982 (natcap.invest.sdr.sdr_core) Task._call(1234) INFO Average aspect 16.95% complete
2021-09-02 15:39:15,988 (natcap.invest.sdr.sdr_core) Task._call(1234) INFO Average aspect 22.61% complete
2021-09-02 15:39:15,991 (natcap.invest.sdr.sdr_core) Task._call(1234) INFO Average aspect 28.26% complete
2021-09-02 15:39:15,999 (natcap.invest.sdr.sdr_core) Task._call(1234) INFO Average aspect 33.91% complete
2021-09-02 15:39:16,006 (natcap.invest.sdr.sdr_core) Task._call(1234) INFO Average aspect 39.56% complete
2021-09-02 15:39:16,012 (natcap.invest.sdr.sdr_core) Task._call(1234) INFO Average aspect 42.74% complete
2021-09-02 15:39:16,019 (natcap.invest.sdr.sdr_core) Task._call(1234) INFO Average aspect 48.39% complete
2021-09-02 15:39:16,025 (natcap.invest.sdr.sdr_core) Task._call(1234) INFO Average aspect 54.04% complete
2021-09-02 15:39:16,040 (natcap.invest.sdr.sdr_core) Task._call(1234) INFO Average aspect 59.69% complete
2021-09-02 15:39:16,055 (natcap.invest.sdr.sdr_core) Task._call(1234) INFO Average aspect 65.34% complete
2021-09-02 15:39:16,069 (natcap.invest.sdr.sdr_core) Task._call(1234) INFO Average aspect 70.99% complete
2021-09-02 15:39:16,085 (natcap.invest.sdr.sdr_core) Task._call(1234) INFO Average aspect 76.65% complete
2021-09-02 15:39:16,099 (natcap.invest.sdr.sdr_core) Task._call(1234) INFO Average aspect 82.30% complete
2021-09-02 15:39:16,107 (natcap.invest.sdr.sdr_core) Task._call(1234) INFO Average aspect 85.48% complete
2021-09-02 15:39:16,111 (natcap.invest.sdr.sdr_core) Task._call(1234) INFO Average aspect 87.40% complete
2021-09-02 15:39:16,113 (natcap.invest.sdr.sdr_core) Task._call(1234) INFO Average aspect 89.32% complete
2021-09-02 15:39:16,121 (natcap.invest.sdr.sdr_core) Task._call(1234) INFO Average aspect 91.24% complete
2021-09-02 15:39:16,129 (natcap.invest.sdr.sdr_core) Task._call(1234) INFO Average aspect 93.16% complete
2021-09-02 15:39:16,136 (natcap.invest.sdr.sdr_core) Task._call(1234) INFO Average aspect 95.08% complete
2021-09-02 15:39:16,142 (natcap.invest.sdr.sdr_core) Task._call(1234) INFO Average aspect 97.00% complete
2021-09-02 15:39:16,146 (natcap.invest.sdr.sdr_core) Task._call(1234) INFO Average aspect 98.92% complete
2021-09-02 15:39:16,149 (natcap.invest.sdr.sdr_core) Task._call(1234) INFO Average aspect 100.00% complete
2021-09-02 15:39:16,321 (pygeoprocessing.routing.routing) Task._call(1234) DEBUG creating target flow accum raster layer
2021-09-02 15:39:16,437 (pygeoprocessing.routing.routing) Task._call(1234) DEBUG creating visited raster layer
2021-09-02 15:39:16,465 (pygeoprocessing.routing.routing) Task._call(1234) DEBUG starting search
2021-09-02 15:39:17,045 (pygeoprocessing.routing.routing) Task._call(1234) INFO 100.0% complete
2021-09-02 15:39:17,234 (pygeoprocessing.geoprocessing) geoprocessing.raster_calculator(391) INFO starting stats_worker
2021-09-02 15:39:17,251 (pygeoprocessing.geoprocessing_core) threading.run(870) DEBUG stats worker PID: 70300
2021-09-02 15:39:17,251 (pygeoprocessing.geoprocessing) geoprocessing.raster_calculator(397) INFO started stats_worker <Thread(Thread-1637, started daemon 72540)>
2021-09-02 15:39:17,571 (pygeoprocessing.geoprocessing) geoprocessing.raster_calculator(477) INFO 100.0% complete
2021-09-02 15:39:17,572 (pygeoprocessing.geoprocessing) geoprocessing.raster_calculator(480) INFO Waiting for raster stats worker result.
2021-09-02 15:39:18,057 (pygeoprocessing.routing.routing) Task._call(1234) INFO filter out incomplete divergent streams
2021-09-02 15:39:18,071 (pygeoprocessing.routing.routing) Task._call(1234) INFO 100.0% complete
2021-09-02 15:39:18,343 (pygeoprocessing.geoprocessing) geoprocessing.raster_calculator(391) INFO starting stats_worker
2021-09-02 15:39:18,344 (pygeoprocessing.geoprocessing_core) threading.run(870) DEBUG stats worker PID: 70300
2021-09-02 15:39:18,345 (pygeoprocessing.geoprocessing) geoprocessing.raster_calculator(397) INFO started stats_worker <Thread(Thread-1638, started daemon 73812)>
2021-09-02 15:39:18,394 (pygeoprocessing.geoprocessing) geoprocessing.raster_calculator(477) INFO 100.0% complete
2021-09-02 15:39:18,395 (pygeoprocessing.geoprocessing) geoprocessing.raster_calculator(480) INFO Waiting for raster stats worker result.
2021-09-02 15:39:18,437 (pygeoprocessing.geoprocessing) geoprocessing.raster_calculator(391) INFO starting stats_worker
2021-09-02 15:39:18,438 (pygeoprocessing.geoprocessing_core) threading.run(870) DEBUG stats worker PID: 70300
2021-09-02 15:39:18,438 (pygeoprocessing.geoprocessing) geoprocessing.raster_calculator(397) INFO started stats_worker <Thread(Thread-1639, started daemon 74516)>
2021-09-02 15:39:18,465 (pygeoprocessing.geoprocessing) geoprocessing.raster_calculator(477) INFO 100.0% complete
2021-09-02 15:39:18,465 (pygeoprocessing.geoprocessing) geoprocessing.raster_calculator(480) INFO Waiting for raster stats worker result.
2021-09-02 15:39:18,705 (pygeoprocessing.geoprocessing) geoprocessing.raster_calculator(391) INFO starting stats_worker
2021-09-02 15:39:18,719 (pygeoprocessing.geoprocessing_core) threading.run(870) DEBUG stats worker PID: 70300
2021-09-02 15:39:18,719 (pygeoprocessing.geoprocessing) geoprocessing.raster_calculator(397) INFO started stats_worker <Thread(Thread-1640, started daemon 23224)>
2021-09-02 15:39:18,798 (pygeoprocessing.geoprocessing) geoprocessing.raster_calculator(477) INFO 100.0% complete
2021-09-02 15:39:18,799 (pygeoprocessing.geoprocessing) geoprocessing.raster_calculator(480) INFO Waiting for raster stats worker result.
2021-09-02 15:39:19,141 (pygeoprocessing.geoprocessing) geoprocessing.raster_calculator(391) INFO starting stats_worker
2021-09-02 15:39:19,150 (pygeoprocessing.geoprocessing_core) threading.run(870) DEBUG stats worker PID: 70300
2021-09-02 15:39:19,151 (pygeoprocessing.geoprocessing) geoprocessing.raster_calculator(397) INFO started stats_worker <Thread(Thread-1641, started daemon 77460)>
2021-09-02 15:39:19,294 (pygeoprocessing.geoprocessing) geoprocessing.raster_calculator(477) INFO 100.0% complete
2021-09-02 15:39:19,295 (pygeoprocessing.geoprocessing) geoprocessing.raster_calculator(480) INFO Waiting for raster stats worker result.
2021-09-02 15:39:19,511 (pygeoprocessing.geoprocessing) geoprocessing.raster_calculator(391) INFO starting stats_worker
2021-09-02 15:39:19,512 (pygeoprocessing.geoprocessing_core) threading.run(870) DEBUG stats worker PID: 70300
2021-09-02 15:39:19,513 (pygeoprocessing.geoprocessing) geoprocessing.raster_calculator(397) INFO started stats_worker <Thread(Thread-1642, started daemon 63656)>
2021-09-02 15:39:19,582 (pygeoprocessing.geoprocessing) geoprocessing.raster_calculator(477) INFO 100.0% complete
2021-09-02 15:39:19,582 (pygeoprocessing.geoprocessing) geoprocessing.raster_calculator(480) INFO Waiting for raster stats worker result.
2021-09-02 15:39:19,910 (natcap.invest.sdr.sdr) sdr._calculate_bar_factor(1046) DEBUG doing flow accumulation mfd on C:/Users/aniba/OneDrive/Área de Trabalho/InVEST/SDR_output\intermediate_outputs\w_threshold_Gura_5.tif
2021-09-02 15:39:19,910 (pygeoprocessing.routing.routing) sdr._calculate_bar_factor(1049) DEBUG creating target flow accum raster layer
2021-09-02 15:39:20,014 (pygeoprocessing.routing.routing) sdr._calculate_bar_factor(1049) DEBUG creating visited raster layer
2021-09-02 15:39:20,036 (pygeoprocessing.routing.routing) sdr._calculate_bar_factor(1049) DEBUG starting search
2021-09-02 15:39:20,945 (pygeoprocessing.routing.routing) sdr._calculate_bar_factor(1049) INFO 100.0% complete
2021-09-02 15:39:20,972 (pygeoprocessing.geoprocessing) geoprocessing.raster_calculator(391) INFO starting stats_worker
2021-09-02 15:39:20,982 (pygeoprocessing.geoprocessing_core) threading.run(870) DEBUG stats worker PID: 70300
2021-09-02 15:39:20,983 (pygeoprocessing.geoprocessing) geoprocessing.raster_calculator(397) INFO started stats_worker <Thread(Thread-1643, started daemon 64076)>
2021-09-02 15:39:21,182 (pygeoprocessing.geoprocessing) geoprocessing.raster_calculator(477) INFO 100.0% complete
2021-09-02 15:39:21,183 (pygeoprocessing.geoprocessing) geoprocessing.raster_calculator(480) INFO Waiting for raster stats worker result.
2021-09-02 15:39:21,423 (natcap.invest.sdr.sdr) sdr._calculate_bar_factor(1046) DEBUG doing flow accumulation mfd on C:/Users/aniba/OneDrive/Área de Trabalho/InVEST/SDR_output\intermediate_outputs\slope_threshold_Gura_5.tif
2021-09-02 15:39:21,423 (pygeoprocessing.routing.routing) sdr._calculate_bar_factor(1049) DEBUG creating target flow accum raster layer
2021-09-02 15:39:21,523 (pygeoprocessing.routing.routing) sdr._calculate_bar_factor(1049) DEBUG creating visited raster layer
2021-09-02 15:39:21,549 (pygeoprocessing.routing.routing) sdr._calculate_bar_factor(1049) DEBUG starting search
2021-09-02 15:39:22,162 (pygeoprocessing.routing.routing) sdr._calculate_bar_factor(1049) INFO 100.0% complete
2021-09-02 15:39:22,205 (pygeoprocessing.geoprocessing) geoprocessing.raster_calculator(391) INFO starting stats_worker
2021-09-02 15:39:22,207 (pygeoprocessing.geoprocessing_core) threading.run(870) DEBUG stats worker PID: 70300
2021-09-02 15:39:22,207 (pygeoprocessing.geoprocessing) geoprocessing.raster_calculator(397) INFO started stats_worker <Thread(Thread-1644, started daemon 73668)>
2021-09-02 15:39:22,347 (pygeoprocessing.geoprocessing) geoprocessing.raster_calculator(477) INFO 100.0% complete
2021-09-02 15:39:22,348 (pygeoprocessing.geoprocessing) geoprocessing.raster_calculator(480) INFO Waiting for raster stats worker result.
2021-09-02 15:39:22,852 (pygeoprocessing.geoprocessing) geoprocessing.raster_calculator(391) INFO starting stats_worker
2021-09-02 15:39:22,862 (pygeoprocessing.geoprocessing_core) threading.run(870) DEBUG stats worker PID: 70300
2021-09-02 15:39:22,864 (pygeoprocessing.geoprocessing) geoprocessing.raster_calculator(397) INFO started stats_worker <Thread(Thread-1645, started daemon 77556)>
2021-09-02 15:39:23,026 (pygeoprocessing.geoprocessing) geoprocessing.raster_calculator(477) INFO 100.0% complete
2021-09-02 15:39:23,029 (pygeoprocessing.geoprocessing) geoprocessing.raster_calculator(480) INFO Waiting for raster stats worker result.
2021-09-02 15:39:23,403 (pygeoprocessing.geoprocessing) geoprocessing.raster_calculator(391) INFO starting stats_worker
2021-09-02 15:39:23,405 (pygeoprocessing.geoprocessing_core) threading.run(870) DEBUG stats worker PID: 70300
2021-09-02 15:39:23,405 (pygeoprocessing.geoprocessing) geoprocessing.raster_calculator(397) INFO started stats_worker <Thread(Thread-1646, started daemon 74288)>
2021-09-02 15:39:23,467 (pygeoprocessing.geoprocessing) geoprocessing.raster_calculator(477) INFO 100.0% complete
2021-09-02 15:39:23,467 (pygeoprocessing.geoprocessing) geoprocessing.raster_calculator(480) INFO Waiting for raster stats worker result.
2021-09-02 15:39:24,413 (pygeoprocessing.routing.routing) Task._call(1234) INFO 100.0% complete
2021-09-02 15:39:24,600 (pygeoprocessing.geoprocessing) geoprocessing.raster_calculator(391) INFO starting stats_worker
2021-09-02 15:39:24,601 (pygeoprocessing.geoprocessing_core) threading.run(870) DEBUG stats worker PID: 70300
2021-09-02 15:39:24,601 (pygeoprocessing.geoprocessing) geoprocessing.raster_calculator(397) INFO started stats_worker <Thread(Thread-1647, started daemon 77584)>
2021-09-02 15:39:24,699 (pygeoprocessing.geoprocessing) geoprocessing.raster_calculator(477) INFO 100.0% complete
2021-09-02 15:39:24,700 (pygeoprocessing.geoprocessing) geoprocessing.raster_calculator(480) INFO Waiting for raster stats worker result.
2021-09-02 15:39:24,939 (pygeoprocessing.geoprocessing) geoprocessing.raster_calculator(391) INFO starting stats_worker
2021-09-02 15:39:24,940 (pygeoprocessing.geoprocessing_core) threading.run(870) DEBUG stats worker PID: 70300
2021-09-02 15:39:24,940 (pygeoprocessing.geoprocessing) geoprocessing.raster_calculator(397) INFO started stats_worker <Thread(Thread-1648, started daemon 76840)>
2021-09-02 15:39:24,988 (pygeoprocessing.geoprocessing) geoprocessing.raster_calculator(477) INFO 100.0% complete
2021-09-02 15:39:24,988 (pygeoprocessing.geoprocessing) geoprocessing.raster_calculator(480) INFO Waiting for raster stats worker result.
2021-09-02 15:39:25,351 (pygeoprocessing.geoprocessing) geoprocessing.raster_calculator(391) INFO starting stats_worker
2021-09-02 15:39:25,353 (pygeoprocessing.geoprocessing_core) threading.run(870) DEBUG stats worker PID: 70300
2021-09-02 15:39:25,353 (pygeoprocessing.geoprocessing) geoprocessing.raster_calculator(397) INFO started stats_worker <Thread(Thread-1649, started daemon 70552)>
2021-09-02 15:39:25,421 (pygeoprocessing.geoprocessing) geoprocessing.raster_calculator(477) INFO 100.0% complete
2021-09-02 15:39:25,422 (pygeoprocessing.geoprocessing) geoprocessing.raster_calculator(480) INFO Waiting for raster stats worker result.
2021-09-02 15:39:25,755 (pygeoprocessing.geoprocessing) geoprocessing.raster_calculator(391) INFO starting stats_worker
2021-09-02 15:39:25,757 (pygeoprocessing.geoprocessing_core) threading.run(870) DEBUG stats worker PID: 70300
2021-09-02 15:39:25,757 (pygeoprocessing.geoprocessing) geoprocessing.raster_calculator(397) INFO started stats_worker <Thread(Thread-1650, started daemon 77616)>
2021-09-02 15:39:25,812 (pygeoprocessing.geoprocessing) geoprocessing.raster_calculator(477) INFO 100.0% complete
2021-09-02 15:39:25,813 (pygeoprocessing.geoprocessing) geoprocessing.raster_calculator(480) INFO Waiting for raster stats worker result.
2021-09-02 15:39:26,076 (natcap.invest.sdr.sdr_core) Task._call(1234) INFO Calculate sediment deposition
2021-09-02 15:39:26,190 (natcap.invest.sdr.sdr_core) Task._call(1234) INFO Sediment deposition 0.00% complete
2021-09-02 15:39:26,284 (natcap.invest.sdr.sdr_core) Task._call(1234) INFO Sediment deposition 0.00% complete
2021-09-02 15:39:26,360 (natcap.invest.sdr.sdr_core) Task._call(1234) INFO Sediment deposition 0.00% complete
2021-09-02 15:39:26,443 (natcap.invest.sdr.sdr_core) Task._call(1234) INFO Sediment deposition 0.00% complete
2021-09-02 15:39:26,487 (natcap.invest.sdr.sdr_core) Task._call(1234) INFO Sediment deposition 0.00% complete
2021-09-02 15:39:26,493 (natcap.invest.sdr.sdr_core) Task._call(1234) INFO Sediment deposition 0.00% complete
2021-09-02 15:39:26,543 (natcap.invest.sdr.sdr_core) Task._call(1234) INFO Sediment deposition 0.00% complete
2021-09-02 15:39:26,630 (natcap.invest.sdr.sdr_core) Task._call(1234) INFO Sediment deposition 0.00% complete
2021-09-02 15:39:26,677 (natcap.invest.sdr.sdr_core) Task._call(1234) INFO Sediment deposition 0.00% complete
2021-09-02 15:39:26,722 (natcap.invest.sdr.sdr_core) Task._call(1234) INFO Sediment deposition 5.65% complete
2021-09-02 15:39:26,760 (natcap.invest.sdr.sdr_core) Task._call(1234) INFO Sediment deposition 11.30% complete
2021-09-02 15:39:26,854 (natcap.invest.sdr.sdr_core) Task._call(1234) INFO Sediment deposition 16.95% complete
2021-09-02 15:39:26,952 (natcap.invest.sdr.sdr_core) Task._call(1234) INFO Sediment deposition 22.61% complete
2021-09-02 15:39:27,033 (natcap.invest.sdr.sdr_core) Task._call(1234) INFO Sediment deposition 28.26% complete
2021-09-02 15:39:27,103 (natcap.invest.sdr.sdr_core) Task._call(1234) INFO Sediment deposition 33.91% complete
2021-09-02 15:39:27,154 (natcap.invest.sdr.sdr_core) Task._call(1234) INFO Sediment deposition 39.56% complete
2021-09-02 15:39:27,164 (natcap.invest.sdr.sdr_core) Task._call(1234) INFO Sediment deposition 0.00% complete
2021-09-02 15:39:27,166 (natcap.invest.sdr.sdr_core) Task._call(1234) INFO Sediment deposition 11.30% complete
2021-09-02 15:39:27,168 (natcap.invest.sdr.sdr_core) Task._call(1234) INFO Sediment deposition 22.61% complete
2021-09-02 15:39:27,172 (natcap.invest.sdr.sdr_core) Task._call(1234) INFO Sediment deposition 33.91% complete
2021-09-02 15:39:27,205 (natcap.invest.sdr.sdr_core) Task._call(1234) INFO Sediment deposition 45.21% complete
2021-09-02 15:39:27,255 (natcap.invest.sdr.sdr_core) Task._call(1234) INFO Sediment deposition 56.51% complete
2021-09-02 15:39:27,284 (natcap.invest.sdr.sdr_core) Task._call(1234) INFO Sediment deposition 67.82% complete
2021-09-02 15:39:27,286 (natcap.invest.sdr.sdr_core) Task._call(1234) INFO Sediment deposition 79.12% complete
2021-09-02 15:39:27,289 (natcap.invest.sdr.sdr_core) Task._call(1234) INFO Sediment deposition 100% complete

2021-09-02 15:39:27,638 (pygeoprocessing.geoprocessing) geoprocessing.raster_calculator(391) INFO starting stats_worker
2021-09-02 15:39:27,640 (pygeoprocessing.geoprocessing_core) threading.run(870) DEBUG stats worker PID: 70300
2021-09-02 15:39:27,641 (pygeoprocessing.geoprocessing) geoprocessing.raster_calculator(397) INFO started stats_worker <Thread(Thread-1651, started daemon 70176)>
2021-09-02 15:39:27,782 (pygeoprocessing.geoprocessing) geoprocessing.raster_calculator(477) INFO 100.0% complete
2021-09-02 15:39:27,784 (pygeoprocessing.geoprocessing) geoprocessing.raster_calculator(480) INFO Waiting for raster stats worker result.
2021-09-02 15:39:28,084 (pygeoprocessing.geoprocessing) geoprocessing.raster_calculator(391) INFO starting stats_worker
2021-09-02 15:39:28,086 (pygeoprocessing.geoprocessing_core) threading.run(870) DEBUG stats worker PID: 70300
2021-09-02 15:39:28,086 (pygeoprocessing.geoprocessing) geoprocessing.raster_calculator(397) INFO started stats_worker <Thread(Thread-1652, started daemon 77248)>
2021-09-02 15:39:28,121 (pygeoprocessing.geoprocessing) geoprocessing.raster_calculator(477) INFO 100.0% complete
2021-09-02 15:39:28,122 (pygeoprocessing.geoprocessing) geoprocessing.raster_calculator(480) INFO Waiting for raster stats worker result.
2021-09-02 15:39:28,980 (pygeoprocessing.routing.routing) Task._call(1234) INFO 100.0% complete
2021-09-02 15:39:29,146 (pygeoprocessing.geoprocessing) geoprocessing.raster_calculator(391) INFO starting stats_worker
2021-09-02 15:39:29,148 (pygeoprocessing.geoprocessing_core) threading.run(870) DEBUG stats worker PID: 70300
2021-09-02 15:39:29,148 (pygeoprocessing.geoprocessing) geoprocessing.raster_calculator(397) INFO started stats_worker <Thread(Thread-1653, started daemon 72384)>
2021-09-02 15:39:29,245 (pygeoprocessing.geoprocessing) geoprocessing.raster_calculator(477) INFO 100.0% complete
2021-09-02 15:39:29,246 (pygeoprocessing.geoprocessing) geoprocessing.raster_calculator(480) INFO Waiting for raster stats worker result.
2021-09-02 15:39:29,665 (pygeoprocessing.geoprocessing) geoprocessing.raster_calculator(391) INFO starting stats_worker
2021-09-02 15:39:29,673 (pygeoprocessing.geoprocessing_core) threading.run(870) DEBUG stats worker PID: 70300
2021-09-02 15:39:29,674 (pygeoprocessing.geoprocessing) geoprocessing.raster_calculator(397) INFO started stats_worker <Thread(Thread-1654, started daemon 70956)>
2021-09-02 15:39:29,823 (pygeoprocessing.geoprocessing) geoprocessing.raster_calculator(477) INFO 100.0% complete
2021-09-02 15:39:29,825 (pygeoprocessing.geoprocessing) geoprocessing.raster_calculator(480) INFO Waiting for raster stats worker result.
2021-09-02 15:39:30,128 (pygeoprocessing.geoprocessing) geoprocessing.raster_calculator(391) INFO starting stats_worker
2021-09-02 15:39:30,133 (pygeoprocessing.geoprocessing_core) threading.run(870) DEBUG stats worker PID: 70300
2021-09-02 15:39:30,133 (pygeoprocessing.geoprocessing) geoprocessing.raster_calculator(397) INFO started stats_worker <Thread(Thread-1655, started daemon 71044)>
2021-09-02 15:39:30,199 (pygeoprocessing.geoprocessing) geoprocessing.raster_calculator(477) INFO 100.0% complete
2021-09-02 15:39:30,200 (pygeoprocessing.geoprocessing) geoprocessing.raster_calculator(480) INFO Waiting for raster stats worker result.
2021-09-02 15:39:30,512 (pygeoprocessing.geoprocessing) geoprocessing.raster_calculator(391) INFO starting stats_worker
2021-09-02 15:39:30,531 (pygeoprocessing.geoprocessing_core) threading.run(870) DEBUG stats worker PID: 70300
2021-09-02 15:39:30,531 (pygeoprocessing.geoprocessing) geoprocessing.raster_calculator(397) INFO started stats_worker <Thread(Thread-1656, started daemon 77144)>
2021-09-02 15:39:30,725 (pygeoprocessing.geoprocessing) geoprocessing.raster_calculator(477) INFO 100.0% complete
2021-09-02 15:39:30,726 (pygeoprocessing.geoprocessing) geoprocessing.raster_calculator(480) INFO Waiting for raster stats worker result.
2021-09-02 15:39:31,157 (natcap.invest.utils) utils._log_gdal_errors(78) WARNING _log_gdal_errors called with args: (2, 1, ‘Value 2200.76999999999998 of field area_ha of feature 0 not successfully written. Possibly due to too larger number with respect to field width’), kwargs: {}
2021-09-02 15:39:31,159 (osgeo) utils._log_gdal_errors(95) WARNING [errno 1] Value 2200.76999999999998 of field area_ha of feature 0 not successfully written. Possibly due to too larger number with respect to field width
2021-09-02 15:39:31,161 (natcap.invest.utils) utils._log_gdal_errors(78) WARNING _log_gdal_errors called with args: (2, 1, ‘Value 918.383000000000038 of field area_ha of feature 1 not successfully written. Possibly due to too larger number with respect to field width’), kwargs: {}
2021-09-02 15:39:31,161 (osgeo) utils._log_gdal_errors(95) WARNING [errno 1] Value 918.383000000000038 of field area_ha of feature 1 not successfully written. Possibly due to too larger number with respect to field width
2021-09-02 15:39:31,162 (natcap.invest.utils) utils._log_gdal_errors(78) WARNING _log_gdal_errors called with args: (2, 1, ‘Value 1149.70000000000005 of field area_ha of feature 2 not successfully written. Possibly due to too larger number with respect to field width’), kwargs: {}
2021-09-02 15:39:31,162 (osgeo) utils._log_gdal_errors(95) WARNING [errno 1] Value 1149.70000000000005 of field area_ha of feature 2 not successfully written. Possibly due to too larger number with respect to field width
2021-09-02 15:39:31,163 (natcap.invest.utils) utils._log_gdal_errors(78) WARNING _log_gdal_errors called with args: (2, 1, ‘Value 2413.98000000000002 of field area_ha of feature 3 not successfully written. Possibly due to too larger number with respect to field width’), kwargs: {}
2021-09-02 15:39:31,164 (osgeo) utils._log_gdal_errors(95) WARNING [errno 1] Value 2413.98000000000002 of field area_ha of feature 3 not successfully written. Possibly due to too larger number with respect to field width
2021-09-02 15:39:31,165 (natcap.invest.utils) utils._log_gdal_errors(78) WARNING _log_gdal_errors called with args: (2, 1, ‘Value 3958.80999999999995 of field area_ha of feature 4 not successfully written. Possibly due to too larger number with respect to field width’), kwargs: {}
2021-09-02 15:39:31,165 (osgeo) utils._log_gdal_errors(95) WARNING [errno 1] Value 3958.80999999999995 of field area_ha of feature 4 not successfully written. Possibly due to too larger number with respect to field width
2021-09-02 15:39:31,176 (pygeoprocessing.geoprocessing) geoprocessing.zonal_statistics(1184) DEBUG <osgeo.gdal.Dataset; proxy of <Swig Object of type ‘GDALDatasetShadow *’ at 0x000001C714DD2060> >
2021-09-02 15:39:31,546 (pygeoprocessing.geoprocessing) geoprocessing.align_and_resize_raster_stack(793) INFO 1 of 1 aligned: clipped_raster20rxk8l7.tif
2021-09-02 15:39:31,547 (pygeoprocessing.geoprocessing) geoprocessing.align_and_resize_raster_stack(797) INFO aligned all 1 rasters.
2021-09-02 15:39:31,604 (pygeoprocessing.geoprocessing) geoprocessing.zonal_statistics(1244) INFO build a lookup of aggregate field value to FID
2021-09-02 15:39:31,628 (pygeoprocessing.geoprocessing) geoprocessing.zonal_statistics(1251) INFO creating disjoint polygon set
2021-09-02 15:39:31,631 (pygeoprocessing.geoprocessing) geoprocessing.calculate_disjoint_polygon_set(2183) INFO build shapely polygon list
2021-09-02 15:39:31,774 (pygeoprocessing.geoprocessing) geoprocessing.calculate_disjoint_polygon_set(2204) INFO build shapely rtree index
2021-09-02 15:39:32,561 (pygeoprocessing.geoprocessing) geoprocessing.calculate_disjoint_polygon_set(2217) INFO poly feature lookup 100.0% complete on watershed_results_sdr_Gura_5.shp
2021-09-02 15:39:32,561 (pygeoprocessing.geoprocessing) geoprocessing.calculate_disjoint_polygon_set(2221) INFO build poly intersection lookup
2021-09-02 15:39:32,602 (pygeoprocessing.geoprocessing) geoprocessing.calculate_disjoint_polygon_set(2243) INFO poly intersection feature lookup 100.0% complete on watershed_results_sdr_Gura_5.shp
2021-09-02 15:39:32,603 (pygeoprocessing.geoprocessing) geoprocessing.calculate_disjoint_polygon_set(2277) INFO maximal subset build 100.0% complete on watershed_results_sdr_Gura_5.shp
2021-09-02 15:39:32,654 (pygeoprocessing.geoprocessing) geoprocessing.zonal_statistics(1274) INFO processing 4 disjoint polygon sets
2021-09-02 15:39:32,699 (pygeoprocessing.geoprocessing) geoprocessing.zonal_statistics(1306) INFO disjoint polygon set 1 of 4 100.0% processed on watershed_results_sdr_Gura_5.shp
2021-09-02 15:39:32,701 (pygeoprocessing.geoprocessing) geoprocessing.zonal_statistics(1314) INFO rasterizing disjoint polygon set 1 of 4 watershed_results_sdr_Gura_5.shp
2021-09-02 15:39:32,763 (pygeoprocessing.geoprocessing) geoprocessing.zonal_statistics(1332) INFO summarizing rasterized disjoint polygon set 1 of 4 watershed_results_sdr_Gura_5.shp
2021-09-02 15:39:32,832 (pygeoprocessing.geoprocessing) geoprocessing.zonal_statistics(1306) INFO disjoint polygon set 2 of 4 100.0% processed on watershed_results_sdr_Gura_5.shp
2021-09-02 15:39:32,834 (pygeoprocessing.geoprocessing) geoprocessing.zonal_statistics(1314) INFO rasterizing disjoint polygon set 2 of 4 watershed_results_sdr_Gura_5.shp
2021-09-02 15:39:32,861 (pygeoprocessing.geoprocessing) geoprocessing.zonal_statistics(1332) INFO summarizing rasterized disjoint polygon set 2 of 4 watershed_results_sdr_Gura_5.shp
2021-09-02 15:39:32,875 (pygeoprocessing.geoprocessing) geoprocessing.zonal_statistics(1306) INFO disjoint polygon set 3 of 4 100.0% processed on watershed_results_sdr_Gura_5.shp
2021-09-02 15:39:32,876 (pygeoprocessing.geoprocessing) geoprocessing.zonal_statistics(1314) INFO rasterizing disjoint polygon set 3 of 4 watershed_results_sdr_Gura_5.shp
2021-09-02 15:39:32,906 (pygeoprocessing.geoprocessing) geoprocessing.zonal_statistics(1332) INFO summarizing rasterized disjoint polygon set 3 of 4 watershed_results_sdr_Gura_5.shp
2021-09-02 15:39:32,923 (pygeoprocessing.geoprocessing) geoprocessing.zonal_statistics(1306) INFO disjoint polygon set 4 of 4 100.0% processed on watershed_results_sdr_Gura_5.shp
2021-09-02 15:39:32,925 (pygeoprocessing.geoprocessing) geoprocessing.zonal_statistics(1314) INFO rasterizing disjoint polygon set 4 of 4 watershed_results_sdr_Gura_5.shp
2021-09-02 15:39:32,957 (pygeoprocessing.geoprocessing) geoprocessing.zonal_statistics(1332) INFO summarizing rasterized disjoint polygon set 4 of 4 watershed_results_sdr_Gura_5.shp
2021-09-02 15:39:32,977 (pygeoprocessing.geoprocessing) geoprocessing.zonal_statistics(1376) DEBUG unset_fids: 0 of 5
2021-09-02 15:39:32,983 (pygeoprocessing.geoprocessing) geoprocessing.zonal_statistics(1381) DEBUG gt [ 2.4898066e+05 1.5000000e+01 0.0000000e+00 9.9418670e+06
0.0000000e+00 -1.5000000e+01] for (‘C:/Users/aniba/OneDrive/Área de Trabalho/InVEST/SDR_output\usle_Gura_5.tif’, 1)
2021-09-02 15:39:33,038 (pygeoprocessing.geoprocessing) geoprocessing.zonal_statistics(1458) DEBUG remaining unset_fids: 0 of 5
2021-09-02 15:39:33,038 (pygeoprocessing.geoprocessing) geoprocessing.zonal_statistics(1466) INFO all done processing polygon sets for watershed_results_sdr_Gura_5.shp
2021-09-02 15:39:33,061 (pygeoprocessing.geoprocessing) geoprocessing.zonal_statistics(1184) DEBUG <osgeo.gdal.Dataset; proxy of <Swig Object of type ‘GDALDatasetShadow *’ at 0x000001C714DD2ED0> >
2021-09-02 15:39:33,307 (pygeoprocessing.geoprocessing) geoprocessing.align_and_resize_raster_stack(793) INFO 1 of 1 aligned: clipped_rasteryorw3yth.tif
2021-09-02 15:39:33,308 (pygeoprocessing.geoprocessing) geoprocessing.align_and_resize_raster_stack(797) INFO aligned all 1 rasters.
2021-09-02 15:39:33,310 (pygeoprocessing.geoprocessing) geoprocessing.zonal_statistics(1244) INFO build a lookup of aggregate field value to FID
2021-09-02 15:39:33,310 (pygeoprocessing.geoprocessing) geoprocessing.zonal_statistics(1251) INFO creating disjoint polygon set
2021-09-02 15:39:33,312 (pygeoprocessing.geoprocessing) geoprocessing.calculate_disjoint_polygon_set(2183) INFO build shapely polygon list
2021-09-02 15:39:33,317 (pygeoprocessing.geoprocessing) geoprocessing.calculate_disjoint_polygon_set(2204) INFO build shapely rtree index
2021-09-02 15:39:33,318 (pygeoprocessing.geoprocessing) geoprocessing.calculate_disjoint_polygon_set(2217) INFO poly feature lookup 100.0% complete on watershed_results_sdr_Gura_5.shp
2021-09-02 15:39:33,319 (pygeoprocessing.geoprocessing) geoprocessing.calculate_disjoint_polygon_set(2221) INFO build poly intersection lookup
2021-09-02 15:39:33,333 (pygeoprocessing.geoprocessing) geoprocessing.calculate_disjoint_polygon_set(2243) INFO poly intersection feature lookup 100.0% complete on watershed_results_sdr_Gura_5.shp
2021-09-02 15:39:33,334 (pygeoprocessing.geoprocessing) geoprocessing.calculate_disjoint_polygon_set(2277) INFO maximal subset build 100.0% complete on watershed_results_sdr_Gura_5.shp
2021-09-02 15:39:33,385 (pygeoprocessing.geoprocessing) geoprocessing.zonal_statistics(1274) INFO processing 4 disjoint polygon sets
2021-09-02 15:39:33,387 (pygeoprocessing.geoprocessing) geoprocessing.zonal_statistics(1306) INFO disjoint polygon set 1 of 4 100.0% processed on watershed_results_sdr_Gura_5.shp
2021-09-02 15:39:33,389 (pygeoprocessing.geoprocessing) geoprocessing.zonal_statistics(1314) INFO rasterizing disjoint polygon set 1 of 4 watershed_results_sdr_Gura_5.shp
2021-09-02 15:39:33,441 (pygeoprocessing.geoprocessing) geoprocessing.zonal_statistics(1332) INFO summarizing rasterized disjoint polygon set 1 of 4 watershed_results_sdr_Gura_5.shp
2021-09-02 15:39:33,500 (pygeoprocessing.geoprocessing) geoprocessing.zonal_statistics(1306) INFO disjoint polygon set 2 of 4 100.0% processed on watershed_results_sdr_Gura_5.shp
2021-09-02 15:39:33,503 (pygeoprocessing.geoprocessing) geoprocessing.zonal_statistics(1314) INFO rasterizing disjoint polygon set 2 of 4 watershed_results_sdr_Gura_5.shp
2021-09-02 15:39:33,538 (pygeoprocessing.geoprocessing) geoprocessing.zonal_statistics(1332) INFO summarizing rasterized disjoint polygon set 2 of 4 watershed_results_sdr_Gura_5.shp
2021-09-02 15:39:33,562 (pygeoprocessing.geoprocessing) geoprocessing.zonal_statistics(1306) INFO disjoint polygon set 3 of 4 100.0% processed on watershed_results_sdr_Gura_5.shp
2021-09-02 15:39:33,564 (pygeoprocessing.geoprocessing) geoprocessing.zonal_statistics(1314) INFO rasterizing disjoint polygon set 3 of 4 watershed_results_sdr_Gura_5.shp
2021-09-02 15:39:33,603 (pygeoprocessing.geoprocessing) geoprocessing.zonal_statistics(1332) INFO summarizing rasterized disjoint polygon set 3 of 4 watershed_results_sdr_Gura_5.shp
2021-09-02 15:39:33,631 (pygeoprocessing.geoprocessing) geoprocessing.zonal_statistics(1306) INFO disjoint polygon set 4 of 4 100.0% processed on watershed_results_sdr_Gura_5.shp
2021-09-02 15:39:33,633 (pygeoprocessing.geoprocessing) geoprocessing.zonal_statistics(1314) INFO rasterizing disjoint polygon set 4 of 4 watershed_results_sdr_Gura_5.shp
2021-09-02 15:39:33,672 (pygeoprocessing.geoprocessing) geoprocessing.zonal_statistics(1332) INFO summarizing rasterized disjoint polygon set 4 of 4 watershed_results_sdr_Gura_5.shp
2021-09-02 15:39:33,703 (pygeoprocessing.geoprocessing) geoprocessing.zonal_statistics(1376) DEBUG unset_fids: 0 of 5
2021-09-02 15:39:33,712 (pygeoprocessing.geoprocessing) geoprocessing.zonal_statistics(1381) DEBUG gt [ 2.4898066e+05 1.5000000e+01 0.0000000e+00 9.9418670e+06
0.0000000e+00 -1.5000000e+01] for (‘C:/Users/aniba/OneDrive/Área de Trabalho/InVEST/SDR_output\sed_export_Gura_5.tif’, 1)
2021-09-02 15:39:33,713 (pygeoprocessing.geoprocessing) geoprocessing.zonal_statistics(1458) DEBUG remaining unset_fids: 0 of 5
2021-09-02 15:39:33,713 (pygeoprocessing.geoprocessing) geoprocessing.zonal_statistics(1466) INFO all done processing polygon sets for watershed_results_sdr_Gura_5.shp
2021-09-02 15:39:33,721 (pygeoprocessing.geoprocessing) geoprocessing.zonal_statistics(1184) DEBUG <osgeo.gdal.Dataset; proxy of <Swig Object of type ‘GDALDatasetShadow *’ at 0x000001C714DBCD50> >
2021-09-02 15:39:33,918 (pygeoprocessing.geoprocessing) geoprocessing.align_and_resize_raster_stack(793) INFO 1 of 1 aligned: clipped_rastersd6eb4v4.tif
2021-09-02 15:39:33,918 (pygeoprocessing.geoprocessing) geoprocessing.align_and_resize_raster_stack(797) INFO aligned all 1 rasters.
2021-09-02 15:39:33,920 (pygeoprocessing.geoprocessing) geoprocessing.zonal_statistics(1244) INFO build a lookup of aggregate field value to FID
2021-09-02 15:39:33,920 (pygeoprocessing.geoprocessing) geoprocessing.zonal_statistics(1251) INFO creating disjoint polygon set
2021-09-02 15:39:33,922 (pygeoprocessing.geoprocessing) geoprocessing.calculate_disjoint_polygon_set(2183) INFO build shapely polygon list
2021-09-02 15:39:33,926 (pygeoprocessing.geoprocessing) geoprocessing.calculate_disjoint_polygon_set(2204) INFO build shapely rtree index
2021-09-02 15:39:33,926 (pygeoprocessing.geoprocessing) geoprocessing.calculate_disjoint_polygon_set(2217) INFO poly feature lookup 100.0% complete on watershed_results_sdr_Gura_5.shp
2021-09-02 15:39:33,927 (pygeoprocessing.geoprocessing) geoprocessing.calculate_disjoint_polygon_set(2221) INFO build poly intersection lookup
2021-09-02 15:39:33,934 (pygeoprocessing.geoprocessing) geoprocessing.calculate_disjoint_polygon_set(2243) INFO poly intersection feature lookup 100.0% complete on watershed_results_sdr_Gura_5.shp
2021-09-02 15:39:33,935 (pygeoprocessing.geoprocessing) geoprocessing.calculate_disjoint_polygon_set(2277) INFO maximal subset build 100.0% complete on watershed_results_sdr_Gura_5.shp
2021-09-02 15:39:33,963 (pygeoprocessing.geoprocessing) geoprocessing.zonal_statistics(1274) INFO processing 4 disjoint polygon sets
2021-09-02 15:39:33,964 (pygeoprocessing.geoprocessing) geoprocessing.zonal_statistics(1306) INFO disjoint polygon set 1 of 4 100.0% processed on watershed_results_sdr_Gura_5.shp
2021-09-02 15:39:33,966 (pygeoprocessing.geoprocessing) geoprocessing.zonal_statistics(1314) INFO rasterizing disjoint polygon set 1 of 4 watershed_results_sdr_Gura_5.shp
2021-09-02 15:39:34,002 (pygeoprocessing.geoprocessing) geoprocessing.zonal_statistics(1332) INFO summarizing rasterized disjoint polygon set 1 of 4 watershed_results_sdr_Gura_5.shp
2021-09-02 15:39:34,043 (pygeoprocessing.geoprocessing) geoprocessing.zonal_statistics(1306) INFO disjoint polygon set 2 of 4 100.0% processed on watershed_results_sdr_Gura_5.shp
2021-09-02 15:39:34,045 (pygeoprocessing.geoprocessing) geoprocessing.zonal_statistics(1314) INFO rasterizing disjoint polygon set 2 of 4 watershed_results_sdr_Gura_5.shp
2021-09-02 15:39:34,071 (pygeoprocessing.geoprocessing) geoprocessing.zonal_statistics(1332) INFO summarizing rasterized disjoint polygon set 2 of 4 watershed_results_sdr_Gura_5.shp
2021-09-02 15:39:34,086 (pygeoprocessing.geoprocessing) geoprocessing.zonal_statistics(1306) INFO disjoint polygon set 3 of 4 100.0% processed on watershed_results_sdr_Gura_5.shp
2021-09-02 15:39:34,087 (pygeoprocessing.geoprocessing) geoprocessing.zonal_statistics(1314) INFO rasterizing disjoint polygon set 3 of 4 watershed_results_sdr_Gura_5.shp
2021-09-02 15:39:34,119 (pygeoprocessing.geoprocessing) geoprocessing.zonal_statistics(1332) INFO summarizing rasterized disjoint polygon set 3 of 4 watershed_results_sdr_Gura_5.shp
2021-09-02 15:39:34,147 (pygeoprocessing.geoprocessing) geoprocessing.zonal_statistics(1306) INFO disjoint polygon set 4 of 4 100.0% processed on watershed_results_sdr_Gura_5.shp
2021-09-02 15:39:34,149 (pygeoprocessing.geoprocessing) geoprocessing.zonal_statistics(1314) INFO rasterizing disjoint polygon set 4 of 4 watershed_results_sdr_Gura_5.shp
2021-09-02 15:39:34,187 (pygeoprocessing.geoprocessing) geoprocessing.zonal_statistics(1332) INFO summarizing rasterized disjoint polygon set 4 of 4 watershed_results_sdr_Gura_5.shp
2021-09-02 15:39:34,218 (pygeoprocessing.geoprocessing) geoprocessing.zonal_statistics(1376) DEBUG unset_fids: 0 of 5
2021-09-02 15:39:34,227 (pygeoprocessing.geoprocessing) geoprocessing.zonal_statistics(1381) DEBUG gt [ 2.4898066e+05 1.5000000e+01 0.0000000e+00 9.9418670e+06
0.0000000e+00 -1.5000000e+01] for (‘C:/Users/aniba/OneDrive/Área de Trabalho/InVEST/SDR_output\sed_retention_Gura_5.tif’, 1)
2021-09-02 15:39:34,228 (pygeoprocessing.geoprocessing) geoprocessing.zonal_statistics(1458) DEBUG remaining unset_fids: 0 of 5
2021-09-02 15:39:34,228 (pygeoprocessing.geoprocessing) geoprocessing.zonal_statistics(1466) INFO all done processing polygon sets for watershed_results_sdr_Gura_5.shp
2021-09-02 15:39:34,235 (pygeoprocessing.geoprocessing) geoprocessing.zonal_statistics(1184) DEBUG <osgeo.gdal.Dataset; proxy of <Swig Object of type ‘GDALDatasetShadow *’ at 0x000001C714DBCEA0> >
2021-09-02 15:39:34,458 (pygeoprocessing.geoprocessing) geoprocessing.align_and_resize_raster_stack(793) INFO 1 of 1 aligned: clipped_rasterq2wi5g97.tif
2021-09-02 15:39:34,459 (pygeoprocessing.geoprocessing) geoprocessing.align_and_resize_raster_stack(797) INFO aligned all 1 rasters.
2021-09-02 15:39:34,461 (pygeoprocessing.geoprocessing) geoprocessing.zonal_statistics(1244) INFO build a lookup of aggregate field value to FID
2021-09-02 15:39:34,462 (pygeoprocessing.geoprocessing) geoprocessing.zonal_statistics(1251) INFO creating disjoint polygon set
2021-09-02 15:39:34,463 (pygeoprocessing.geoprocessing) geoprocessing.calculate_disjoint_polygon_set(2183) INFO build shapely polygon list
2021-09-02 15:39:34,469 (pygeoprocessing.geoprocessing) geoprocessing.calculate_disjoint_polygon_set(2204) INFO build shapely rtree index
2021-09-02 15:39:34,470 (pygeoprocessing.geoprocessing) geoprocessing.calculate_disjoint_polygon_set(2217) INFO poly feature lookup 100.0% complete on watershed_results_sdr_Gura_5.shp
2021-09-02 15:39:34,471 (pygeoprocessing.geoprocessing) geoprocessing.calculate_disjoint_polygon_set(2221) INFO build poly intersection lookup
2021-09-02 15:39:34,486 (pygeoprocessing.geoprocessing) geoprocessing.calculate_disjoint_polygon_set(2243) INFO poly intersection feature lookup 100.0% complete on watershed_results_sdr_Gura_5.shp
2021-09-02 15:39:34,487 (pygeoprocessing.geoprocessing) geoprocessing.calculate_disjoint_polygon_set(2277) INFO maximal subset build 100.0% complete on watershed_results_sdr_Gura_5.shp
2021-09-02 15:39:34,531 (pygeoprocessing.geoprocessing) geoprocessing.zonal_statistics(1274) INFO processing 4 disjoint polygon sets
2021-09-02 15:39:34,533 (pygeoprocessing.geoprocessing) geoprocessing.zonal_statistics(1306) INFO disjoint polygon set 1 of 4 100.0% processed on watershed_results_sdr_Gura_5.shp
2021-09-02 15:39:34,535 (pygeoprocessing.geoprocessing) geoprocessing.zonal_statistics(1314) INFO rasterizing disjoint polygon set 1 of 4 watershed_results_sdr_Gura_5.shp
2021-09-02 15:39:34,587 (pygeoprocessing.geoprocessing) geoprocessing.zonal_statistics(1332) INFO summarizing rasterized disjoint polygon set 1 of 4 watershed_results_sdr_Gura_5.shp
2021-09-02 15:39:34,647 (pygeoprocessing.geoprocessing) geoprocessing.zonal_statistics(1306) INFO disjoint polygon set 2 of 4 100.0% processed on watershed_results_sdr_Gura_5.shp
2021-09-02 15:39:34,650 (pygeoprocessing.geoprocessing) geoprocessing.zonal_statistics(1314) INFO rasterizing disjoint polygon set 2 of 4 watershed_results_sdr_Gura_5.shp
2021-09-02 15:39:34,686 (pygeoprocessing.geoprocessing) geoprocessing.zonal_statistics(1332) INFO summarizing rasterized disjoint polygon set 2 of 4 watershed_results_sdr_Gura_5.shp
2021-09-02 15:39:34,707 (pygeoprocessing.geoprocessing) geoprocessing.zonal_statistics(1306) INFO disjoint polygon set 3 of 4 100.0% processed on watershed_results_sdr_Gura_5.shp
2021-09-02 15:39:34,710 (pygeoprocessing.geoprocessing) geoprocessing.zonal_statistics(1314) INFO rasterizing disjoint polygon set 3 of 4 watershed_results_sdr_Gura_5.shp
2021-09-02 15:39:34,743 (pygeoprocessing.geoprocessing) geoprocessing.zonal_statistics(1332) INFO summarizing rasterized disjoint polygon set 3 of 4 watershed_results_sdr_Gura_5.shp
2021-09-02 15:39:34,760 (pygeoprocessing.geoprocessing) geoprocessing.zonal_statistics(1306) INFO disjoint polygon set 4 of 4 100.0% processed on watershed_results_sdr_Gura_5.shp
2021-09-02 15:39:34,762 (pygeoprocessing.geoprocessing) geoprocessing.zonal_statistics(1314) INFO rasterizing disjoint polygon set 4 of 4 watershed_results_sdr_Gura_5.shp
2021-09-02 15:39:34,791 (pygeoprocessing.geoprocessing) geoprocessing.zonal_statistics(1332) INFO summarizing rasterized disjoint polygon set 4 of 4 watershed_results_sdr_Gura_5.shp
2021-09-02 15:39:34,811 (pygeoprocessing.geoprocessing) geoprocessing.zonal_statistics(1376) DEBUG unset_fids: 0 of 5
2021-09-02 15:39:34,817 (pygeoprocessing.geoprocessing) geoprocessing.zonal_statistics(1381) DEBUG gt [ 2.4898066e+05 1.5000000e+01 0.0000000e+00 9.9418670e+06
0.0000000e+00 -1.5000000e+01] for (‘C:/Users/aniba/OneDrive/Área de Trabalho/InVEST/SDR_output\sed_deposition_Gura_5.tif’, 1)
2021-09-02 15:39:34,817 (pygeoprocessing.geoprocessing) geoprocessing.zonal_statistics(1458) DEBUG remaining unset_fids: 0 of 5
2021-09-02 15:39:34,817 (pygeoprocessing.geoprocessing) geoprocessing.zonal_statistics(1466) INFO all done processing polygon sets for watershed_results_sdr_Gura_5.shp
2021-09-02 15:39:34,822 (natcap.invest.utils) utils._log_gdal_errors(78) WARNING _log_gdal_errors called with args: (2, 1, ‘Value 2200.76999999999998 of field area_ha of feature 0 not successfully written. Possibly due to too larger number with respect to field width’), kwargs: {}
2021-09-02 15:39:34,822 (osgeo) utils._log_gdal_errors(95) WARNING [errno 1] Value 2200.76999999999998 of field area_ha of feature 0 not successfully written. Possibly due to too larger number with respect to field width
2021-09-02 15:39:34,824 (natcap.invest.utils) utils._log_gdal_errors(78) WARNING _log_gdal_errors called with args: (2, 1, ‘Value 918.383000000000038 of field area_ha of feature 1 not successfully written. Possibly due to too larger number with respect to field width’), kwargs: {}
2021-09-02 15:39:34,825 (osgeo) utils._log_gdal_errors(95) WARNING [errno 1] Value 918.383000000000038 of field area_ha of feature 1 not successfully written. Possibly due to too larger number with respect to field width
2021-09-02 15:39:34,825 (natcap.invest.utils) utils._log_gdal_errors(78) WARNING _log_gdal_errors called with args: (2, 1, ‘Value 1149.70000000000005 of field area_ha of feature 2 not successfully written. Possibly due to too larger number with respect to field width’), kwargs: {}
2021-09-02 15:39:34,825 (osgeo) utils._log_gdal_errors(95) WARNING [errno 1] Value 1149.70000000000005 of field area_ha of feature 2 not successfully written. Possibly due to too larger number with respect to field width
2021-09-02 15:39:34,826 (natcap.invest.utils) utils._log_gdal_errors(78) WARNING _log_gdal_errors called with args: (2, 1, ‘Value 2413.98000000000002 of field area_ha of feature 3 not successfully written. Possibly due to too larger number with respect to field width’), kwargs: {}
2021-09-02 15:39:34,826 (osgeo) utils._log_gdal_errors(95) WARNING [errno 1] Value 2413.98000000000002 of field area_ha of feature 3 not successfully written. Possibly due to too larger number with respect to field width
2021-09-02 15:39:34,826 (natcap.invest.utils) utils._log_gdal_errors(78) WARNING _log_gdal_errors called with args: (2, 1, ‘Value 3958.80999999999995 of field area_ha of feature 4 not successfully written. Possibly due to too larger number with respect to field width’), kwargs: {}
2021-09-02 15:39:34,826 (osgeo) utils._log_gdal_errors(95) WARNING [errno 1] Value 3958.80999999999995 of field area_ha of feature 4 not successfully written. Possibly due to too larger number with respect to field width
2021-09-02 15:39:35,342 (natcap.invest.ui.model) model._logged_target(1656) INFO Execution finished
2021-09-02 15:39:35,346 (natcap.invest.utils) utils.prepare_workspace(146) INFO Elapsed time: 23.53s