Hydropower table in water yield model doesn't generate hydropower results, why?

KevinChaESKevinChaES Member
edited November 23 in Freshwater Models
Hi, I'm working with Water Yield Model, but i can't get the hydropower valuation results, why?

11/23/2018 00:40:45  natcap.invest.utils INFO     Writing log messages to C:\Users\kevin\OneDrive\Escritorio\Pruebas\InVEST-Hydropower-Water-Yield-log-2018-11-23--00_40_45.txt
11/23/2018 00:40:45  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:\Users\kevin\OneDrive\Escritorio\2005\biophysical2018.csv
calculate_valuation          True
calculate_water_scarcity     False
depth_to_root_rest_layer_uri C:\Users\kevin\OneDrive\Escritorio\srgt\depth.tif
eto_uri                      C:\Users\kevin\OneDrive\Escritorio\srgt\ETomod.tif
lulc_uri                     C:\Users\kevin\OneDrive\Escritorio\srgt\LULC2018.tif
pawc_uri                     C:\Users\kevin\OneDrive\Escritorio\srgt\PAWCusda.tif
precipitation_uri            C:\Users\kevin\OneDrive\Escritorio\srgt\Prelocclim2018.tif
results_suffix               2018
seasonality_constant         3.33
sub_watersheds_uri           C:\Users\kevin\OneDrive\Escritorio\2005\mic_ws.shp
valuation_table_uri          C:/Users/kevin/OneDrive/Escritorio/srgt/hydropower.csv
watersheds_uri               C:\Users\kevin\OneDrive\Escritorio\2005\sub_ws.shp
workspace_dir                C:\Users\kevin\OneDrive\Escritorio\Pruebas

11/23/2018 00:40:45  natcap.invest.hydropower.hydropower_water_yield INFO     Validating arguments
11/23/2018 00:40:45  natcap.invest.validation DEBUG    Validation warnings: []
11/23/2018 00:40:45  pygeoprocessing.geoprocessing INFO     n_workers > 1 (2) so starting a processes pool.
11/23/2018 00:40:49  pygeoprocessing.geoprocessing INFO     1 of 5 aligned: eto.tif
11/23/2018 00:40:54  pygeoprocessing.geoprocessing INFO     2 of 5 aligned: precip.tif
11/23/2018 00:40:55  pygeoprocessing.geoprocessing INFO     3 of 5 aligned: depth_to_root_rest_layer.tif
11/23/2018 00:40:56  pygeoprocessing.geoprocessing INFO     4 of 5 aligned: pawc.tif
11/23/2018 00:40:56  pygeoprocessing.geoprocessing INFO     5 of 5 aligned: clipped_lulc.tif
11/23/2018 00:40:57  pygeoprocessing.geoprocessing INFO     aligned all 5 rasters.
11/23/2018 00:40:57  natcap.invest.hydropower.hydropower_water_yield INFO     Reclassifying temp_Kc raster
11/23/2018 00:40:57  pygeoprocessing.geoprocessing INFO     starting stats_worker
11/23/2018 00:40:57  pygeoprocessing.geoprocessing INFO     started stats_worker <Thread(Thread-6, started daemon 10116)>
11/23/2018 00:40:59  pygeoprocessing.geoprocessing INFO     100.0%% complete
11/23/2018 00:40:59  pygeoprocessing.geoprocessing INFO     signaling stats worker to terminate
11/23/2018 00:40:59  pygeoprocessing.geoprocessing INFO     Waiting for raster stats worker result.
11/23/2018 00:40:59  natcap.invest.hydropower.hydropower_water_yield INFO     Reclassifying tmp_root raster
11/23/2018 00:40:59  pygeoprocessing.geoprocessing INFO     starting stats_worker
11/23/2018 00:40:59  pygeoprocessing.geoprocessing INFO     started stats_worker <Thread(Thread-7, started daemon 5652)>
11/23/2018 00:41:01  pygeoprocessing.geoprocessing INFO     100.0%% complete
11/23/2018 00:41:01  pygeoprocessing.geoprocessing INFO     signaling stats worker to terminate
11/23/2018 00:41:01  pygeoprocessing.geoprocessing INFO     Waiting for raster stats worker result.
11/23/2018 00:41:02  natcap.invest.hydropower.hydropower_water_yield INFO     Reclassifying tmp_veg raster
11/23/2018 00:41:02  pygeoprocessing.geoprocessing INFO     starting stats_worker
11/23/2018 00:41:02  pygeoprocessing.geoprocessing INFO     started stats_worker <Thread(Thread-8, started daemon 4040)>
11/23/2018 00:41:03  pygeoprocessing.geoprocessing INFO     100.0%% complete
11/23/2018 00:41:03  pygeoprocessing.geoprocessing INFO     signaling stats worker to terminate
11/23/2018 00:41:03  pygeoprocessing.geoprocessing INFO     Waiting for raster stats worker result.
11/23/2018 00:41:04  natcap.invest.hydropower.hydropower_water_yield INFO     Calculate PET from Ref Evap times Kc
11/23/2018 00:41:04  pygeoprocessing.geoprocessing INFO     starting stats_worker
11/23/2018 00:41:04  pygeoprocessing.geoprocessing INFO     started stats_worker <Thread(Thread-9, started daemon 8496)>
11/23/2018 00:41:07  pygeoprocessing.geoprocessing INFO     100.0%% complete
11/23/2018 00:41:07  pygeoprocessing.geoprocessing INFO     signaling stats worker to terminate
11/23/2018 00:41:07  pygeoprocessing.geoprocessing INFO     Waiting for raster stats worker result.
11/23/2018 00:41:07  natcap.invest.hydropower.hydropower_water_yield DEBUG    Performing fractp operation
11/23/2018 00:41:07  pygeoprocessing.geoprocessing INFO     starting stats_worker
11/23/2018 00:41:07  pygeoprocessing.geoprocessing INFO     started stats_worker <Thread(Thread-10, started daemon 12116)>
11/23/2018 00:41:12  pygeoprocessing.geoprocessing INFO     42.1% complete
11/23/2018 00:41:17  pygeoprocessing.geoprocessing INFO     80.4% complete
11/23/2018 00:41:20  pygeoprocessing.geoprocessing INFO     100.0%% complete
11/23/2018 00:41:20  pygeoprocessing.geoprocessing INFO     signaling stats worker to terminate
11/23/2018 00:41:20  pygeoprocessing.geoprocessing INFO     Waiting for raster stats worker result.
11/23/2018 00:41:20  natcap.invest.hydropower.hydropower_water_yield INFO     Performing wyield operation
11/23/2018 00:41:20  pygeoprocessing.geoprocessing INFO     starting stats_worker
11/23/2018 00:41:20  pygeoprocessing.geoprocessing INFO     started stats_worker <Thread(Thread-11, started daemon 14876)>
11/23/2018 00:41:25  pygeoprocessing.geoprocessing INFO     99.3% complete
11/23/2018 00:41:25  pygeoprocessing.geoprocessing INFO     100.0%% complete
11/23/2018 00:41:25  pygeoprocessing.geoprocessing INFO     signaling stats worker to terminate
11/23/2018 00:41:25  pygeoprocessing.geoprocessing INFO     Waiting for raster stats worker result.
11/23/2018 00:41:26  natcap.invest.hydropower.hydropower_water_yield DEBUG    Performing aet operation
11/23/2018 00:41:26  pygeoprocessing.geoprocessing INFO     starting stats_worker
11/23/2018 00:41:26  pygeoprocessing.geoprocessing INFO     started stats_worker <Thread(Thread-12, started daemon 15056)>
11/23/2018 00:41:31  pygeoprocessing.geoprocessing INFO     82.8% complete
11/23/2018 00:41:33  pygeoprocessing.geoprocessing INFO     100.0%% complete
11/23/2018 00:41:33  pygeoprocessing.geoprocessing INFO     signaling stats worker to terminate
11/23/2018 00:41:33  pygeoprocessing.geoprocessing INFO     Waiting for raster stats worker result.
11/23/2018 00:41:33  pygeoprocessing.geoprocessing INFO     n_workers == 1 so a threadpool is sufficient
11/23/2018 00:41:38  pygeoprocessing.geoprocessing INFO     1 of 1 aligned: clipped_raster9bcjad
11/23/2018 00:41:38  pygeoprocessing.geoprocessing INFO     aligned all 1 rasters.
11/23/2018 00:41:46  pygeoprocessing.geoprocessing INFO     n_workers == 1 so a threadpool is sufficient
11/23/2018 00:41:50  pygeoprocessing.geoprocessing INFO     1 of 1 aligned: clipped_rasterpuoqtb
11/23/2018 00:41:51  pygeoprocessing.geoprocessing INFO     aligned all 1 rasters.
11/23/2018 00:42:00  pygeoprocessing.geoprocessing INFO     n_workers == 1 so a threadpool is sufficient
11/23/2018 00:42:06  pygeoprocessing.geoprocessing INFO     1 of 1 aligned: clipped_raster0z3fqd
11/23/2018 00:42:06  pygeoprocessing.geoprocessing INFO     aligned all 1 rasters.
11/23/2018 00:42:19  pygeoprocessing.geoprocessing INFO     n_workers == 1 so a threadpool is sufficient
11/23/2018 00:42:26  pygeoprocessing.geoprocessing INFO     1 of 1 aligned: clipped_rasterrgkqcl
11/23/2018 00:42:26  pygeoprocessing.geoprocessing INFO     aligned all 1 rasters.
11/23/2018 00:42:39  pygeoprocessing.geoprocessing INFO     n_workers == 1 so a threadpool is sufficient
11/23/2018 00:42:42  pygeoprocessing.geoprocessing INFO     1 of 1 aligned: clipped_rasterovyrwq
11/23/2018 00:42:42  pygeoprocessing.geoprocessing INFO     aligned all 1 rasters.
11/23/2018 00:42:44  pygeoprocessing.geoprocessing INFO     n_workers == 1 so a threadpool is sufficient
11/23/2018 00:42:48  pygeoprocessing.geoprocessing INFO     1 of 1 aligned: clipped_rasterieu7et
11/23/2018 00:42:49  pygeoprocessing.geoprocessing INFO     aligned all 1 rasters.
11/23/2018 00:42:51  pygeoprocessing.geoprocessing INFO     n_workers == 1 so a threadpool is sufficient
11/23/2018 00:42:57  pygeoprocessing.geoprocessing INFO     1 of 1 aligned: clipped_rasterkz3usi
11/23/2018 00:42:57  pygeoprocessing.geoprocessing INFO     aligned all 1 rasters.
11/23/2018 00:43:00  pygeoprocessing.geoprocessing INFO     n_workers == 1 so a threadpool is sufficient
11/23/2018 00:43:06  pygeoprocessing.geoprocessing INFO     1 of 1 aligned: clipped_rasterbdggup
11/23/2018 00:43:06  pygeoprocessing.geoprocessing INFO     aligned all 1 rasters.
11/23/2018 00:43:09  natcap.invest.ui.model INFO     Execution finished
11/23/2018 00:43:09  natcap.invest.utils INFO     Elapsed time: 2m 24.23s

join the table 

Thanks
Post edited by KevinChaES on

Comments

  • RichRich Administrator, NatCap Staff
    Hi Kevin, I just want to check: when you inspect the output vector from the model you're saying that there are no 'hp_energy' or 'hp_val' fields in the output watershed? If so, I can't guess what the problem might be. 

    It's possible that there was a bug in the current version of InVEST that we've fixed in a development version, if you were up for it you could try our development version here: http://data.naturalcapitalproject.org/nightly-build/invest-forks/richsharp/InVEST_3.5.0.post709+hbc41e54bcc6c_x86_Setup.exe

    Otherwise would you be willing to dropbox me your entire datastack to richsharp@stanford.edu? I'll try to recreate the problem on my end and fix.


  • RichRich Administrator, NatCap Staff
    Hi, I was just going through my email and saw you sent me a separate email with your data. (p.s. no need to do that, I get an email every time someone posts on the forum)

    I noticed your "watershed" and "subwatershed" vectors seemed reversed, your subwatershed was a whole watershed with a `ws_id` field and your watershed looked like subwatersheds with `subws_id` fields in them. I swapped those and ran the model and was able to get economic valuations in the final results. FYI, we only calculate economic results for the watershed, so maybe you're looking in the subwatershed result? An easy way to do that is to add a `ws_id` field to your subwatersheds and pass them in as the watershed vector. Otherwise it looks like things should be working for you. Please let me know if you're still stuck.
  • Hi Rich, I´m sorry for sending you the data stack first without asking in the forum.

    I can´t understand completely the mistake, I have tried to change the vector and run the model, but it continues with the same results. 

    Can you show me how the attribute table should be? Because I have been trying to fix the mistake and I couldn't. 

    Thanks


  • DaveDave Member, NatCap Staff
    I think Rich is correct that this is a bug in the current release of InVEST, but should already be fixed in a development version. Our change history states: "Fixing an issue with Hydropower Water Yield ("Annual Water Yield") where
    valuation would never be triggered when running the model through the User
    Interface."

    If you haven't already, would you mind installing the InVEST version Rich linked to above?
  • Hi Dave, I install the development version, but now I have different ERROR:

    Initializing...

    Showing messages with level INFO and higher

    11/26/2018 12:28:18 natcap.invest.utils INFO Writing log messages to C:\Users\kevin\OneDrive\Escritorio\Pruebas\InVEST-Hydropower-Water-Yield-log-2018-11-26--12_28_18.txt

    11/26/2018 12:28:18 natcap.invest.ui.model Level 100 Starting model with parameters:

    Arguments for InVEST natcap.invest.hydropower.hydropower_water_yield 3.5.0.post709+hbc41e54bcc6c:

    biophysical_table_path C:/Users/kevin/OneDrive/Escritorio/2005/biophysical2018.csv

    calculate_valuation True

    calculate_water_scarcity False

    depth_to_root_rest_layer_path C:/Users/kevin/OneDrive/Escritorio/srgt/rootdepth.tif

    eto_path C:/Users/kevin/OneDrive/Escritorio/srgt/ETomod.tif

    lulc_path C:/Users/kevin/OneDrive/Escritorio/srgt/LULC2018.tif

    n_workers 4

    pawc_path C:/Users/kevin/OneDrive/Escritorio/srgt/PAWCworldcli.tif

    precipitation_path C:/Users/kevin/OneDrive/Escritorio/srgt/Prelocclim2018.tif

    results_suffix sjo

    seasonality_constant 3

    sub_watersheds_path C:/Users/kevin/OneDrive/Escritorio/2005/mic_ws.shp

    valuation_table_path C:/Users/kevin/OneDrive/Escritorio/srgt/hydropower.csv

    watersheds_path C:/Users/kevin/OneDrive/Escritorio/2005/sub_ws.shp

    workspace_dir C:\Users\kevin\OneDrive\Escritorio\Pruebas


    11/26/2018 12:28:19 natcap.invest.hydropower.hydropower_water_yield INFO Validating arguments

    11/26/2018 12:28:19 natcap.invest.hydropower.hydropower_water_yield INFO Checking that watersheds have entries for every `ws_id` in the valuation table.

    11/26/2018 12:28:19 taskgraph.Task INFO not precalculated, Task hash does not exist (align_raster_stack (0))

    11/26/2018 12:28:22 pygeoprocessing.geoprocessing INFO n_workers > 1 (2) so starting a processes pool.

    11/26/2018 12:28:25 pygeoprocessing.geoprocessing INFO 1 of 5 aligned: eto_sjo.tif

    11/26/2018 12:28:31 pygeoprocessing.geoprocessing INFO 2 of 5 aligned: precip_sjo.tif

    11/26/2018 12:28:31 pygeoprocessing.geoprocessing INFO 3 of 5 aligned: depth_to_root_rest_layer_sjo.tif

    11/26/2018 12:28:41 pygeoprocessing.geoprocessing INFO 4 of 5 aligned: pawc_sjo.tif

    11/26/2018 12:28:41 pygeoprocessing.geoprocessing INFO 5 of 5 aligned: clipped_lulc_sjo.tif

    11/26/2018 12:28:42 pygeoprocessing.geoprocessing INFO aligned all 5 rasters.

    11/26/2018 12:28:42 natcap.invest.hydropower.hydropower_water_yield INFO Reclassifying temp_Kc raster

    11/26/2018 12:28:42 taskgraph.Task INFO not precalculated, Task hash does not exist (check_missing_lucodes (1))

    11/26/2018 12:28:42 natcap.invest.hydropower.hydropower_water_yield INFO Reclassifying tmp_root raster

    11/26/2018 12:28:42 natcap.invest.hydropower.hydropower_water_yield INFO Reclassifying tmp_veg raster

    11/26/2018 12:28:42 natcap.invest.hydropower.hydropower_water_yield INFO Calculate PET from Ref Evap times Kc

    11/26/2018 12:28:42 natcap.invest.hydropower.hydropower_water_yield INFO Performing wyield operation

    11/26/2018 12:28:47 natcap.invest.hydropower.hydropower_water_yield INFO Checking that input tables have landcover codes for every value in the landcover map.

    11/26/2018 12:28:48 taskgraph.Task INFO not precalculated, Task hash does not exist (create_Kc_raster (2))

    11/26/2018 12:28:48 taskgraph.Task INFO not precalculated, Task hash does not exist (create_veg_raster (4))

    11/26/2018 12:28:48 taskgraph.Task INFO not precalculated, Task hash does not exist (create_root_raster (3))

    11/26/2018 12:28:48 pygeoprocessing.geoprocessing INFO starting stats_worker

    11/26/2018 12:28:48 pygeoprocessing.geoprocessing INFO started stats_worker <Thread(Thread-1, started daemon 5856)>

    11/26/2018 12:28:49 pygeoprocessing.geoprocessing INFO starting stats_worker

    11/26/2018 12:28:49 pygeoprocessing.geoprocessing INFO started stats_worker <Thread(Thread-4, started daemon 536)>

    11/26/2018 12:28:49 pygeoprocessing.geoprocessing INFO starting stats_worker

    11/26/2018 12:28:49 pygeoprocessing.geoprocessing INFO started stats_worker <Thread(Thread-1, started daemon 8916)>

    11/26/2018 12:28:50 pygeoprocessing.geoprocessing INFO 100.0%% complete

    11/26/2018 12:28:50 pygeoprocessing.geoprocessing INFO signaling stats worker to terminate

    11/26/2018 12:28:50 pygeoprocessing.geoprocessing INFO Waiting for raster stats worker result.

    11/26/2018 12:28:50 pygeoprocessing.geoprocessing INFO 100.0%% complete

    11/26/2018 12:28:50 pygeoprocessing.geoprocessing INFO signaling stats worker to terminate

    11/26/2018 12:28:50 pygeoprocessing.geoprocessing INFO Waiting for raster stats worker result.

    11/26/2018 12:28:50 pygeoprocessing.geoprocessing INFO 100.0%% complete

    11/26/2018 12:28:50 pygeoprocessing.geoprocessing INFO signaling stats worker to terminate

    11/26/2018 12:28:50 pygeoprocessing.geoprocessing INFO Waiting for raster stats worker result.

    11/26/2018 12:28:51 taskgraph.Task INFO not precalculated, Task hash does not exist (calculate_pet (5))

    11/26/2018 12:28:51 pygeoprocessing.geoprocessing INFO starting stats_worker

    11/26/2018 12:28:51 pygeoprocessing.geoprocessing INFO started stats_worker <Thread(Thread-1, started daemon 2696)>

    11/26/2018 12:28:51 taskgraph.Task INFO not precalculated, Task hash does not exist (calculate_fractp (6))

    11/26/2018 12:28:52 pygeoprocessing.geoprocessing INFO starting stats_worker

    11/26/2018 12:28:52 pygeoprocessing.geoprocessing INFO started stats_worker <Thread(Thread-2, started daemon 3800)>

    11/26/2018 12:28:53 pygeoprocessing.geoprocessing INFO 100.0%% complete

    11/26/2018 12:28:53 pygeoprocessing.geoprocessing INFO signaling stats worker to terminate

    11/26/2018 12:28:53 pygeoprocessing.geoprocessing INFO Waiting for raster stats worker result.

    11/26/2018 12:28:57 pygeoprocessing.geoprocessing INFO 47.1% complete

    11/26/2018 12:29:02 pygeoprocessing.geoprocessing INFO 98.0% complete

    11/26/2018 12:29:02 pygeoprocessing.geoprocessing INFO 100.0%% complete

    11/26/2018 12:29:02 pygeoprocessing.geoprocessing INFO signaling stats worker to terminate

    11/26/2018 12:29:02 pygeoprocessing.geoprocessing INFO Waiting for raster stats worker result.

    11/26/2018 12:29:02 taskgraph.Task INFO not precalculated, Task hash does not exist (calculate_wyield (7))

    11/26/2018 12:29:02 taskgraph.Task INFO not precalculated, Task hash does not exist (calculate_aet (8))

    11/26/2018 12:29:03 pygeoprocessing.geoprocessing INFO starting stats_worker

    11/26/2018 12:29:03 pygeoprocessing.geoprocessing INFO started stats_worker <Thread(Thread-2, started daemon 8672)>

    11/26/2018 12:29:03 pygeoprocessing.geoprocessing INFO starting stats_worker

    11/26/2018 12:29:03 pygeoprocessing.geoprocessing INFO started stats_worker <Thread(Thread-5, started daemon 11040)>

    11/26/2018 12:29:05 pygeoprocessing.geoprocessing INFO 100.0%% complete

    11/26/2018 12:29:05 pygeoprocessing.geoprocessing INFO signaling stats worker to terminate

    11/26/2018 12:29:05 pygeoprocessing.geoprocessing INFO Waiting for raster stats worker result.

    11/26/2018 12:29:05 pygeoprocessing.geoprocessing INFO 100.0%% complete

    11/26/2018 12:29:05 pygeoprocessing.geoprocessing INFO signaling stats worker to terminate

    11/26/2018 12:29:05 pygeoprocessing.geoprocessing INFO Waiting for raster stats worker result.

    11/26/2018 12:29:06 taskgraph.Task INFO not precalculated, Task hash does not exist (subws_id_PET_mn_zonalstats (16))

    11/26/2018 12:29:06 taskgraph.Task INFO not precalculated, Task hash does not exist (subws_id_wyield_mn_zonalstats (18))

    11/26/2018 12:29:06 taskgraph.Task INFO not precalculated, Task hash does not exist (ws_id_wyield_mn_zonalstats (12))

    11/26/2018 12:29:06 taskgraph.Task INFO not precalculated, Task hash does not exist (subws_id_precip_mn_zonalstats (15))

    11/26/2018 12:29:10 pygeoprocessing.geoprocessing INFO 1 of 1 aligned: clipped_rastergso3no

    11/26/2018 12:29:10 pygeoprocessing.geoprocessing INFO aligned all 1 rasters.

    11/26/2018 12:29:10 pygeoprocessing.geoprocessing INFO build a lookup of aggregate field value to FID

    11/26/2018 12:29:10 pygeoprocessing.geoprocessing INFO creating disjoint polygon set

    11/26/2018 12:29:10 pygeoprocessing.geoprocessing INFO build shapely polygon list

    11/26/2018 12:29:10 pygeoprocessing.geoprocessing INFO build shapely rtree index

    11/26/2018 12:29:10 pygeoprocessing.geoprocessing INFO poly feature lookup 100.0% complete on mic_ws.shp

    11/26/2018 12:29:10 pygeoprocessing.geoprocessing INFO build poly intersection lookup

    11/26/2018 12:29:10 pygeoprocessing.geoprocessing INFO poly intersection feature lookup 100.0% complete on mic_ws.shp

    11/26/2018 12:29:10 pygeoprocessing.geoprocessing INFO maximal subset build 100.0% complete on mic_ws.shp

    11/26/2018 12:29:10 pygeoprocessing.geoprocessing INFO processing 5 disjoint polygon sets

    11/26/2018 12:29:10 pygeoprocessing.geoprocessing INFO disjoint polygon set 1 of 5 100.0% processed on mic_ws.shp

    11/26/2018 12:29:11 pygeoprocessing.geoprocessing INFO 1 of 1 aligned: clipped_rasterzba45i

    11/26/2018 12:29:11 pygeoprocessing.geoprocessing INFO 1 of 1 aligned: clipped_rastero3td3q

    11/26/2018 12:29:11 pygeoprocessing.geoprocessing INFO aligned all 1 rasters.

    11/26/2018 12:29:11 pygeoprocessing.geoprocessing INFO build a lookup of aggregate field value to FID

    11/26/2018 12:29:11 pygeoprocessing.geoprocessing INFO creating disjoint polygon set

    11/26/2018 12:29:11 pygeoprocessing.geoprocessing INFO build shapely polygon list

    11/26/2018 12:29:11 pygeoprocessing.geoprocessing INFO build shapely rtree index

    11/26/2018 12:29:11 pygeoprocessing.geoprocessing INFO poly feature lookup 100.0% complete on sub_ws.shp

    11/26/2018 12:29:11 pygeoprocessing.geoprocessing INFO build poly intersection lookup

    11/26/2018 12:29:11 pygeoprocessing.geoprocessing INFO poly intersection feature lookup 100.0% complete on sub_ws.shp

    11/26/2018 12:29:11 pygeoprocessing.geoprocessing INFO maximal subset build 100.0% complete on sub_ws.shp

    11/26/2018 12:29:11 pygeoprocessing.geoprocessing INFO processing 1 disjoint polygon sets

    11/26/2018 12:29:11 pygeoprocessing.geoprocessing INFO aligned all 1 rasters.

    11/26/2018 12:29:11 pygeoprocessing.geoprocessing INFO build a lookup of aggregate field value to FID

    11/26/2018 12:29:11 pygeoprocessing.geoprocessing INFO creating disjoint polygon set

    11/26/2018 12:29:11 pygeoprocessing.geoprocessing INFO build shapely polygon list

    11/26/2018 12:29:11 pygeoprocessing.geoprocessing INFO build shapely rtree index

    11/26/2018 12:29:11 pygeoprocessing.geoprocessing INFO poly feature lookup 100.0% complete on mic_ws.shp

    11/26/2018 12:29:11 pygeoprocessing.geoprocessing INFO build poly intersection lookup

    11/26/2018 12:29:11 pygeoprocessing.geoprocessing INFO disjoint polygon set 1 of 1 100.0% processed on sub_ws.shp

    11/26/2018 12:29:11 pygeoprocessing.geoprocessing INFO poly intersection feature lookup 100.0% complete on mic_ws.shp

    11/26/2018 12:29:11 pygeoprocessing.geoprocessing INFO maximal subset build 100.0% complete on mic_ws.shp

    11/26/2018 12:29:11 pygeoprocessing.geoprocessing INFO processing 5 disjoint polygon sets

    11/26/2018 12:29:11 pygeoprocessing.geoprocessing INFO disjoint polygon set 1 of 5 100.0% processed on mic_ws.shp

    11/26/2018 12:29:10 pygeoprocessing.geoprocessing INFO rasterizing disjoint polygon set 1 of 5 mic_ws.shp

    11/26/2018 12:29:11 pygeoprocessing.geoprocessing INFO summarizing rasterized disjoint polygon set 1 of 5 mic_ws.shp

    11/26/2018 12:29:11 pygeoprocessing.geoprocessing INFO 1 of 1 aligned: clipped_rastermcgdee

    11/26/2018 12:29:11 pygeoprocessing.geoprocessing INFO aligned all 1 rasters.

    11/26/2018 12:29:11 pygeoprocessing.geoprocessing INFO build a lookup of aggregate field value to FID

    11/26/2018 12:29:11 pygeoprocessing.geoprocessing INFO creating disjoint polygon set

    11/26/2018 12:29:11 pygeoprocessing.geoprocessing INFO build shapely polygon list

    11/26/2018 12:29:11 pygeoprocessing.geoprocessing INFO build shapely rtree index

    11/26/2018 12:29:11 pygeoprocessing.geoprocessing INFO poly feature lookup 100.0% complete on mic_ws.shp

    11/26/2018 12:29:11 pygeoprocessing.geoprocessing INFO build poly intersection lookup

    11/26/2018 12:29:11 pygeoprocessing.geoprocessing INFO poly intersection feature lookup 100.0% complete on mic_ws.shp

    11/26/2018 12:29:11 pygeoprocessing.geoprocessing INFO maximal subset build 100.0% complete on mic_ws.shp

    11/26/2018 12:29:12 pygeoprocessing.geoprocessing INFO processing 5 disjoint polygon sets

    11/26/2018 12:29:12 pygeoprocessing.geoprocessing INFO disjoint polygon set 1 of 5 100.0% processed on mic_ws.shp

    11/26/2018 12:29:11 pygeoprocessing.geoprocessing INFO rasterizing disjoint polygon set 1 of 1 sub_ws.shp

    11/26/2018 12:29:12 pygeoprocessing.geoprocessing INFO summarizing rasterized disjoint polygon set 1 of 1 sub_ws.shp

    11/26/2018 12:29:11 pygeoprocessing.geoprocessing INFO rasterizing disjoint polygon set 1 of 5 mic_ws.shp

    11/26/2018 12:29:12 pygeoprocessing.geoprocessing INFO summarizing rasterized disjoint polygon set 1 of 5 mic_ws.shp

    11/26/2018 12:29:12 pygeoprocessing.geoprocessing INFO rasterizing disjoint polygon set 1 of 5 mic_ws.shp

    11/26/2018 12:29:12 pygeoprocessing.geoprocessing INFO disjoint polygon set 2 of 5 100.0% processed on mic_ws.shp

    11/26/2018 12:29:12 pygeoprocessing.geoprocessing INFO summarizing rasterized disjoint polygon set 1 of 5 mic_ws.shp

    11/26/2018 12:29:13 pygeoprocessing.geoprocessing INFO disjoint polygon set 2 of 5 100.0% processed on mic_ws.shp

    11/26/2018 12:29:12 pygeoprocessing.geoprocessing INFO rasterizing disjoint polygon set 2 of 5 mic_ws.shp

    11/26/2018 12:29:13 pygeoprocessing.geoprocessing INFO summarizing rasterized disjoint polygon set 2 of 5 mic_ws.shp

    11/26/2018 12:29:14 pygeoprocessing.geoprocessing INFO all done processing polygon sets for sub_ws.shp

    11/26/2018 12:29:14 pygeoprocessing.geoprocessing INFO disjoint polygon set 2 of 5 100.0% processed on mic_ws.shp

    11/26/2018 12:29:14 taskgraph.Task INFO not precalculated, Task hash does not exist (ws_id_AET_mn_zonalstats (11))

    11/26/2018 12:29:13 pygeoprocessing.geoprocessing INFO rasterizing disjoint polygon set 2 of 5 mic_ws.shp

    11/26/2018 12:29:14 pygeoprocessing.geoprocessing INFO summarizing rasterized disjoint polygon set 2 of 5 mic_ws.shp

    11/26/2018 12:29:14 pygeoprocessing.geoprocessing INFO disjoint polygon set 3 of 5 100.0% processed on mic_ws.shp

    11/26/2018 12:29:14 pygeoprocessing.geoprocessing INFO rasterizing disjoint polygon set 2 of 5 mic_ws.shp

    11/26/2018 12:29:15 pygeoprocessing.geoprocessing INFO summarizing rasterized disjoint polygon set 2 of 5 mic_ws.shp

    11/26/2018 12:29:14 pygeoprocessing.geoprocessing INFO rasterizing disjoint polygon set 3 of 5 mic_ws.shp

    11/26/2018 12:29:15 pygeoprocessing.geoprocessing INFO summarizing rasterized disjoint polygon set 3 of 5 mic_ws.shp

    11/26/2018 12:29:15 pygeoprocessing.geoprocessing INFO disjoint polygon set 3 of 5 100.0% processed on mic_ws.shp

    11/26/2018 12:29:16 pygeoprocessing.geoprocessing INFO disjoint polygon set 3 of 5 100.0% processed on mic_ws.shp

    11/26/2018 12:29:16 pygeoprocessing.geoprocessing INFO rasterizing disjoint polygon set 3 of 5 mic_ws.shp

    11/26/2018 12:29:16 pygeoprocessing.geoprocessing INFO zonal stats approximately 80.0% complete on mic_ws.shp

    11/26/2018 12:29:16 pygeoprocessing.geoprocessing INFO disjoint polygon set 4 of 5 100.0% processed on mic_ws.shp

    11/26/2018 12:29:15 pygeoprocessing.geoprocessing INFO rasterizing disjoint polygon set 3 of 5 mic_ws.shp

    11/26/2018 12:29:16 pygeoprocessing.geoprocessing INFO summarizing rasterized disjoint polygon set 3 of 5 mic_ws.shp

    11/26/2018 12:29:16 pygeoprocessing.geoprocessing INFO rasterizing disjoint polygon set 4 of 5 mic_ws.shp

    11/26/2018 12:29:17 pygeoprocessing.geoprocessing INFO 1 of 1 aligned: clipped_rasterg820iv

    11/26/2018 12:29:17 pygeoprocessing.geoprocessing INFO aligned all 1 rasters.

    11/26/2018 12:29:17 pygeoprocessing.geoprocessing INFO build a lookup of aggregate field value to FID

    11/26/2018 12:29:17 pygeoprocessing.geoprocessing INFO creating disjoint polygon set

    11/26/2018 12:29:17 pygeoprocessing.geoprocessing INFO build shapely polygon list

    11/26/2018 12:29:17 pygeoprocessing.geoprocessing INFO build shapely rtree index

    11/26/2018 12:29:17 pygeoprocessing.geoprocessing INFO poly feature lookup 100.0% complete on sub_ws.shp

    11/26/2018 12:29:17 pygeoprocessing.geoprocessing INFO build poly intersection lookup

    11/26/2018 12:29:17 pygeoprocessing.geoprocessing INFO poly intersection feature lookup 100.0% complete on sub_ws.shp

    11/26/2018 12:29:17 pygeoprocessing.geoprocessing INFO maximal subset build 100.0% complete on sub_ws.shp

    11/26/2018 12:29:17 pygeoprocessing.geoprocessing INFO processing 1 disjoint polygon sets

    11/26/2018 12:29:17 pygeoprocessing.geoprocessing INFO disjoint polygon set 1 of 1 100.0% processed on sub_ws.shp

    11/26/2018 12:29:17 pygeoprocessing.geoprocessing INFO summarizing rasterized disjoint polygon set 3 of 5 mic_ws.shp

    11/26/2018 12:29:17 pygeoprocessing.geoprocessing INFO summarizing rasterized disjoint polygon set 4 of 5 mic_ws.shp

    11/26/2018 12:29:17 pygeoprocessing.geoprocessing INFO zonal stats approximately 80.0% complete on mic_ws.shp

    11/26/2018 12:29:17 pygeoprocessing.geoprocessing INFO disjoint polygon set 4 of 5 100.0% processed on mic_ws.shp

    11/26/2018 12:29:17 pygeoprocessing.geoprocessing INFO rasterizing disjoint polygon set 4 of 5 mic_ws.shp

    11/26/2018 12:29:17 pygeoprocessing.geoprocessing INFO rasterizing disjoint polygon set 1 of 1 sub_ws.shp

    11/26/2018 12:29:18 pygeoprocessing.geoprocessing INFO summarizing rasterized disjoint polygon set 1 of 1 sub_ws.shp

    11/26/2018 12:29:18 pygeoprocessing.geoprocessing INFO disjoint polygon set 5 of 5 100.0% processed on mic_ws.shp

    11/26/2018 12:29:18 pygeoprocessing.geoprocessing INFO zonal stats approximately 80.0% complete on mic_ws.shp

    11/26/2018 12:29:18 pygeoprocessing.geoprocessing INFO disjoint polygon set 4 of 5 100.0% processed on mic_ws.shp

    11/26/2018 12:29:18 pygeoprocessing.geoprocessing INFO rasterizing disjoint polygon set 5 of 5 mic_ws.shp

    11/26/2018 12:29:18 pygeoprocessing.geoprocessing INFO summarizing rasterized disjoint polygon set 4 of 5 mic_ws.shp

    11/26/2018 12:29:19 pygeoprocessing.geoprocessing INFO summarizing rasterized disjoint polygon set 5 of 5 mic_ws.shp

    11/26/2018 12:29:19 pygeoprocessing.geoprocessing INFO all done processing polygon sets for sub_ws.shp

    11/26/2018 12:29:18 pygeoprocessing.geoprocessing INFO rasterizing disjoint polygon set 4 of 5 mic_ws.shp

    11/26/2018 12:29:19 pygeoprocessing.geoprocessing INFO summarizing rasterized disjoint polygon set 4 of 5 mic_ws.shp

    11/26/2018 12:29:19 taskgraph.Task INFO not precalculated, Task hash does not exist (subws_id_AET_mn_zonalstats (17))

    11/26/2018 12:29:19 pygeoprocessing.geoprocessing INFO disjoint polygon set 5 of 5 100.0% processed on mic_ws.shp

    11/26/2018 12:29:19 pygeoprocessing.geoprocessing INFO rasterizing disjoint polygon set 5 of 5 mic_ws.shp

    11/26/2018 12:29:20 pygeoprocessing.geoprocessing INFO all done processing polygon sets for mic_ws.shp

    11/26/2018 12:29:20 taskgraph.Task INFO not precalculated, Task hash does not exist (ws_id_PET_mn_zonalstats (10))

    11/26/2018 12:29:20 pygeoprocessing.geoprocessing INFO disjoint polygon set 5 of 5 100.0% processed on mic_ws.shp

    11/26/2018 12:29:20 pygeoprocessing.geoprocessing INFO summarizing rasterized disjoint polygon set 5 of 5 mic_ws.shp

    11/26/2018 12:29:20 pygeoprocessing.geoprocessing INFO rasterizing disjoint polygon set 5 of 5 mic_ws.shp

    11/26/2018 12:29:21 pygeoprocessing.geoprocessing INFO summarizing rasterized disjoint polygon set 5 of 5 mic_ws.shp

    11/26/2018 12:29:21 pygeoprocessing.geoprocessing INFO all done processing polygon sets for mic_ws.shp

    11/26/2018 12:29:22 taskgraph.Task INFO not precalculated, Task hash does not exist (ws_id_precip_mn_zonalstats (9))

    11/26/2018 12:29:22 pygeoprocessing.geoprocessing INFO 1 of 1 aligned: clipped_rasterlbb5ql

    11/26/2018 12:29:22 pygeoprocessing.geoprocessing INFO aligned all 1 rasters.

    11/26/2018 12:29:22 pygeoprocessing.geoprocessing INFO build a lookup of aggregate field value to FID

    11/26/2018 12:29:22 pygeoprocessing.geoprocessing INFO creating disjoint polygon set

    11/26/2018 12:29:22 pygeoprocessing.geoprocessing INFO build shapely polygon list

    11/26/2018 12:29:22 pygeoprocessing.geoprocessing INFO build shapely rtree index

    11/26/2018 12:29:22 pygeoprocessing.geoprocessing INFO poly feature lookup 100.0% complete on mic_ws.shp

    11/26/2018 12:29:22 pygeoprocessing.geoprocessing INFO build poly intersection lookup

    11/26/2018 12:29:22 pygeoprocessing.geoprocessing INFO poly intersection feature lookup 100.0% complete on mic_ws.shp

    11/26/2018 12:29:22 pygeoprocessing.geoprocessing INFO maximal subset build 100.0% complete on mic_ws.shp

    11/26/2018 12:29:22 pygeoprocessing.geoprocessing INFO processing 5 disjoint polygon sets

    11/26/2018 12:29:22 pygeoprocessing.geoprocessing INFO disjoint polygon set 1 of 5 100.0% processed on mic_ws.shp

    11/26/2018 12:29:22 pygeoprocessing.geoprocessing INFO all done processing polygon sets for mic_ws.shp

    11/26/2018 12:29:22 pygeoprocessing.geoprocessing INFO rasterizing disjoint polygon set 1 of 5 mic_ws.shp

    11/26/2018 12:29:23 pygeoprocessing.geoprocessing INFO summarizing rasterized disjoint polygon set 1 of 5 mic_ws.shp

    11/26/2018 12:29:23 pygeoprocessing.geoprocessing INFO 1 of 1 aligned: clipped_rasteroyslmr

    11/26/2018 12:29:24 pygeoprocessing.geoprocessing INFO aligned all 1 rasters.

    11/26/2018 12:29:24 pygeoprocessing.geoprocessing INFO build a lookup of aggregate field value to FID

    11/26/2018 12:29:24 pygeoprocessing.geoprocessing INFO disjoint polygon set 2 of 5 100.0% processed on mic_ws.shp

    11/26/2018 12:29:24 pygeoprocessing.geoprocessing INFO rasterizing disjoint polygon set 2 of 5 mic_ws.shp

    11/26/2018 12:29:24 pygeoprocessing.geoprocessing INFO creating disjoint polygon set

    11/26/2018 12:29:24 pygeoprocessing.geoprocessing INFO build shapely polygon list

    11/26/2018 12:29:24 pygeoprocessing.geoprocessing INFO build shapely rtree index

    11/26/2018 12:29:24 pygeoprocessing.geoprocessing INFO poly feature lookup 100.0% complete on sub_ws.shp

    11/26/2018 12:29:24 pygeoprocessing.geoprocessing INFO build poly intersection lookup

    11/26/2018 12:29:24 pygeoprocessing.geoprocessing INFO poly intersection feature lookup 100.0% complete on sub_ws.shp

    11/26/2018 12:29:24 pygeoprocessing.geoprocessing INFO maximal subset build 100.0% complete on sub_ws.shp

    11/26/2018 12:29:24 pygeoprocessing.geoprocessing INFO processing 1 disjoint polygon sets

    11/26/2018 12:29:24 pygeoprocessing.geoprocessing INFO disjoint polygon set 1 of 1 100.0% processed on sub_ws.shp

    11/26/2018 12:29:24 pygeoprocessing.geoprocessing INFO summarizing rasterized disjoint polygon set 2 of 5 mic_ws.shp

    11/26/2018 12:29:24 pygeoprocessing.geoprocessing INFO rasterizing disjoint polygon set 1 of 1 sub_ws.shp

    11/26/2018 12:29:25 pygeoprocessing.geoprocessing INFO summarizing rasterized disjoint polygon set 1 of 1 sub_ws.shp

    11/26/2018 12:29:25 pygeoprocessing.geoprocessing INFO disjoint polygon set 3 of 5 100.0% processed on mic_ws.shp

    11/26/2018 12:29:25 pygeoprocessing.geoprocessing INFO rasterizing disjoint polygon set 3 of 5 mic_ws.shp

    11/26/2018 12:29:26 pygeoprocessing.geoprocessing INFO summarizing rasterized disjoint polygon set 3 of 5 mic_ws.shp

    11/26/2018 12:29:26 pygeoprocessing.geoprocessing INFO all done processing polygon sets for sub_ws.shp

    11/26/2018 12:29:26 pygeoprocessing.geoprocessing INFO 1 of 1 aligned: clipped_raster4yizgn

    11/26/2018 12:29:26 pygeoprocessing.geoprocessing INFO aligned all 1 rasters.

    11/26/2018 12:29:26 pygeoprocessing.geoprocessing INFO build a lookup of aggregate field value to FID

    11/26/2018 12:29:26 pygeoprocessing.geoprocessing INFO creating disjoint polygon set

    11/26/2018 12:29:26 pygeoprocessing.geoprocessing INFO build shapely polygon list

    11/26/2018 12:29:26 pygeoprocessing.geoprocessing INFO build shapely rtree index

    11/26/2018 12:29:26 pygeoprocessing.geoprocessing INFO poly feature lookup 100.0% complete on sub_ws.shp

    11/26/2018 12:29:26 pygeoprocessing.geoprocessing INFO build poly intersection lookup

    11/26/2018 12:29:26 pygeoprocessing.geoprocessing INFO poly intersection feature lookup 100.0% complete on sub_ws.shp

    11/26/2018 12:29:26 pygeoprocessing.geoprocessing INFO maximal subset build 100.0% complete on sub_ws.shp

    11/26/2018 12:29:26 pygeoprocessing.geoprocessing INFO processing 1 disjoint polygon sets

    11/26/2018 12:29:26 pygeoprocessing.geoprocessing INFO disjoint polygon set 4 of 5 100.0% processed on mic_ws.shp

    11/26/2018 12:29:26 pygeoprocessing.geoprocessing INFO disjoint polygon set 1 of 1 100.0% processed on sub_ws.shp

    11/26/2018 12:29:26 pygeoprocessing.geoprocessing INFO rasterizing disjoint polygon set 4 of 5 mic_ws.shp

    11/26/2018 12:29:27 pygeoprocessing.geoprocessing INFO summarizing rasterized disjoint polygon set 4 of 5 mic_ws.shp

    11/26/2018 12:29:26 pygeoprocessing.geoprocessing INFO rasterizing disjoint polygon set 1 of 1 sub_ws.shp

    11/26/2018 12:29:27 pygeoprocessing.geoprocessing INFO summarizing rasterized disjoint polygon set 1 of 1 sub_ws.shp

    11/26/2018 12:29:27 pygeoprocessing.geoprocessing INFO zonal stats approximately 100.0% complete on mic_ws.shp

    11/26/2018 12:29:27 pygeoprocessing.geoprocessing INFO disjoint polygon set 5 of 5 100.0% processed on mic_ws.shp

    11/26/2018 12:29:27 pygeoprocessing.geoprocessing INFO rasterizing disjoint polygon set 5 of 5 mic_ws.shp

    11/26/2018 12:29:28 pygeoprocessing.geoprocessing INFO summarizing rasterized disjoint polygon set 5 of 5 mic_ws.shp

    11/26/2018 12:29:28 pygeoprocessing.geoprocessing INFO all done processing polygon sets for sub_ws.shp

    11/26/2018 12:29:29 taskgraph.Task INFO not precalculated, Task hash does not exist (create_ws_id_vector_output (13))

    11/26/2018 12:29:29 taskgraph.Task ERROR A taskgraph _task_executor failed on Task create_ws_id_vector_output (13). Terminating taskgraph.

    Traceback (most recent call last):

    File "C:\Users\natcap-servers\jenkins-home\workspace\natcap.invest\label\GCE-windows-1\env\lib\site-packages\taskgraph\Task.py", line 362, in _task_executor

    File "C:\Users\natcap-servers\jenkins-home\workspace\natcap.invest\label\GCE-windows-1\env\lib\site-packages\taskgraph\Task.py", line 912, in _call

    File "C:\tools\python2-x86_32\Lib\multiprocessing\pool.py", line 558, in get

    ValueError: Illegal field requested in GetField()

    11/26/2018 12:29:29 taskgraph.Task ERROR Exception raised when joining task Task object 399093136:


    {'exception_object': ValueError('Illegal field requested in GetField()',),

    'ignore_directories': True,

    'ignore_path_list': [],

    'priority': 0,

    'self._reexecution_info': {'args': "[u'C:/Users/kevin/OneDrive/Escritorio/2005/sub_ws.shp',\n u'C:\\\\Users\\\\kevin\\\\OneDrive\\\\Escritorio\\\\Pruebas\\\\output\\\\watershed_results_wyield_sjo.shp',\n 'ws_id',\n [(u'C:\\\\Users\\\\kevin\\\\OneDrive\\\\Escritorio\\\\Pruebas\\\\intermediate\\\\_tmp_zonal_stats\\\\ws_id_precip_mn_sjo.pickle',\n 'precip_mn'),\n (u'C:\\\\Users\\\\kevin\\\\OneDrive\\\\Escritorio\\\\Pruebas\\\\intermediate\\\\_tmp_zonal_stats\\\\ws_id_PET_mn_sjo.pickle',\n 'PET_mn'),\n (u'C:\\\\Users\\\\kevin\\\\OneDrive\\\\Escritorio\\\\Pruebas\\\\intermediate\\\\_tmp_zonal_stats\\\\ws_id_AET_mn_sjo.pickle',\n 'AET_mn'),\n (u'C:\\\\Users\\\\kevin\\\\OneDrive\\\\Escritorio\\\\Pruebas\\\\intermediate\\\\_tmp_zonal_stats\\\\ws_id_wyield_mn_sjo.pickle',\n 'wyield_mn')],\n {1L: {'cost': 0.019,\n 'discount': 9L,\n 'efficiency': 0.95,\n 'fraction': 0.6,\n 'height': 182.23,\n 'kw_price': 0.17,\n 'station_desc': 'nuestro amo',\n 'time_span': 50L,\n 'ws_id': 1L}}]",

    'file_stat_list': "[(u'C:\\\\Users\\\\kevin\\\\OneDrive\\\\Escritorio\\\\2005\\\\sub_ws.shp',\n 1542961320.5584915,\n 88444L),\n (u'C:\\\\Users\\\\kevin\\\\OneDrive\\\\Escritorio\\\\Pruebas\\\\intermediate\\\\_tmp_zonal_stats\\\\ws_id_precip_mn_sjo.pickle',\n 1543256968.8703585,\n 560L),\n (u'C:\\\\Users\\\\kevin\\\\OneDrive\\\\Escritorio\\\\Pruebas\\\\intermediate\\\\_tmp_zonal_stats\\\\ws_id_PET_mn_sjo.pickle',\n 1543256966.2477944,\n 557L),\n (u'C:\\\\Users\\\\kevin\\\\OneDrive\\\\Escritorio\\\\Pruebas\\\\intermediate\\\\_tmp_zonal_stats\\\\ws_id_AET_mn_sjo.pickle',\n 1543256959.489911,\n 560L),\n (u'C:\\\\Users\\\\kevin\\\\OneDrive\\\\Escritorio\\\\Pruebas\\\\intermediate\\\\_tmp_zonal_stats\\\\ws_id_wyield_mn_sjo.pickle',\n 1543256954.1326735,\n 552L)]",

    'func_name': 'create_vector_output',

    'kwargs': '{}',

    'source_code_hash': 'da39a3ee5e6b4b0d3255bfef95601890afd80709',

    'target_path_list': "[u'C:\\\\Users\\\\kevin\\\\OneDrive\\\\Escritorio\\\\Pruebas\\\\output\\\\watershed_results_wyield_sjo.shp']"},

    'task_id_hash': '2a7327c2a5aaac6e0633e327bb4f26afdc953a24',

    'task_name': 'create_ws_id_vector_output (13)',

    'task_reexecution_hash': '24d9a335fb78725c98d4445992560e80f7a8d643'}. It's possible that this task did not cause the exception, rather another exception terminated the task_graph. Check the log to see if there are other exceptions.

    Traceback (most recent call last):

    File "C:\Users\natcap-servers\jenkins-home\workspace\natcap.invest\label\GCE-windows-1\env\lib\site-packages\taskgraph\Task.py", line 628, in join

    File "C:\Users\natcap-servers\jenkins-home\workspace\natcap.invest\label\GCE-windows-1\env\lib\site-packages\taskgraph\Task.py", line 1037, in join

    ValueError: Illegal field requested in GetField()

    11/26/2018 12:29:29 natcap.invest.ui.model ERROR Exception while executing <function execute at 0x11C9F8B0>

    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 1548, 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 442, in execute

    File "C:\Users\natcap-servers\jenkins-home\workspace\natcap.invest\label\GCE-windows-1\env\lib\site-packages\taskgraph\Task.py", line 628, in join

    File "C:\Users\natcap-servers\jenkins-home\workspace\natcap.invest\label\GCE-windows-1\env\lib\site-packages\taskgraph\Task.py", line 1037, in join

    ValueError: Illegal field requested in GetField()

    11/26/2018 12:29:29 natcap.invest.ui.model INFO Execution finished

    11/26/2018 12:29:29 natcap.invest.utils INFO Elapsed time: 1m 10.36s

    11/26/2018 12:29:29 natcap.invest.ui.execution ERROR Target <function _logged_target at 0x11CB4C30> 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 1548, 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 442, in execute

    File "C:\Users\natcap-servers\jenkins-home\workspace\natcap.invest\label\GCE-windows-1\env\lib\site-packages\taskgraph\Task.py", line 628, in join

    File "C:\Users\natcap-servers\jenkins-home\workspace\natcap.invest\label\GCE-windows-1\env\lib\site-packages\taskgraph\Task.py", line 1037, in join

    ValueError: Illegal field requested in GetField()

    11/26/2018 12:29:29 natcap.invest.ui.execution INFO Execution finished

    11/26/2018 12:29:29 pygeoprocessing.geoprocessing INFO all done processing polygon sets for mic_ws.shp


  • DaveDave Member, NatCap Staff
    Okay thanks for testing that version for us! This looks like a new issue. I'll confer with Rich and one of us will troubleshoot this and get back to you.

    @Rich, if you'd like to forward me the datastack I'll look into this new issue, since I was the last one to touch this model.
  • Thanks, I know that the next version that you are going to develop will work perfectly 

    If you prefer I can send you my data stack, I have fixed some problems. 
  • RichRich Administrator, NatCap Staff
    Hi @KevinChaES, I did not get this error on the datastack you sent me. If you're interested, I zipped up the output workspace here for you: https://www.dropbox.com/s/mu4onfku3zt8gqj/kevin_hydropower_water_yield_workspace.zip?dl=0

    If you are running off new data, could you forward that datastack to @Dave? Otherwise I'm not sure what's going on.
  • DaveDave Member, NatCap Staff
    Okay Kevin, please send your new data to davefisher@stanford.edu if you would like me to look into the latest error.
  • KevinChaESKevinChaES Member
    edited November 26
    Hi, Rich and Dave, thanks for the time to support me.

    The problem is the results (AET and Water Yield), in 3.5 version was (AET= 384 mm, Wyield=2265 mm) and the beta 3.5 version (AET= 6536295.329676, Wyield= -6533644.717001), with the same data stack. 

    I sent you the datastack, thanks again.


    Post edited by KevinChaES on
  • Thank you Rich for the files that you sent me.
    I´m trying to understand what I did bad
  • DaveDave Member, NatCap Staff

    Many thanks for testing that development version for us. There are a couple issues going on that we'll need to patch before releasing that version.

    First, the "ValueError: Illegal field requested in GetField()" that you reported above was happening if the Valution option was checked but the Water Scarcity option was not. So in order to compute valuation, you also need to compute water scarcity. You may have already figured out that one.

    Second, the results differered between the two versions due to a bug in the AET calculation in the development version. For now, a workaround is to make sure to use a 'signed' datatype for the precipitation raster, as opposed to 'unsigned'. I will email you a new precip raster that works. All the values are the same.

    Thanks again for testing the new model. I'll work on patching these bugs and I can post a new development version here when I do.
  • DaveDave Member, NatCap Staff
    Here's an InVEST build that patches the two issues described in my post above. It also includes a fix to the issue that kicked off this thread - about missing fields in the results attribute tables.

    http://data.naturalcapitalproject.org/nightly-build/invest-forks/davemfish/InVEST_3.5.0.post695+h5039378618e0_x86_Setup.exe

    @swolny, you might be interested in this as well. Thanks to anyone who wants to give it a test run!
  • Thanks, I'm going to run the new version of the InVEST patch.
    Regards...
Sign In or Register to comment.