This forum is shutting down! Please post new discussions at community.naturalcapitalproject.org

water yield model runtime error

Hi~
While running the water yield model, I got an error: stats worker thread join() time out. Can someone kindly help me with this problem. Thanks a lot.
The error occurred as below:
Initializing...

Showing messages with level INFO and higher

01/22/2019 15:58:35 natcap.invest.utils INFO Writing log messages to C:\Users\xh1\Documents\hydropower_water_yield_workspace\InVEST-Hydropower-Water-Yield-log-2019-01-22--15_58_35.txt

01/22/2019 15:58:35 natcap.invest.ui.model Level 100 Starting model with parameters:

Arguments for InVEST natcap.invest.hydropower.hydropower_water_yield 3.5.0:

biophysical_table_uri C:/LHY/WY/wateryield.csv

calculate_valuation False

calculate_water_scarcity False

depth_to_root_rest_layer_uri C:/LHY/WY/soildepth.tif

eto_uri C:/LHY/WY/pett1.tif

lulc_uri C:/LHY/LIAONING/LANDUSE/classify_liaoning_tif/classify_liaoning_2000_3/classify_liaoning_2000_3.tif

pawc_uri C:/LHY/WY/ppacw.tif

precipitation_uri C:/LHY/WY/PRE1.tif

results_suffix

seasonality_constant 7

sub_watersheds_uri

watersheds_uri C:/LHY/WY/liaoning.shp

workspace_dir C:\Users\xh1\Documents\hydropower_water_yield_workspace


01/22/2019 15:58:36 natcap.invest.hydropower.hydropower_water_yield INFO Validating arguments

01/22/2019 15:58:36 pygeoprocessing.geoprocessing INFO n_workers > 1 (2) so starting a processes pool.

01/22/2019 15:59:00 pygeoprocessing.geoprocessing INFO 1 of 5 aligned: eto.tif

01/22/2019 15:59:04 pygeoprocessing.geoprocessing INFO 2 of 5 aligned: precip.tif

01/22/2019 15:59:25 pygeoprocessing.geoprocessing INFO 3 of 5 aligned: depth_to_root_rest_layer.tif

01/22/2019 15:59:29 pygeoprocessing.geoprocessing INFO 4 of 5 aligned: pawc.tif

01/22/2019 15:59:42 pygeoprocessing.geoprocessing INFO 5 of 5 aligned: clipped_lulc.tif

01/22/2019 15:59:42 pygeoprocessing.geoprocessing INFO aligned all 5 rasters.

01/22/2019 15:59:42 natcap.invest.hydropower.hydropower_water_yield INFO Reclassifying temp_Kc raster

01/22/2019 15:59:42 pygeoprocessing.geoprocessing INFO starting stats_worker

01/22/2019 15:59:42 pygeoprocessing.geoprocessing INFO started stats_worker <Thread(Thread-30, started daemon 14028)>

01/22/2019 15:59:47 pygeoprocessing.geoprocessing INFO 20.5% complete

01/22/2019 15:59:52 pygeoprocessing.geoprocessing INFO 37.7% complete

01/22/2019 15:59:57 pygeoprocessing.geoprocessing INFO 54.0% complete

01/22/2019 16:00:02 pygeoprocessing.geoprocessing INFO 71.1% complete

01/22/2019 16:00:07 pygeoprocessing.geoprocessing INFO 89.5% complete

01/22/2019 16:00:10 pygeoprocessing.geoprocessing INFO 100.0%% complete

01/22/2019 16:00:10 pygeoprocessing.geoprocessing INFO signaling stats worker to terminate

01/22/2019 16:00:10 pygeoprocessing.geoprocessing INFO Waiting for raster stats worker result.

01/22/2019 16:00:11 natcap.invest.hydropower.hydropower_water_yield INFO Reclassifying tmp_root raster

01/22/2019 16:00:11 pygeoprocessing.geoprocessing INFO starting stats_worker

01/22/2019 16:00:11 pygeoprocessing.geoprocessing INFO started stats_worker <Thread(Thread-31, started daemon 7952)>

01/22/2019 16:00:16 pygeoprocessing.geoprocessing INFO 20.5% complete

01/22/2019 16:00:21 pygeoprocessing.geoprocessing INFO 37.8% complete

01/22/2019 16:00:26 pygeoprocessing.geoprocessing INFO 54.5% complete

01/22/2019 16:00:31 pygeoprocessing.geoprocessing INFO 71.8% complete

01/22/2019 16:00:36 pygeoprocessing.geoprocessing INFO 90.5% complete

01/22/2019 16:00:38 pygeoprocessing.geoprocessing INFO 100.0%% complete

01/22/2019 16:00:38 pygeoprocessing.geoprocessing INFO signaling stats worker to terminate

01/22/2019 16:00:38 pygeoprocessing.geoprocessing INFO Waiting for raster stats worker result.

01/22/2019 16:00:39 natcap.invest.hydropower.hydropower_water_yield INFO Reclassifying tmp_veg raster

01/22/2019 16:00:39 pygeoprocessing.geoprocessing INFO starting stats_worker

01/22/2019 16:00:39 pygeoprocessing.geoprocessing INFO started stats_worker <Thread(Thread-32, started daemon 15200)>

01/22/2019 16:00:44 pygeoprocessing.geoprocessing INFO 20.5% complete

01/22/2019 16:00:49 pygeoprocessing.geoprocessing INFO 38.2% complete

01/22/2019 16:00:54 pygeoprocessing.geoprocessing INFO 55.3% complete

01/22/2019 16:00:59 pygeoprocessing.geoprocessing INFO 73.2% complete

01/22/2019 16:01:04 pygeoprocessing.geoprocessing INFO 92.2% complete

01/22/2019 16:01:06 pygeoprocessing.geoprocessing INFO 100.0%% complete

01/22/2019 16:01:06 pygeoprocessing.geoprocessing INFO signaling stats worker to terminate

01/22/2019 16:01:06 pygeoprocessing.geoprocessing INFO Waiting for raster stats worker result.

01/22/2019 16:01:06 natcap.invest.hydropower.hydropower_water_yield INFO Calculate PET from Ref Evap times Kc

01/22/2019 16:01:06 pygeoprocessing.geoprocessing INFO starting stats_worker

01/22/2019 16:01:06 pygeoprocessing.geoprocessing INFO started stats_worker <Thread(Thread-33, started daemon 5652)>

01/22/2019 16:01:11 pygeoprocessing.geoprocessing INFO 19.1% complete

01/22/2019 16:01:16 pygeoprocessing.geoprocessing INFO 34.9% complete

01/22/2019 16:01:21 pygeoprocessing.geoprocessing INFO 49.0% complete

01/22/2019 16:01:26 pygeoprocessing.geoprocessing INFO 63.4% complete

01/22/2019 16:01:31 pygeoprocessing.geoprocessing INFO 80.0% complete

01/22/2019 16:01:36 pygeoprocessing.geoprocessing INFO 99.0% complete

01/22/2019 16:01:37 pygeoprocessing.geoprocessing INFO 100.0%% complete

01/22/2019 16:01:37 pygeoprocessing.geoprocessing INFO signaling stats worker to terminate

01/22/2019 16:01:37 pygeoprocessing.geoprocessing INFO Waiting for raster stats worker result.

01/22/2019 16:01:37 pygeoprocessing.geoprocessing INFO starting stats_worker

01/22/2019 16:01:37 pygeoprocessing.geoprocessing INFO started stats_worker <Thread(Thread-34, started daemon 6260)>

01/22/2019 16:01:42 pygeoprocessing.geoprocessing INFO 10.1% complete

01/22/2019 16:01:47 pygeoprocessing.geoprocessing INFO 17.2% complete

01/22/2019 16:01:52 pygeoprocessing.geoprocessing INFO 22.7% complete

01/22/2019 16:01:57 pygeoprocessing.geoprocessing INFO 27.8% complete

01/22/2019 16:02:02 pygeoprocessing.geoprocessing INFO 32.3% complete

01/22/2019 16:02:07 pygeoprocessing.geoprocessing INFO 36.4% complete

01/22/2019 16:02:12 pygeoprocessing.geoprocessing INFO 40.2% complete

01/22/2019 16:02:17 pygeoprocessing.geoprocessing INFO 43.8% complete

01/22/2019 16:02:22 pygeoprocessing.geoprocessing INFO 47.3% complete

01/22/2019 16:02:27 pygeoprocessing.geoprocessing INFO 51.0% complete

01/22/2019 16:02:32 pygeoprocessing.geoprocessing INFO 54.8% complete

01/22/2019 16:02:37 pygeoprocessing.geoprocessing INFO 58.7% complete

01/22/2019 16:02:42 pygeoprocessing.geoprocessing INFO 63.2% complete

01/22/2019 16:02:47 pygeoprocessing.geoprocessing INFO 68.1% complete

01/22/2019 16:02:52 pygeoprocessing.geoprocessing INFO 73.9% complete

01/22/2019 16:02:57 pygeoprocessing.geoprocessing INFO 81.3% complete

01/22/2019 16:03:02 pygeoprocessing.geoprocessing INFO 90.5% complete

01/22/2019 16:03:07 pygeoprocessing.geoprocessing INFO 100.0%% complete

01/22/2019 16:03:07 pygeoprocessing.geoprocessing INFO signaling stats worker to terminate

01/22/2019 16:03:07 pygeoprocessing.geoprocessing INFO Waiting for raster stats worker result.

01/22/2019 16:03:36 natcap.invest.hydropower.hydropower_water_yield INFO Performing wyield operation

01/22/2019 16:03:36 pygeoprocessing.geoprocessing INFO starting stats_worker

01/22/2019 16:03:36 pygeoprocessing.geoprocessing INFO started stats_worker <Thread(Thread-35, started daemon 4108)>

01/22/2019 16:03:41 pygeoprocessing.geoprocessing INFO 16.0% complete

01/22/2019 16:03:46 pygeoprocessing.geoprocessing INFO 27.1% complete

01/22/2019 16:03:51 pygeoprocessing.geoprocessing INFO 36.6% complete

01/22/2019 16:03:56 pygeoprocessing.geoprocessing INFO 44.8% complete

01/22/2019 16:04:01 pygeoprocessing.geoprocessing INFO 52.9% complete

01/22/2019 16:04:06 pygeoprocessing.geoprocessing INFO 61.6% complete

01/22/2019 16:04:11 pygeoprocessing.geoprocessing INFO 71.7% complete

01/22/2019 16:04:16 pygeoprocessing.geoprocessing INFO 85.3% complete

01/22/2019 16:04:20 pygeoprocessing.geoprocessing INFO 100.0%% complete

01/22/2019 16:04:20 pygeoprocessing.geoprocessing INFO signaling stats worker to terminate

01/22/2019 16:04:20 pygeoprocessing.geoprocessing INFO Waiting for raster stats worker result.

01/22/2019 16:05:21 pygeoprocessing.geoprocessing INFO Waiting for raster stats worker result.

01/22/2019 16:05:30 natcap.invest.ui.model ERROR Exception while executing <function execute at 0x161AB4F0>

Traceback (most recent call last):

File "C:\Users\natcap-servers\jenkins-home\workspace\natcap.invest\label\GCE-windows-1\env\lib\site-packages\natcap\invest\ui\model.py", line 1541, in _logged_target

File "C:\Users\natcap-servers\jenkins-home\workspace\natcap.invest\label\GCE-windows-1\env\lib\site-packages\natcap\invest\hydropower\hydropower_water_yield.py", line 350, in execute

File "C:\Users\natcap-servers\jenkins-home\workspace\natcap.invest\label\GCE-windows-1\env\lib\site-packages\pygeoprocessing\geoprocessing.py", line 459, in raster_calculator

RuntimeError: stats_worker_thread.join() timed out

01/22/2019 16:05:30 natcap.invest.ui.model INFO Execution finished

01/22/2019 16:05:30 natcap.invest.utils INFO Elapsed time: 6m 55.0s

01/22/2019 16:05:30 natcap.invest.ui.execution ERROR Target <function _logged_target at 0x161ABC30> failed with exception

Traceback (most recent call last):

File "C:\Users\natcap-servers\jenkins-home\workspace\natcap.invest\label\GCE-windows-1\env\lib\site-packages\natcap\invest\ui\execution.py", line 68, in run

File "C:\Users\natcap-servers\jenkins-home\workspace\natcap.invest\label\GCE-windows-1\env\lib\site-packages\natcap\invest\ui\model.py", line 1541, in _logged_target

File "C:\Users\natcap-servers\jenkins-home\workspace\natcap.invest\label\GCE-windows-1\env\lib\site-packages\natcap\invest\hydropower\hydropower_water_yield.py", line 350, in execute

File "C:\Users\natcap-servers\jenkins-home\workspace\natcap.invest\label\GCE-windows-1\env\lib\site-packages\pygeoprocessing\geoprocessing.py", line 459, in raster_calculator

RuntimeError: stats_worker_thread.join() timed out

01/22/2019 16:05:30 natcap.invest.ui.execution INFO Execution finished



Tagged:

Comments

Sign In or Register to comment.