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

seasonal water yield

Dear Nat Cappers,

Having a first go at the SWY model, I encountered a 'DeprecationWarning: elementwise != comparison failed' hitch as profiled in the attached. Any insight as to what might be amiss? My scavenging in this valuable forum for clues is turning up empty. Could it have something to do with the 'pygeoprocessing.geoprocessing_core WARNING  No valid pixels were received, sending None.' line at the top?

Thank you.

Best,
David

Comments

  • Update: I cleared the hurdle in the prior post (blank entry in my biophysical table). Now, I encountered a 'NotimplmementedError' as below. I saw another posting about this but can't seem to crack it. Appreciate any thoughts.

    Thanks!
    David



    Initializing...
    Showing messages with level INFO and higher
    04/01/2019 23:13:59  natcap.invest.utils INFO     Writing log messages to c:\temp\dosso\InVEST-Seasonal-Water-Yield-log-2019-04-01--23_13_59.txt
    04/01/2019 23:13:59  natcap.invest.ui.model Level 100 Starting model with parameters:
    Arguments for InVEST natcap.invest.seasonal_water_yield.seasonal_water_yield 3.6.0:
    alpha_m                     0.083333333

    aoi_path                    E:\Box Sync\Conservation Geography\work\landscapes\pcw\analyses\MCC\inVest\inputs\watershed\dosso_region_srtm_30m_watersheds_ss.shp
    beta_i                      1
    biophysical_table_path      E:/Box Sync/Conservation Geography/work/landscapes/pcw/analyses/MCC/inVest/inputs/biophysical_table/dosso_biophysical_table.csv
    dem_raster_path             E:/Box Sync/Conservation Geography/work/landscapes/pcw/analyses/MCC/inVest/inputs/topo/dem.tif
    et0_dir                     E:\Box Sync\Conservation Geography\work\landscapes\pcw\analyses\MCC\inVest\inputs\ETO
    gamma                       1
    lulc_raster_path            E:/Box Sync/Conservation Geography/work/landscapes/pcw/analyses/MCC/inVest/inputs/lulc/dosso_lulc_simple_ss.img
    monthly_alpha               False
    n_workers                   -1
    precip_dir                  E:\Box Sync\Conservation Geography\work\landscapes\pcw\analyses\MCC\inVest\inputs\seasonal_precip\in
    rain_events_table_path      E:/Box Sync/Conservation Geography/work/landscapes/pcw/analyses/MCC/inVest/inputs/rainfall event table/rainfall_events_dosso.csv
    results_suffix              dosso
    soil_group_path             E:/Box Sync/Conservation Geography/work/landscapes/pcw/analyses/MCC/inVest/inputs/hydro_soil_group/hydro_soil_group_rcls.tif
    threshold_flow_accumulation 4790
    user_defined_climate_zones  False
    user_defined_local_recharge False
    workspace_dir               c:\temp\dosso

    04/01/2019 23:13:59  natcap.invest.seasonal_water_yield.seasonal_water_yield INFO     prepare and test inputs for common errors
    04/01/2019 23:13:59  natcap.invest.seasonal_water_yield.seasonal_water_yield INFO     Building file registry
    04/01/2019 23:13:59  natcap.invest.seasonal_water_yield.seasonal_water_yield INFO     Checking that the AOI is not the output aggregate vector
    04/01/2019 23:13:59  natcap.invest.seasonal_water_yield.seasonal_water_yield INFO     Aligning and clipping dataset list
    04/01/2019 23:13:59  pygeoprocessing.geoprocessing INFO     n_workers > 1 (4) so starting a processes pool.
    04/01/2019 23:14:00  pygeoprocessing.geoprocessing INFO     1 of 27 aligned: prcp_a0_dosso.tif
    04/01/2019 23:14:01  pygeoprocessing.geoprocessing INFO     2 of 27 aligned: prcp_a1_dosso.tif
    04/01/2019 23:14:01  pygeoprocessing.geoprocessing INFO     3 of 27 aligned: prcp_a2_dosso.tif
    04/01/2019 23:14:02  pygeoprocessing.geoprocessing INFO     4 of 27 aligned: prcp_a3_dosso.tif
    04/01/2019 23:14:02  pygeoprocessing.geoprocessing INFO     5 of 27 aligned: prcp_a4_dosso.tif
    04/01/2019 23:14:02  pygeoprocessing.geoprocessing INFO     6 of 27 aligned: prcp_a5_dosso.tif
    04/01/2019 23:14:02  pygeoprocessing.geoprocessing INFO     7 of 27 aligned: prcp_a6_dosso.tif
    04/01/2019 23:14:02  pygeoprocessing.geoprocessing INFO     8 of 27 aligned: prcp_a7_dosso.tif
    04/01/2019 23:14:02  pygeoprocessing.geoprocessing INFO     9 of 27 aligned: prcp_a8_dosso.tif
    04/01/2019 23:14:02  pygeoprocessing.geoprocessing INFO     10 of 27 aligned: prcp_a9_dosso.tif
    04/01/2019 23:14:02  pygeoprocessing.geoprocessing INFO     11 of 27 aligned: prcp_a10_dosso.tif
    04/01/2019 23:14:02  pygeoprocessing.geoprocessing INFO     12 of 27 aligned: prcp_a11_dosso.tif
    04/01/2019 23:14:02  pygeoprocessing.geoprocessing INFO     13 of 27 aligned: soil_group_aligned_dosso.tif
    04/01/2019 23:14:02  pygeoprocessing.geoprocessing INFO     14 of 27 aligned: et0_a0_dosso.tif
    04/01/2019 23:14:02  pygeoprocessing.geoprocessing INFO     15 of 27 aligned: et0_a1_dosso.tif
    04/01/2019 23:14:02  pygeoprocessing.geoprocessing INFO     16 of 27 aligned: et0_a2_dosso.tif
    04/01/2019 23:14:02  pygeoprocessing.geoprocessing INFO     17 of 27 aligned: et0_a3_dosso.tif
    04/01/2019 23:14:02  pygeoprocessing.geoprocessing INFO     18 of 27 aligned: et0_a4_dosso.tif
    04/01/2019 23:14:02  pygeoprocessing.geoprocessing INFO     19 of 27 aligned: et0_a5_dosso.tif
    04/01/2019 23:14:03  pygeoprocessing.geoprocessing INFO     20 of 27 aligned: et0_a6_dosso.tif
    04/01/2019 23:14:03  pygeoprocessing.geoprocessing INFO     21 of 27 aligned: et0_a7_dosso.tif
    04/01/2019 23:14:03  pygeoprocessing.geoprocessing INFO     22 of 27 aligned: et0_a8_dosso.tif
    04/01/2019 23:14:03  pygeoprocessing.geoprocessing INFO     23 of 27 aligned: et0_a9_dosso.tif
    04/01/2019 23:14:03  pygeoprocessing.geoprocessing INFO     24 of 27 aligned: et0_a10_dosso.tif
    04/01/2019 23:14:03  pygeoprocessing.geoprocessing INFO     25 of 27 aligned: et0_a11_dosso.tif
    04/01/2019 23:14:03  pygeoprocessing.geoprocessing INFO     26 of 27 aligned: lulc_aligned_dosso.tif
    04/01/2019 23:14:03  pygeoprocessing.geoprocessing INFO     27 of 27 aligned: dem_aligned_dosso.tif
    04/01/2019 23:14:03  pygeoprocessing.geoprocessing INFO     aligned all 27 rasters.
    04/01/2019 23:14:03  natcap.invest.seasonal_water_yield.seasonal_water_yield INFO     flow direction
    04/01/2019 23:14:05  natcap.invest.pygeoprocessing_0_3_3.routing.routing_core INFO     labeling flats
    04/01/2019 23:14:05  natcap.invest.pygeoprocessing_0_3_3.routing.routing_core INFO     draining away from higher
    04/01/2019 23:14:05  natcap.invest.pygeoprocessing_0_3_3.routing.routing_core INFO     draining towards lower
    04/01/2019 23:14:06  natcap.invest.pygeoprocessing_0_3_3.routing.routing_core INFO     labeling flats
    04/01/2019 23:14:06  natcap.invest.pygeoprocessing_0_3_3.routing.routing_core INFO     draining away from higher
    04/01/2019 23:14:06  natcap.invest.pygeoprocessing_0_3_3.routing.routing_core INFO     draining towards lower
    04/01/2019 23:14:06  natcap.invest.pygeoprocessing_0_3_3.routing INFO     flats exist on second pass, must be flat areas that abut the raster edge
    04/01/2019 23:14:07  natcap.invest.seasonal_water_yield.seasonal_water_yield INFO     flow weights
    04/01/2019 23:14:07  natcap.invest.pygeoprocessing_0_3_3.routing.routing_core WARNING  no flow direction found for 0 3
    04/01/2019 23:14:07  natcap.invest.pygeoprocessing_0_3_3.routing.routing_core WARNING  no flow direction found for 0 3
    04/01/2019 23:14:07  natcap.invest.pygeoprocessing_0_3_3.routing.routing_core WARNING  no flow direction found for 0 3
    04/01/2019 23:14:07  natcap.invest.seasonal_water_yield.seasonal_water_yield INFO     flow accumulation
    04/01/2019 23:14:08  natcap.invest.pygeoprocessing_0_3_3.routing.routing_core WARNING  no flow direction found for 0 3
    04/01/2019 23:14:08  natcap.invest.pygeoprocessing_0_3_3.routing.routing_core WARNING  no flow direction found for 0 3
    04/01/2019 23:14:08  natcap.invest.pygeoprocessing_0_3_3.routing.routing_core WARNING  no flow direction found for 0 3
    04/01/2019 23:14:09  natcap.invest.seasonal_water_yield.seasonal_water_yield INFO     stream thresholding
    04/01/2019 23:14:09  natcap.invest.seasonal_water_yield.seasonal_water_yield INFO     quick flow
    04/01/2019 23:14:09  natcap.invest.seasonal_water_yield.seasonal_water_yield INFO     loading number of monthly events
    04/01/2019 23:14:10  natcap.invest.seasonal_water_yield.seasonal_water_yield INFO     calculate curve number
    04/01/2019 23:14:10  pygeoprocessing.geoprocessing INFO     starting stats_worker
    04/01/2019 23:14:10  pygeoprocessing.geoprocessing INFO     started stats_worker <Thread(Thread-191, started daemon 21668)>
    04/01/2019 23:14:10  pygeoprocessing.geoprocessing INFO     100.0%% complete
    04/01/2019 23:14:10  pygeoprocessing.geoprocessing INFO     signaling stats worker to terminate
    04/01/2019 23:14:10  pygeoprocessing.geoprocessing INFO     Waiting for raster stats worker result.
    04/01/2019 23:14:10  natcap.invest.seasonal_water_yield.seasonal_water_yield INFO     calculate Si raster
    04/01/2019 23:14:10  pygeoprocessing.geoprocessing INFO     starting stats_worker
    04/01/2019 23:14:10  pygeoprocessing.geoprocessing INFO     started stats_worker <Thread(Thread-192, started daemon 21132)>
    04/01/2019 23:14:10  pygeoprocessing.geoprocessing INFO     100.0%% complete
    04/01/2019 23:14:10  pygeoprocessing.geoprocessing INFO     signaling stats worker to terminate
    04/01/2019 23:14:10  pygeoprocessing.geoprocessing INFO     Waiting for raster stats worker result.
    04/01/2019 23:14:11  natcap.invest.seasonal_water_yield.seasonal_water_yield INFO     calculate quick flow for month 1
    04/01/2019 23:14:11  pygeoprocessing.geoprocessing INFO     starting stats_worker
    04/01/2019 23:14:11  pygeoprocessing.geoprocessing INFO     started stats_worker <Thread(Thread-193, started daemon 16064)>
    04/01/2019 23:14:11  pygeoprocessing.geoprocessing INFO     100.0%% complete
    04/01/2019 23:14:11  pygeoprocessing.geoprocessing INFO     signaling stats worker to terminate
    04/01/2019 23:14:11  pygeoprocessing.geoprocessing INFO     Waiting for raster stats worker result.
    04/01/2019 23:14:11  pygeoprocessing.geoprocessing INFO     starting stats_worker
    04/01/2019 23:14:11  pygeoprocessing.geoprocessing INFO     started stats_worker <Thread(Thread-194, started daemon 22684)>
    04/01/2019 23:14:11  pygeoprocessing.geoprocessing INFO     100.0%% complete
    04/01/2019 23:14:11  pygeoprocessing.geoprocessing INFO     signaling stats worker to terminate
    04/01/2019 23:14:11  pygeoprocessing.geoprocessing INFO     Waiting for raster stats worker result.
    04/01/2019 23:14:11  natcap.invest.seasonal_water_yield.seasonal_water_yield INFO     calculate quick flow for month 2
    04/01/2019 23:14:11  pygeoprocessing.geoprocessing INFO     starting stats_worker
    04/01/2019 23:14:11  pygeoprocessing.geoprocessing INFO     started stats_worker <Thread(Thread-195, started daemon 24572)>
    04/01/2019 23:14:11  pygeoprocessing.geoprocessing INFO     100.0%% complete
    04/01/2019 23:14:11  pygeoprocessing.geoprocessing INFO     signaling stats worker to terminate
    04/01/2019 23:14:11  pygeoprocessing.geoprocessing INFO     Waiting for raster stats worker result.
    04/01/2019 23:14:11  pygeoprocessing.geoprocessing INFO     starting stats_worker
    04/01/2019 23:14:11  pygeoprocessing.geoprocessing INFO     started stats_worker <Thread(Thread-196, started daemon 11892)>
    04/01/2019 23:14:11  pygeoprocessing.geoprocessing INFO     100.0%% complete
    04/01/2019 23:14:11  pygeoprocessing.geoprocessing INFO     signaling stats worker to terminate
    04/01/2019 23:14:11  pygeoprocessing.geoprocessing INFO     Waiting for raster stats worker result.
    04/01/2019 23:14:11  natcap.invest.seasonal_water_yield.seasonal_water_yield INFO     calculate quick flow for month 3
    04/01/2019 23:14:11  pygeoprocessing.geoprocessing INFO     starting stats_worker
    04/01/2019 23:14:11  pygeoprocessing.geoprocessing INFO     started stats_worker <Thread(Thread-197, started daemon 12428)>
    04/01/2019 23:14:12  pygeoprocessing.geoprocessing INFO     100.0%% complete
    04/01/2019 23:14:12  pygeoprocessing.geoprocessing INFO     signaling stats worker to terminate
    04/01/2019 23:14:12  pygeoprocessing.geoprocessing INFO     Waiting for raster stats worker result.
    04/01/2019 23:14:12  pygeoprocessing.geoprocessing INFO     starting stats_worker
    04/01/2019 23:14:12  pygeoprocessing.geoprocessing INFO     started stats_worker <Thread(Thread-198, started daemon 22704)>
    04/01/2019 23:14:12  pygeoprocessing.geoprocessing INFO     100.0%% complete
    04/01/2019 23:14:12  pygeoprocessing.geoprocessing INFO     signaling stats worker to terminate
    04/01/2019 23:14:12  pygeoprocessing.geoprocessing INFO     Waiting for raster stats worker result.
    04/01/2019 23:14:12  natcap.invest.seasonal_water_yield.seasonal_water_yield INFO     calculate quick flow for month 4
    04/01/2019 23:14:12  pygeoprocessing.geoprocessing INFO     starting stats_worker
    04/01/2019 23:14:12  pygeoprocessing.geoprocessing INFO     started stats_worker <Thread(Thread-199, started daemon 10704)>
    04/01/2019 23:14:12  pygeoprocessing.geoprocessing INFO     100.0%% complete
    04/01/2019 23:14:12  pygeoprocessing.geoprocessing INFO     signaling stats worker to terminate
    04/01/2019 23:14:12  pygeoprocessing.geoprocessing INFO     Waiting for raster stats worker result.
    04/01/2019 23:14:12  pygeoprocessing.geoprocessing INFO     starting stats_worker
    04/01/2019 23:14:12  pygeoprocessing.geoprocessing INFO     started stats_worker <Thread(Thread-200, started daemon 21716)>
    04/01/2019 23:14:13  pygeoprocessing.geoprocessing INFO     100.0%% complete
    04/01/2019 23:14:13  pygeoprocessing.geoprocessing INFO     signaling stats worker to terminate
    04/01/2019 23:14:13  pygeoprocessing.geoprocessing INFO     Waiting for raster stats worker result.
    04/01/2019 23:14:13  natcap.invest.seasonal_water_yield.seasonal_water_yield INFO     calculate quick flow for month 5
    04/01/2019 23:14:13  pygeoprocessing.geoprocessing INFO     starting stats_worker
    04/01/2019 23:14:13  pygeoprocessing.geoprocessing INFO     started stats_worker <Thread(Thread-201, started daemon 12692)>
    04/01/2019 23:14:13  pygeoprocessing.geoprocessing INFO     100.0%% complete
    04/01/2019 23:14:13  pygeoprocessing.geoprocessing INFO     signaling stats worker to terminate
    04/01/2019 23:14:13  pygeoprocessing.geoprocessing INFO     Waiting for raster stats worker result.
    04/01/2019 23:14:13  pygeoprocessing.geoprocessing INFO     starting stats_worker
    04/01/2019 23:14:13  pygeoprocessing.geoprocessing INFO     started stats_worker <Thread(Thread-202, started daemon 2700)>
    04/01/2019 23:14:13  pygeoprocessing.geoprocessing INFO     100.0%% complete
    04/01/2019 23:14:13  pygeoprocessing.geoprocessing INFO     signaling stats worker to terminate
    04/01/2019 23:14:13  pygeoprocessing.geoprocessing INFO     Waiting for raster stats worker result.
    04/01/2019 23:14:14  natcap.invest.seasonal_water_yield.seasonal_water_yield INFO     calculate quick flow for month 6
    04/01/2019 23:14:14  pygeoprocessing.geoprocessing INFO     starting stats_worker
    04/01/2019 23:14:14  pygeoprocessing.geoprocessing INFO     started stats_worker <Thread(Thread-203, started daemon 23400)>
    04/01/2019 23:14:14  pygeoprocessing.geoprocessing INFO     100.0%% complete
    04/01/2019 23:14:14  pygeoprocessing.geoprocessing INFO     signaling stats worker to terminate
    04/01/2019 23:14:14  pygeoprocessing.geoprocessing INFO     Waiting for raster stats worker result.
    04/01/2019 23:14:14  pygeoprocessing.geoprocessing INFO     starting stats_worker
    04/01/2019 23:14:14  pygeoprocessing.geoprocessing INFO     started stats_worker <Thread(Thread-204, started daemon 3632)>
    04/01/2019 23:14:14  pygeoprocessing.geoprocessing INFO     100.0%% complete
    04/01/2019 23:14:14  pygeoprocessing.geoprocessing INFO     signaling stats worker to terminate
    04/01/2019 23:14:14  pygeoprocessing.geoprocessing INFO     Waiting for raster stats worker result.
    04/01/2019 23:14:14  natcap.invest.seasonal_water_yield.seasonal_water_yield INFO     calculate quick flow for month 7
    04/01/2019 23:14:14  pygeoprocessing.geoprocessing INFO     starting stats_worker
    04/01/2019 23:14:14  pygeoprocessing.geoprocessing INFO     started stats_worker <Thread(Thread-205, started daemon 11180)>
    04/01/2019 23:14:14  pygeoprocessing.geoprocessing INFO     100.0%% complete
    04/01/2019 23:14:14  pygeoprocessing.geoprocessing INFO     signaling stats worker to terminate
    04/01/2019 23:14:14  pygeoprocessing.geoprocessing INFO     Waiting for raster stats worker result.
    04/01/2019 23:14:14  pygeoprocessing.geoprocessing INFO     starting stats_worker
    04/01/2019 23:14:14  pygeoprocessing.geoprocessing INFO     started stats_worker <Thread(Thread-206, started daemon 15132)>
    04/01/2019 23:14:15  pygeoprocessing.geoprocessing INFO     100.0%% complete
    04/01/2019 23:14:15  pygeoprocessing.geoprocessing INFO     signaling stats worker to terminate
    04/01/2019 23:14:15  pygeoprocessing.geoprocessing INFO     Waiting for raster stats worker result.
    04/01/2019 23:14:15  natcap.invest.seasonal_water_yield.seasonal_water_yield INFO     calculate quick flow for month 8
    04/01/2019 23:14:15  pygeoprocessing.geoprocessing INFO     starting stats_worker
    04/01/2019 23:14:15  pygeoprocessing.geoprocessing INFO     started stats_worker <Thread(Thread-207, started daemon 15060)>
    04/01/2019 23:14:15  pygeoprocessing.geoprocessing INFO     100.0%% complete
    04/01/2019 23:14:15  pygeoprocessing.geoprocessing INFO     signaling stats worker to terminate
    04/01/2019 23:14:15  pygeoprocessing.geoprocessing INFO     Waiting for raster stats worker result.
    04/01/2019 23:14:15  pygeoprocessing.geoprocessing INFO     starting stats_worker
    04/01/2019 23:14:15  pygeoprocessing.geoprocessing INFO     started stats_worker <Thread(Thread-208, started daemon 236)>
    04/01/2019 23:14:15  pygeoprocessing.geoprocessing INFO     100.0%% complete
    04/01/2019 23:14:15  pygeoprocessing.geoprocessing INFO     signaling stats worker to terminate
    04/01/2019 23:14:15  pygeoprocessing.geoprocessing INFO     Waiting for raster stats worker result.
    04/01/2019 23:14:16  natcap.invest.seasonal_water_yield.seasonal_water_yield INFO     calculate quick flow for month 9
    04/01/2019 23:14:16  pygeoprocessing.geoprocessing INFO     starting stats_worker
    04/01/2019 23:14:16  pygeoprocessing.geoprocessing INFO     started stats_worker <Thread(Thread-209, started daemon 24160)>
    04/01/2019 23:14:16  pygeoprocessing.geoprocessing INFO     100.0%% complete
    04/01/2019 23:14:16  pygeoprocessing.geoprocessing INFO     signaling stats worker to terminate
    04/01/2019 23:14:16  pygeoprocessing.geoprocessing INFO     Waiting for raster stats worker result.
    04/01/2019 23:14:16  pygeoprocessing.geoprocessing INFO     starting stats_worker
    04/01/2019 23:14:16  pygeoprocessing.geoprocessing INFO     started stats_worker <Thread(Thread-210, started daemon 10352)>
    04/01/2019 23:14:16  pygeoprocessing.geoprocessing INFO     100.0%% complete
    04/01/2019 23:14:16  pygeoprocessing.geoprocessing INFO     signaling stats worker to terminate
    04/01/2019 23:14:16  pygeoprocessing.geoprocessing INFO     Waiting for raster stats worker result.
    04/01/2019 23:14:16  natcap.invest.seasonal_water_yield.seasonal_water_yield INFO     calculate quick flow for month 10
    04/01/2019 23:14:16  pygeoprocessing.geoprocessing INFO     starting stats_worker
    04/01/2019 23:14:16  pygeoprocessing.geoprocessing INFO     started stats_worker <Thread(Thread-211, started daemon 13800)>
    04/01/2019 23:14:16  pygeoprocessing.geoprocessing INFO     100.0%% complete
    04/01/2019 23:14:16  pygeoprocessing.geoprocessing INFO     signaling stats worker to terminate
    04/01/2019 23:14:16  pygeoprocessing.geoprocessing INFO     Waiting for raster stats worker result.
    04/01/2019 23:14:16  pygeoprocessing.geoprocessing INFO     starting stats_worker
    04/01/2019 23:14:16  pygeoprocessing.geoprocessing INFO     started stats_worker <Thread(Thread-212, started daemon 1928)>
    04/01/2019 23:14:17  pygeoprocessing.geoprocessing INFO     100.0%% complete
    04/01/2019 23:14:17  pygeoprocessing.geoprocessing INFO     signaling stats worker to terminate
    04/01/2019 23:14:17  pygeoprocessing.geoprocessing INFO     Waiting for raster stats worker result.
    04/01/2019 23:14:17  natcap.invest.seasonal_water_yield.seasonal_water_yield INFO     calculate quick flow for month 11
    04/01/2019 23:14:17  pygeoprocessing.geoprocessing INFO     starting stats_worker
    04/01/2019 23:14:17  pygeoprocessing.geoprocessing INFO     started stats_worker <Thread(Thread-213, started daemon 2732)>
    04/01/2019 23:14:17  pygeoprocessing.geoprocessing INFO     100.0%% complete
    04/01/2019 23:14:17  pygeoprocessing.geoprocessing INFO     signaling stats worker to terminate
    04/01/2019 23:14:17  pygeoprocessing.geoprocessing INFO     Waiting for raster stats worker result.
    04/01/2019 23:14:17  pygeoprocessing.geoprocessing INFO     starting stats_worker
    04/01/2019 23:14:17  pygeoprocessing.geoprocessing INFO     started stats_worker <Thread(Thread-214, started daemon 14272)>
    04/01/2019 23:14:17  pygeoprocessing.geoprocessing INFO     100.0%% complete
    04/01/2019 23:14:17  pygeoprocessing.geoprocessing INFO     signaling stats worker to terminate
    04/01/2019 23:14:17  pygeoprocessing.geoprocessing INFO     Waiting for raster stats worker result.
    04/01/2019 23:14:17  natcap.invest.seasonal_water_yield.seasonal_water_yield INFO     calculate quick flow for month 12
    04/01/2019 23:14:17  pygeoprocessing.geoprocessing INFO     starting stats_worker
    04/01/2019 23:14:17  pygeoprocessing.geoprocessing INFO     started stats_worker <Thread(Thread-215, started daemon 23784)>
    04/01/2019 23:14:17  pygeoprocessing.geoprocessing INFO     100.0%% complete
    04/01/2019 23:14:17  pygeoprocessing.geoprocessing INFO     signaling stats worker to terminate
    04/01/2019 23:14:17  pygeoprocessing.geoprocessing INFO     Waiting for raster stats worker result.
    04/01/2019 23:14:18  pygeoprocessing.geoprocessing INFO     starting stats_worker
    04/01/2019 23:14:18  pygeoprocessing.geoprocessing INFO     started stats_worker <Thread(Thread-216, started daemon 11196)>
    04/01/2019 23:14:18  pygeoprocessing.geoprocessing INFO     100.0%% complete
    04/01/2019 23:14:18  pygeoprocessing.geoprocessing INFO     signaling stats worker to terminate
    04/01/2019 23:14:18  pygeoprocessing.geoprocessing INFO     Waiting for raster stats worker result.
    04/01/2019 23:14:18  natcap.invest.seasonal_water_yield.seasonal_water_yield INFO     calculate QFi
    04/01/2019 23:14:18  pygeoprocessing.geoprocessing INFO     starting stats_worker
    04/01/2019 23:14:18  pygeoprocessing.geoprocessing INFO     started stats_worker <Thread(Thread-217, started daemon 23396)>
    04/01/2019 23:14:18  pygeoprocessing.geoprocessing INFO     100.0%% complete
    04/01/2019 23:14:18  pygeoprocessing.geoprocessing INFO     signaling stats worker to terminate
    04/01/2019 23:14:18  pygeoprocessing.geoprocessing INFO     Waiting for raster stats worker result.
    04/01/2019 23:14:18  natcap.invest.seasonal_water_yield.seasonal_water_yield INFO     calculate local recharge
    04/01/2019 23:14:18  natcap.invest.seasonal_water_yield.seasonal_water_yield INFO     classify kc
    04/01/2019 23:14:18  pygeoprocessing.geoprocessing INFO     starting stats_worker
    04/01/2019 23:14:18  pygeoprocessing.geoprocessing INFO     started stats_worker <Thread(Thread-218, started daemon 24172)>
    04/01/2019 23:14:18  pygeoprocessing.geoprocessing INFO     100.0%% complete
    04/01/2019 23:14:18  pygeoprocessing.geoprocessing INFO     signaling stats worker to terminate
    04/01/2019 23:14:18  pygeoprocessing.geoprocessing INFO     Waiting for raster stats worker result.
    04/01/2019 23:14:19  pygeoprocessing.geoprocessing INFO     starting stats_worker
    04/01/2019 23:14:19  pygeoprocessing.geoprocessing INFO     started stats_worker <Thread(Thread-219, started daemon 23332)>
    04/01/2019 23:14:19  pygeoprocessing.geoprocessing INFO     100.0%% complete
    04/01/2019 23:14:19  pygeoprocessing.geoprocessing INFO     signaling stats worker to terminate
    04/01/2019 23:14:19  pygeoprocessing.geoprocessing INFO     Waiting for raster stats worker result.
    04/01/2019 23:14:19  pygeoprocessing.geoprocessing INFO     starting stats_worker
    04/01/2019 23:14:19  pygeoprocessing.geoprocessing INFO     started stats_worker <Thread(Thread-220, started daemon 22076)>
    04/01/2019 23:14:19  pygeoprocessing.geoprocessing INFO     100.0%% complete
    04/01/2019 23:14:19  pygeoprocessing.geoprocessing INFO     signaling stats worker to terminate
    04/01/2019 23:14:19  pygeoprocessing.geoprocessing INFO     Waiting for raster stats worker result.
    04/01/2019 23:14:19  pygeoprocessing.geoprocessing INFO     starting stats_worker
    04/01/2019 23:14:19  pygeoprocessing.geoprocessing INFO     started stats_worker <Thread(Thread-221, started daemon 14672)>
    04/01/2019 23:14:19  pygeoprocessing.geoprocessing INFO     100.0%% complete
    04/01/2019 23:14:19  pygeoprocessing.geoprocessing INFO     signaling stats worker to terminate
    04/01/2019 23:14:19  pygeoprocessing.geoprocessing INFO     Waiting for raster stats worker result.
    04/01/2019 23:14:19  pygeoprocessing.geoprocessing INFO     starting stats_worker
    04/01/2019 23:14:19  pygeoprocessing.geoprocessing INFO     started stats_worker <Thread(Thread-222, started daemon 11608)>
    04/01/2019 23:14:19  pygeoprocessing.geoprocessing INFO     100.0%% complete
    04/01/2019 23:14:19  pygeoprocessing.geoprocessing INFO     signaling stats worker to terminate
    04/01/2019 23:14:19  pygeoprocessing.geoprocessing INFO     Waiting for raster stats worker result.
    04/01/2019 23:14:20  pygeoprocessing.geoprocessing INFO     starting stats_worker
    04/01/2019 23:14:20  pygeoprocessing.geoprocessing INFO     started stats_worker <Thread(Thread-223, started daemon 23432)>
    04/01/2019 23:14:20  pygeoprocessing.geoprocessing INFO     100.0%% complete
    04/01/2019 23:14:20  pygeoprocessing.geoprocessing INFO     signaling stats worker to terminate
    04/01/2019 23:14:20  pygeoprocessing.geoprocessing INFO     Waiting for raster stats worker result.
    04/01/2019 23:14:20  pygeoprocessing.geoprocessing INFO     starting stats_worker
    04/01/2019 23:14:20  pygeoprocessing.geoprocessing INFO     started stats_worker <Thread(Thread-224, started daemon 21956)>
    04/01/2019 23:14:20  pygeoprocessing.geoprocessing INFO     100.0%% complete
    04/01/2019 23:14:20  pygeoprocessing.geoprocessing INFO     signaling stats worker to terminate
    04/01/2019 23:14:20  pygeoprocessing.geoprocessing INFO     Waiting for raster stats worker result.
    04/01/2019 23:14:20  pygeoprocessing.geoprocessing INFO     starting stats_worker
    04/01/2019 23:14:20  pygeoprocessing.geoprocessing INFO     started stats_worker <Thread(Thread-225, started daemon 16684)>
    04/01/2019 23:14:20  pygeoprocessing.geoprocessing INFO     100.0%% complete
    04/01/2019 23:14:20  pygeoprocessing.geoprocessing INFO     signaling stats worker to terminate
    04/01/2019 23:14:20  pygeoprocessing.geoprocessing INFO     Waiting for raster stats worker result.
    04/01/2019 23:14:20  pygeoprocessing.geoprocessing INFO     starting stats_worker
    04/01/2019 23:14:20  pygeoprocessing.geoprocessing INFO     started stats_worker <Thread(Thread-226, started daemon 11812)>
    04/01/2019 23:14:20  pygeoprocessing.geoprocessing INFO     100.0%% complete
    04/01/2019 23:14:20  pygeoprocessing.geoprocessing INFO     signaling stats worker to terminate
    04/01/2019 23:14:20  pygeoprocessing.geoprocessing INFO     Waiting for raster stats worker result.
    04/01/2019 23:14:20  pygeoprocessing.geoprocessing INFO     starting stats_worker
    04/01/2019 23:14:20  pygeoprocessing.geoprocessing INFO     started stats_worker <Thread(Thread-227, started daemon 13128)>
    04/01/2019 23:14:21  pygeoprocessing.geoprocessing INFO     100.0%% complete
    04/01/2019 23:14:21  pygeoprocessing.geoprocessing INFO     signaling stats worker to terminate
    04/01/2019 23:14:21  pygeoprocessing.geoprocessing INFO     Waiting for raster stats worker result.
    04/01/2019 23:14:21  pygeoprocessing.geoprocessing INFO     starting stats_worker
    04/01/2019 23:14:21  pygeoprocessing.geoprocessing INFO     started stats_worker <Thread(Thread-228, started daemon 20932)>
    04/01/2019 23:14:21  pygeoprocessing.geoprocessing INFO     100.0%% complete
    04/01/2019 23:14:21  pygeoprocessing.geoprocessing INFO     signaling stats worker to terminate
    04/01/2019 23:14:21  pygeoprocessing.geoprocessing INFO     Waiting for raster stats worker result.
    04/01/2019 23:14:21  pygeoprocessing.geoprocessing INFO     starting stats_worker
    04/01/2019 23:14:21  pygeoprocessing.geoprocessing INFO     started stats_worker <Thread(Thread-229, started daemon 16976)>
    04/01/2019 23:14:21  pygeoprocessing.geoprocessing INFO     100.0%% complete
    04/01/2019 23:14:21  pygeoprocessing.geoprocessing INFO     signaling stats worker to terminate
    04/01/2019 23:14:21  pygeoprocessing.geoprocessing INFO     Waiting for raster stats worker result.
    04/01/2019 23:14:27  natcap.invest.pygeoprocessing_0_3_3.routing.routing_core INFO     route_local_recharge work queue size = 17325
    04/01/2019 23:14:30  pygeoprocessing.geoprocessing INFO     starting stats_worker
    04/01/2019 23:14:30  pygeoprocessing.geoprocessing INFO     started stats_worker <Thread(Thread-230, started daemon 19288)>
    04/01/2019 23:14:30  pygeoprocessing.geoprocessing INFO     100.0%% complete
    04/01/2019 23:14:30  pygeoprocessing.geoprocessing INFO     signaling stats worker to terminate
    04/01/2019 23:14:30  pygeoprocessing.geoprocessing INFO     Waiting for raster stats worker result.
    04/01/2019 23:14:31  natcap.invest.seasonal_water_yield.seasonal_water_yield WARNING  c:\temp\dosso\aggregated_results_dosso.shp exists, deleting and writing new output
    04/01/2019 23:14:31  pygeoprocessing.geoprocessing INFO     1 of 1 aligned: clipped_rasterivv5id.tif
    04/01/2019 23:14:31  pygeoprocessing.geoprocessing INFO     aligned all 1 rasters.
    04/01/2019 23:14:31  pygeoprocessing.geoprocessing INFO     build a lookup of aggregate field value to FID
    04/01/2019 23:14:31  pygeoprocessing.geoprocessing INFO     creating disjoint polygon set
    04/01/2019 23:14:31  pygeoprocessing.geoprocessing INFO     build shapely polygon list
    04/01/2019 23:14:31  pygeoprocessing.geoprocessing INFO     build shapely rtree index
    04/01/2019 23:14:31  pygeoprocessing.geoprocessing INFO     poly feature lookup 100.0% complete on aggregated_results_dosso.shp
    04/01/2019 23:14:31  pygeoprocessing.geoprocessing INFO     build poly intersection lookup
    04/01/2019 23:14:31  pygeoprocessing.geoprocessing INFO     poly intersection feature lookup 100.0% complete on aggregated_results_dosso.shp
    04/01/2019 23:14:31  pygeoprocessing.geoprocessing INFO     maximal subset build 100.0% complete on aggregated_results_dosso.shp
    04/01/2019 23:14:31  pygeoprocessing.geoprocessing INFO     processing 7 disjoint polygon sets
    04/01/2019 23:14:31  pygeoprocessing.geoprocessing INFO     disjoint polygon set 1 of 7 100.0% processed on aggregated_results_dosso.shp
    04/01/2019 23:14:31  pygeoprocessing.geoprocessing INFO     rasterizing disjoint polygon set 1 of 7 aggregated_results_dosso.shp
    04/01/2019 23:14:31  pygeoprocessing.geoprocessing INFO     summarizing rasterized disjoint polygon set 1 of 7 aggregated_results_dosso.shp
    04/01/2019 23:14:31  pygeoprocessing.geoprocessing INFO     disjoint polygon set 2 of 7 100.0% processed on aggregated_results_dosso.shp
    04/01/2019 23:14:31  pygeoprocessing.geoprocessing INFO     rasterizing disjoint polygon set 2 of 7 aggregated_results_dosso.shp
    04/01/2019 23:14:31  pygeoprocessing.geoprocessing INFO     summarizing rasterized disjoint polygon set 2 of 7 aggregated_results_dosso.shp
    04/01/2019 23:14:32  pygeoprocessing.geoprocessing INFO     disjoint polygon set 3 of 7 100.0% processed on aggregated_results_dosso.shp
    04/01/2019 23:14:32  pygeoprocessing.geoprocessing INFO     rasterizing disjoint polygon set 3 of 7 aggregated_results_dosso.shp
    04/01/2019 23:14:32  pygeoprocessing.geoprocessing INFO     summarizing rasterized disjoint polygon set 3 of 7 aggregated_results_dosso.shp
    04/01/2019 23:14:32  pygeoprocessing.geoprocessing INFO     disjoint polygon set 4 of 7 100.0% processed on aggregated_results_dosso.shp
    04/01/2019 23:14:32  pygeoprocessing.geoprocessing INFO     rasterizing disjoint polygon set 4 of 7 aggregated_results_dosso.shp
    04/01/2019 23:14:32  pygeoprocessing.geoprocessing INFO     summarizing rasterized disjoint polygon set 4 of 7 aggregated_results_dosso.shp
    04/01/2019 23:14:32  pygeoprocessing.geoprocessing INFO     disjoint polygon set 5 of 7 100.0% processed on aggregated_results_dosso.shp
    04/01/2019 23:14:32  pygeoprocessing.geoprocessing INFO     rasterizing disjoint polygon set 5 of 7 aggregated_results_dosso.shp
    04/01/2019 23:14:32  pygeoprocessing.geoprocessing INFO     summarizing rasterized disjoint polygon set 5 of 7 aggregated_results_dosso.shp
    04/01/2019 23:14:32  pygeoprocessing.geoprocessing INFO     disjoint polygon set 6 of 7 100.0% processed on aggregated_results_dosso.shp
    04/01/2019 23:14:32  pygeoprocessing.geoprocessing INFO     rasterizing disjoint polygon set 6 of 7 aggregated_results_dosso.shp
    04/01/2019 23:14:32  pygeoprocessing.geoprocessing INFO     summarizing rasterized disjoint polygon set 6 of 7 aggregated_results_dosso.shp
    04/01/2019 23:14:32  pygeoprocessing.geoprocessing INFO     disjoint polygon set 7 of 7 100.0% processed on aggregated_results_dosso.shp
    04/01/2019 23:14:32  pygeoprocessing.geoprocessing INFO     rasterizing disjoint polygon set 7 of 7 aggregated_results_dosso.shp
    04/01/2019 23:14:32  pygeoprocessing.geoprocessing INFO     summarizing rasterized disjoint polygon set 7 of 7 aggregated_results_dosso.shp
    04/01/2019 23:14:32  pygeoprocessing.geoprocessing INFO     all done processing polygon sets for aggregated_results_dosso.shp
    04/01/2019 23:14:32  natcap.invest.seasonal_water_yield.seasonal_water_yield WARNING  no coverage for polygon 457, 289, 119, None
    04/01/2019 23:14:33  pygeoprocessing.geoprocessing INFO     1 of 1 aligned: clipped_raster0pf3aa.tif
    04/01/2019 23:14:33  pygeoprocessing.geoprocessing INFO     aligned all 1 rasters.
    04/01/2019 23:14:33  pygeoprocessing.geoprocessing INFO     build a lookup of aggregate field value to FID
    04/01/2019 23:14:33  pygeoprocessing.geoprocessing INFO     creating disjoint polygon set
    04/01/2019 23:14:33  pygeoprocessing.geoprocessing INFO     build shapely polygon list
    04/01/2019 23:14:33  pygeoprocessing.geoprocessing INFO     build shapely rtree index
    04/01/2019 23:14:33  pygeoprocessing.geoprocessing INFO     poly feature lookup 100.0% complete on aggregated_results_dosso.shp
    04/01/2019 23:14:33  pygeoprocessing.geoprocessing INFO     build poly intersection lookup
    04/01/2019 23:14:33  pygeoprocessing.geoprocessing INFO     poly intersection feature lookup 100.0% complete on aggregated_results_dosso.shp
    04/01/2019 23:14:33  pygeoprocessing.geoprocessing INFO     maximal subset build 100.0% complete on aggregated_results_dosso.shp
    04/01/2019 23:14:33  pygeoprocessing.geoprocessing INFO     processing 7 disjoint polygon sets
    04/01/2019 23:14:33  pygeoprocessing.geoprocessing INFO     disjoint polygon set 1 of 7 100.0% processed on aggregated_results_dosso.shp
    04/01/2019 23:14:33  pygeoprocessing.geoprocessing INFO     rasterizing disjoint polygon set 1 of 7 aggregated_results_dosso.shp
    04/01/2019 23:14:33  pygeoprocessing.geoprocessing INFO     summarizing rasterized disjoint polygon set 1 of 7 aggregated_results_dosso.shp
    04/01/2019 23:14:33  pygeoprocessing.geoprocessing INFO     disjoint polygon set 2 of 7 100.0% processed on aggregated_results_dosso.shp
    04/01/2019 23:14:33  pygeoprocessing.geoprocessing INFO     rasterizing disjoint polygon set 2 of 7 aggregated_results_dosso.shp
    04/01/2019 23:14:33  pygeoprocessing.geoprocessing INFO     summarizing rasterized disjoint polygon set 2 of 7 aggregated_results_dosso.shp
    04/01/2019 23:14:33  pygeoprocessing.geoprocessing INFO     disjoint polygon set 3 of 7 100.0% processed on aggregated_results_dosso.shp
    04/01/2019 23:14:33  pygeoprocessing.geoprocessing INFO     rasterizing disjoint polygon set 3 of 7 aggregated_results_dosso.shp
    04/01/2019 23:14:33  pygeoprocessing.geoprocessing INFO     summarizing rasterized disjoint polygon set 3 of 7 aggregated_results_dosso.shp
    04/01/2019 23:14:33  pygeoprocessing.geoprocessing INFO     disjoint polygon set 4 of 7 100.0% processed on aggregated_results_dosso.shp
    04/01/2019 23:14:33  pygeoprocessing.geoprocessing INFO     rasterizing disjoint polygon set 4 of 7 aggregated_results_dosso.shp
    04/01/2019 23:14:33  pygeoprocessing.geoprocessing INFO     summarizing rasterized disjoint polygon set 4 of 7 aggregated_results_dosso.shp
    04/01/2019 23:14:33  pygeoprocessing.geoprocessing INFO     disjoint polygon set 5 of 7 100.0% processed on aggregated_results_dosso.shp
    04/01/2019 23:14:33  pygeoprocessing.geoprocessing INFO     rasterizing disjoint polygon set 5 of 7 aggregated_results_dosso.shp
    04/01/2019 23:14:34  pygeoprocessing.geoprocessing INFO     summarizing rasterized disjoint polygon set 5 of 7 aggregated_results_dosso.shp
    04/01/2019 23:14:34  pygeoprocessing.geoprocessing INFO     disjoint polygon set 6 of 7 100.0% processed on aggregated_results_dosso.shp
    04/01/2019 23:14:34  pygeoprocessing.geoprocessing INFO     rasterizing disjoint polygon set 6 of 7 aggregated_results_dosso.shp
    04/01/2019 23:14:34  pygeoprocessing.geoprocessing INFO     summarizing rasterized disjoint polygon set 6 of 7 aggregated_results_dosso.shp
    04/01/2019 23:14:34  pygeoprocessing.geoprocessing INFO     disjoint polygon set 7 of 7 100.0% processed on aggregated_results_dosso.shp
    04/01/2019 23:14:34  pygeoprocessing.geoprocessing INFO     rasterizing disjoint polygon set 7 of 7 aggregated_results_dosso.shp
    04/01/2019 23:14:34  pygeoprocessing.geoprocessing INFO     summarizing rasterized disjoint polygon set 7 of 7 aggregated_results_dosso.shp
    04/01/2019 23:14:34  pygeoprocessing.geoprocessing INFO     all done processing polygon sets for aggregated_results_dosso.shp
    04/01/2019 23:14:34  natcap.invest.ui.model ERROR    Exception while executing <function execute at 0x1720F170>
    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 1579, in _logged_target
      File "C:\Users\natcap-servers\jenkins-home\workspace\natcap.invest\label\GCE-windows-1\env\lib\site-packages\natcap\invest\seasonal_water_yield\seasonal_water_yield.py", line 162, in execute
      File "C:\Users\natcap-servers\jenkins-home\workspace\natcap.invest\label\GCE-windows-1\env\lib\site-packages\natcap\invest\seasonal_water_yield\seasonal_water_yield.py", line 444, in _execute
      File "C:\Users\natcap-servers\jenkins-home\workspace\natcap.invest\label\GCE-windows-1\env\lib\site-packages\natcap\invest\seasonal_water_yield\seasonal_water_yield.py", line 812, in _aggregate_recharge
      File "C:\tools\python2-x86_32\lib\site-packages\osgeo\ogr.py", line 4484, in SetField
    NotImplementedError: Wrong number or type of arguments for overloaded function 'Feature_SetField'.
      Possible C/C++ prototypes are:
        OGRFeatureShadow::SetField(int,char const *)
        OGRFeatureShadow::SetField(char const *,char const *)
        OGRFeatureShadow::SetField(int,double)
        OGRFeatureShadow::SetField(char const *,double)
        OGRFeatureShadow::SetField(int,int,int,int,int,int,float,int)
        OGRFeatureShadow::SetField(char const *,int,int,int,int,int,float,int)

    04/01/2019 23:14:34  natcap.invest.ui.model INFO     Execution finished
    04/01/2019 23:14:34  natcap.invest.utils INFO     Elapsed time: 34.38s
    04/01/2019 23:14:34  natcap.invest.ui.execution ERROR    Target <function _logged_target at 0x1BAABCB0> 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 1579, in _logged_target
      File "C:\Users\natcap-servers\jenkins-home\workspace\natcap.invest\label\GCE-windows-1\env\lib\site-packages\natcap\invest\seasonal_water_yield\seasonal_water_yield.py", line 162, in execute
      File "C:\Users\natcap-servers\jenkins-home\workspace\natcap.invest\label\GCE-windows-1\env\lib\site-packages\natcap\invest\seasonal_water_yield\seasonal_water_yield.py", line 444, in _execute
      File "C:\Users\natcap-servers\jenkins-home\workspace\natcap.invest\label\GCE-windows-1\env\lib\site-packages\natcap\invest\seasonal_water_yield\seasonal_water_yield.py", line 812, in _aggregate_recharge
      File "C:\tools\python2-x86_32\lib\site-packages\osgeo\ogr.py", line 4484, in SetField
    NotImplementedError: Wrong number or type of arguments for overloaded function 'Feature_SetField'.
      Possible C/C++ prototypes are:
        OGRFeatureShadow::SetField(int,char const *)
        OGRFeatureShadow::SetField(char const *,char const *)
        OGRFeatureShadow::SetField(int,double)
        OGRFeatureShadow::SetField(char const *,double)
        OGRFeatureShadow::SetField(int,int,int,int,int,int,float,int)
        OGRFeatureShadow::SetField(char const *,int,int,int,int,int,float,int)

    04/01/2019 23:14:34  natcap.invest.ui.execution INFO     Execution finished
  • jdouglassjdouglass Administrator, NatCap Staff
    Hello,

    I'm very sorry for the delay here!  This is quite an unusual error.  We've recently done some work on Seasonal Water Yield, so if this is still an issue, could you try this development version and see if it works?


    BTW, there are some major changes to how things are routed, but we believe these changes to be more correct.

    Also, we'll be shutting down this forum in the near future, so please consider creating an account over on our new forum, https://community.naturalcapitalproject.org/ !

    Hope you're well,
    James
Sign In or Register to comment.