Arguments: activities {u'grass_strips': {u'measurement_unit': u'area', u'measurement_value': 10000.0, u'unit_cost': 100.0}, u'riparian_mgmt': {u'measurement_unit': u'area', u'measurement_value': 10000.0, u'unit_cost': 100.0}, u'terracing': {u'measurement_unit': u'area', u'measurement_value': 10000.0, u'unit_cost': 100.0}, u'agroforestry': {u'measurement_unit': u'area', u'measurement_value': 10000.0, u'unit_cost': 100.0}} activity_shapefiles [] budget_config {u'years_to_spend': 1, u'activity_budget': {u'grass_strips': {u'budget_amount': 0.0}, u'riparian_mgmt': {u'budget_amount': 0.0}, u'terracing': {u'budget_amount': 0.0}, u'agroforestry': {u'budget_amount': 0.0}}, u'if_left_over': u'Report remainder', u'floating_budget': 50000} lulc_activity_potential_map {160: [u'riparian_mgmt'], 130: [u'riparian_mgmt', u'agroforestry', u'terracing', u'grass_strips'], 100: [u'agroforestry'], 70: [u'riparian_mgmt', u'agroforestry'], 40: [u'riparian_mgmt', u'agroforestry', u'terracing', u'grass_strips'], 10: [u'riparian_mgmt', u'agroforestry', u'terracing', u'grass_strips'], 11: [u'riparian_mgmt', u'agroforestry', u'terracing', u'grass_strips'], 80: [u'riparian_mgmt'], 200: [], 210: [], 180: [u'riparian_mgmt'], 30: [u'riparian_mgmt', u'agroforestry', u'terracing', u'grass_strips'], 90: [u'riparian_mgmt'], 60: [u'riparian_mgmt', u'agroforestry'], 61: [u'riparian_mgmt'], 190: []} lulc_coefficients_table_uri C:/temp_at_root/biophys_table_ESACCI_draft_RIOS.csv lulc_uri C:/temp_at_root/ESA_CCI_copied.tif objectives {u'erosion_reservoir_control': {u'rios_model_type': u'rios_tier_0', u'priorities': {u'revegetation_assisted': {u'Soil depth': 0.25, u'Soil erodibility': 0.25, u'On-pixel retention': u'~0.5', u'Beneficiaries': 1.0, u'On-pixel source': 0.25, u'Rainfall erosivity': 0.25, u'Downslope retention index': u'~1', u'Riparian continuity': 0.5, u'Upslope source': 1.0}, u'agricultural_vegetation_managment': {u'Soil depth': 0.25, u'Soil erodibility': 0.25, u'On-pixel retention': u'~0.5', u'Beneficiaries': 1.0, u'On-pixel source': 0.25, u'Rainfall erosivity': 0.25, u'Downslope retention index': u'~1', u'Riparian continuity': 0.5, u'Upslope source': 1.0}, u'fertilizer_management': {u'Soil depth': 0.25, u'Soil erodibility': 0.25, u'On-pixel retention': u'~0.5', u'Beneficiaries': 1.0, u'On-pixel source': 0.25, u'Rainfall erosivity': 0.25, u'Downslope retention index': u'~1', u'Riparian continuity': 0.5, u'Upslope source': 1.0}, u'keep_native_vegetation': {u'Soil depth': 0.25, u'Soil erodibility': 0.25, u'On-pixel retention': 0.5, u'Beneficiaries': 1.0, u'On-pixel source': u'~0.25', u'Rainfall erosivity': 0.25, u'Downslope retention index': u'~1', u'Riparian continuity': 0.5, u'Upslope source': 1.0}, u'ditching': {u'Soil depth': 0.25, u'Soil erodibility': 0.25, u'On-pixel retention': u'~0.5', u'Beneficiaries': 1.0, u'On-pixel source': 0.25, u'Rainfall erosivity': 0.25, u'Downslope retention index': u'~1', u'Riparian continuity': 0.5, u'Upslope source': 1.0}, u'revegetation_unassisted': {u'Soil depth': 0.25, u'Soil erodibility': 0.25, u'On-pixel retention': u'~0.5', u'Beneficiaries': 1.0, u'On-pixel source': 0.25, u'Rainfall erosivity': 0.25, u'Downslope retention index': u'~1', u'Riparian continuity': 0.5, u'Upslope source': 1.0}, u'pasture_management': {u'Soil depth': 0.25, u'Soil erodibility': 0.25, u'On-pixel retention': u'~0.5', u'Beneficiaries': 1.0, u'On-pixel source': 0.25, u'Rainfall erosivity': 0.25, u'Downslope retention index': u'~1', u'Riparian continuity': 0.5, u'Upslope source': 1.0}}, u'factors': {u'Soil depth': {u'raster_uri': u'C:/temp_at_root/soil_depth_copied.tif', u'bins': {'inverted': False, 'type': 'interpolated', 'interpolation': 'linear'}}, u'Soil erodibility': {u'raster_uri': u'C:/temp_at_root/K-soil_erodibility.dat', u'bins': {'inverted': False, 'type': 'interpolated', 'interpolation': 'linear'}}, u'On-pixel retention': {u'bins': {u'value_field': u'Sed_Ret', u'raster_uri': u'/general_lulc.tif', u'uri': u'general_lulc_coefficients.csv', u'key_field': u'lulc_general'}}, u'Beneficiaries': {u'raster_uri': u'C:/temp_at_root/Beneficiaries_all_as_1_constant_raster_clip.tif', u'bins': {'inverted': False, 'type': 'interpolated', 'interpolation': 'linear'}}, u'On-pixel source': {u'bins': {u'value_field': u'Sed_Exp', u'raster_uri': u'/general_lulc.tif', u'uri': u'general_lulc_coefficients.csv', u'key_field': u'lulc_general'}}, u'Rainfall erosivity': {u'raster_uri': u'C:/temp_at_root/Global_R_soil_erosivity.tif', u'bins': {'inverted': False, 'type': 'interpolated', 'interpolation': 'linear'}}, u'Downslope retention index': {u'raster_uri': u'C:/temp_at_root/erosion_downslope_retention_index.tif', u'bins': {'inverted': False, 'type': 'interpolated', 'interpolation': 'linear'}}, u'Riparian continuity': {u'raster_uri': u'C:/temp_at_root/rip_cont_indx_er_down_ret_indx.tif', u'bins': {'inverted': False, 'type': 'interpolated', 'interpolation': 'linear'}}, u'Upslope source': {u'raster_uri': u'C:/temp_at_root/erosion_upslope_source.tif', u'bins': {'inverted': False, 'type': 'interpolated', 'interpolation': 'linear'}}}}} open_html_on_completion True priorities {u'revegetation_assisted': {u'erosion_reservoir_control': 1.0}, u'agricultural_vegetation_managment': {u'erosion_reservoir_control': 1.0}, u'fertilizer_management': {u'erosion_reservoir_control': 1.0}, u'keep_native_vegetation': {u'erosion_reservoir_control': 1.0}, u'ditching': {u'erosion_reservoir_control': 1.0}, u'revegetation_unassisted': {u'erosion_reservoir_control': 1.0}, u'pasture_management': {u'erosion_reservoir_control': 1.0}} transition_map {u'revegetation_assisted': {u'grass_strips': 0.5, u'riparian_mgmt': 1.0, u'terracing': 0.0, u'agroforestry': 0.5}, u'agricultural_vegetation_managment': {u'grass_strips': 0.75, u'riparian_mgmt': 0.75, u'terracing': 0.5, u'agroforestry': 0.75}, u'fertilizer_management': {u'grass_strips': 0.5, u'riparian_mgmt': 0.0, u'terracing': 0.0, u'agroforestry': 0.0}, u'keep_native_vegetation': {u'grass_strips': 0.75, u'riparian_mgmt': 1.0, u'terracing': 0.25, u'agroforestry': 0.25}, u'ditching': {u'grass_strips': 0.25, u'riparian_mgmt': 0.25, u'terracing': 0.25, u'agroforestry': 0.0}, u'revegetation_unassisted': {u'grass_strips': 0.25, u'riparian_mgmt': 0.75, u'terracing': 0.0, u'agroforestry': 0.25}, u'pasture_management': {u'grass_strips': 0.5, u'riparian_mgmt': 0.25, u'terracing': 0.25, u'agroforestry': 0.25}} transition_types [{u'file_name': u'keep_native_vegetation', u'transition_type': u'protection', u'id': u'trans1', u'label': u'Keep native \nvegetation'}, {u'file_name': u'revegetation_unassisted', u'transition_type': u'restoration', u'id': u'trans2', u'label': u'Revegetation \n(unassisted)'}, {u'file_name': u'revegetation_assisted', u'transition_type': u'restoration', u'id': u'trans3', u'label': u'Revegetation \n(assisted)'}, {u'file_name': u'agricultural_vegetation_managment', u'transition_type': u'agriculture', u'id': u'trans4', u'label': u'Agricultural \nvegetation \nmanagement'}, {u'file_name': u'ditching', u'transition_type': u'agriculture', u'id': u'trans5', u'label': u'Ditching'}, {u'file_name': u'fertilizer_management', u'transition_type': u'agriculture', u'id': u'trans6', u'label': u'Fertilizer \nmanagement'}, {u'file_name': u'pasture_management', u'transition_type': u'agriculture', u'id': u'trans7', u'label': u'Pasture \nmanagement'}] workspace_dir C:\Users\Gordon\temp_RIOS_Inv_Port_Adv 02/11/2020 20:02:18 root INFO Logging will be saved to natcap.rios-log-2020-02-11--20_02_18.txt 02/11/2020 20:02:18 root DEBUG Loaded the model from natcap.rios.rios 02/11/2020 20:02:18 root INFO Executing the loaded model 02/11/2020 20:02:18 root INFO Python architecture: ('32bit', 'WindowsPE') 02/11/2020 20:02:18 root INFO Disk space remaining for workspace: 235.53 GB an exception encountered when logging 02/11/2020 20:02:18 root INFO Pointing temporary directory at the workspace at C:\Users\Gordon\temp_RIOS_Inv_Port_Adv 02/11/2020 20:02:18 root INFO Updating os.environ["TMP"]=C:\Users\Gordon\AppData\Local\Temp to C:\Users\Gordon\temp_RIOS_Inv_Port_Adv 02/11/2020 20:02:18 root INFO Updating os.environ["TEMP"]=C:\Users\Gordon\AppData\Local\Temp to C:\Users\Gordon\temp_RIOS_Inv_Port_Adv 02/11/2020 20:02:18 root INFO Setting os.environ["TMPDIR"]=C:\Users\Gordon\temp_RIOS_Inv_Port_Adv 02/11/2020 20:02:18 root INFO Setting tempfile.tempdir to C:\Users\Gordon\temp_RIOS_Inv_Port_Adv\tmp 02/11/2020 20:02:18 root INFO Starting natcap.rios 02/11/2020 20:02:18 natcap.rios.ipa INFO ensuring that the optional objectives have non-empty factors 02/11/2020 20:02:18 natcap.rios.ipa DEBUG {u'erosion_reservoir_control': {u'rios_model_type': u'rios_tier_0', u'priorities': {u'revegetation_assisted': {u'Soil depth': 0.25, u'Soil erodibility': 0.25, u'On-pixel retention': u'~0.5', u'Beneficiaries': 1.0, u'On-pixel source': 0.25, u'Rainfall erosivity': 0.25, u'Downslope retention index': u'~1', u'Riparian continuity': 0.5, u'Upslope source': 1.0}, u'agricultural_vegetation_managment': {u'Soil depth': 0.25, u'Soil erodibility': 0.25, u'On-pixel retention': u'~0.5', u'Beneficiaries': 1.0, u'On-pixel source': 0.25, u'Rainfall erosivity': 0.25, u'Downslope retention index': u'~1', u'Riparian continuity': 0.5, u'Upslope source': 1.0}, u'fertilizer_management': {u'Soil depth': 0.25, u'Soil erodibility': 0.25, u'On-pixel retention': u'~0.5', u'Beneficiaries': 1.0, u'On-pixel source': 0.25, u'Rainfall erosivity': 0.25, u'Downslope retention index': u'~1', u'Riparian continuity': 0.5, u'Upslope source': 1.0}, u'keep_native_vegetation': {u'Soil depth': 0.25, u'Soil erodibility': 0.25, u'On-pixel retention': 0.5, u'Beneficiaries': 1.0, u'On-pixel source': u'~0.25', u'Rainfall erosivity': 0.25, u'Downslope retention index': u'~1', u'Riparian continuity': 0.5, u'Upslope source': 1.0}, u'ditching': {u'Soil depth': 0.25, u'Soil erodibility': 0.25, u'On-pixel retention': u'~0.5', u'Beneficiaries': 1.0, u'On-pixel source': 0.25, u'Rainfall erosivity': 0.25, u'Downslope retention index': u'~1', u'Riparian continuity': 0.5, u'Upslope source': 1.0}, u'revegetation_unassisted': {u'Soil depth': 0.25, u'Soil erodibility': 0.25, u'On-pixel retention': u'~0.5', u'Beneficiaries': 1.0, u'On-pixel source': 0.25, u'Rainfall erosivity': 0.25, u'Downslope retention index': u'~1', u'Riparian continuity': 0.5, u'Upslope source': 1.0}, u'pasture_management': {u'Soil depth': 0.25, u'Soil erodibility': 0.25, u'On-pixel retention': u'~0.5', u'Beneficiaries': 1.0, u'On-pixel source': 0.25, u'Rainfall erosivity': 0.25, u'Downslope retention index': u'~1', u'Riparian continuity': 0.5, u'Upslope source': 1.0}}, u'factors': {u'Soil depth': {u'raster_uri': u'C:/temp_at_root/soil_depth_copied.tif', u'bins': {'inverted': False, 'type': 'interpolated', 'interpolation': 'linear'}}, u'Soil erodibility': {u'raster_uri': u'C:/temp_at_root/K-soil_erodibility.dat', u'bins': {'inverted': False, 'type': 'interpolated', 'interpolation': 'linear'}}, u'On-pixel retention': {u'bins': {u'value_field': u'Sed_Ret', u'raster_uri': u'/general_lulc.tif', u'uri': u'general_lulc_coefficients.csv', u'key_field': u'lulc_general'}}, u'Beneficiaries': {u'raster_uri': u'C:/temp_at_root/Beneficiaries_all_as_1_constant_raster_clip.tif', u'bins': {'inverted': False, 'type': 'interpolated', 'interpolation': 'linear'}}, u'On-pixel source': {u'bins': {u'value_field': u'Sed_Exp', u'raster_uri': u'/general_lulc.tif', u'uri': u'general_lulc_coefficients.csv', u'key_field': u'lulc_general'}}, u'Rainfall erosivity': {u'raster_uri': u'C:/temp_at_root/Global_R_soil_erosivity.tif', u'bins': {'inverted': False, 'type': 'interpolated', 'interpolation': 'linear'}}, u'Downslope retention index': {u'raster_uri': u'C:/temp_at_root/erosion_downslope_retention_index.tif', u'bins': {'inverted': False, 'type': 'interpolated', 'interpolation': 'linear'}}, u'Riparian continuity': {u'raster_uri': u'C:/temp_at_root/rip_cont_indx_er_down_ret_indx.tif', u'bins': {'inverted': False, 'type': 'interpolated', 'interpolation': 'linear'}}, u'Upslope source': {u'raster_uri': u'C:/temp_at_root/erosion_upslope_source.tif', u'bins': {'inverted': False, 'type': 'interpolated', 'interpolation': 'linear'}}}}} 02/11/2020 20:02:18 natcap.rios.ipa INFO Updating references to the general LULC coefficients table 02/11/2020 20:02:18 natcap.rios.ipa DEBUG Updating objective/factor uri erosion_reservoir_control/On-pixel retention to C:/temp_at_root/biophys_table_ESACCI_draft_RIOS.csv 02/11/2020 20:02:18 natcap.rios.ipa DEBUG Updating objective/factor uri erosion_reservoir_control/On-pixel source to C:/temp_at_root/biophys_table_ESACCI_draft_RIOS.csv 02/11/2020 20:02:18 natcap.rios.ipa INFO Starting Water Funds Prioritizer 02/11/2020 20:02:18 natcap.rios.ipa INFO Looping through objectives to sort and prioritize 02/11/2020 20:02:18 natcap.rios.ipa INFO We're doing normalization because of interpolated 02/11/2020 20:02:18 root ERROR --------------------------------------------------- 02/11/2020 20:02:18 root ERROR ---------------------- ERROR ---------------------- 02/11/2020 20:02:18 root ERROR --------------------------------------------------- 02/11/2020 20:02:18 root ERROR Error: exception found while running natcap.rios 02/11/2020 20:02:18 root DEBUG 02/11/2020 20:02:18 root DEBUG Build details 02/11/2020 20:02:18 root DEBUG Interpreter 02/11/2020 20:02:18 root DEBUG Current temp dir: C:\Users\Gordon\temp_RIOS_Inv_Port_Adv\tmp 02/11/2020 20:02:18 root DEBUG tempfile.tempdir: C:\Users\Gordon\temp_RIOS_Inv_Port_Adv\tmp 02/11/2020 20:02:18 root DEBUG 02/11/2020 20:02:18 root DEBUG System 02/11/2020 20:02:18 root DEBUG OS : Windows-8-6.2.9200 02/11/2020 20:02:18 root DEBUG Processor architecture: AMD64 02/11/2020 20:02:18 root DEBUG FS encoding : mbcs 02/11/2020 20:02:18 root DEBUG Preferred encoding: cp1252 02/11/2020 20:02:18 root DEBUG 02/11/2020 20:02:18 root DEBUG Python 02/11/2020 20:02:18 root DEBUG Version : 2.7.9 02/11/2020 20:02:18 root DEBUG Build : ('default', 'Dec 10 2014 12:24:55') 02/11/2020 20:02:18 root DEBUG Compiler : MSC v.1500 32 bit (Intel) 02/11/2020 20:02:18 root DEBUG Implementation : CPython 02/11/2020 20:02:18 root DEBUG Architecture : 32bit 02/11/2020 20:02:18 root DEBUG Linkage format : WindowsPE 02/11/2020 20:02:18 root DEBUG 02/11/2020 20:02:18 root DEBUG Packages 02/11/2020 20:02:18 root DEBUG Cython : ? 02/11/2020 20:02:18 root DEBUG Numpy : 1.10.2rc1 02/11/2020 20:02:18 root DEBUG Scipy : 0.16.0b2 02/11/2020 20:02:18 root DEBUG OSGEO : 1.11.3 02/11/2020 20:02:18 root DEBUG Shapely : 1.5.5 02/11/2020 20:02:18 root DEBUG 02/11/2020 20:02:18 root DEBUG 02/11/2020 20:02:18 root DEBUG Exception not environment-related 02/11/2020 20:02:18 root DEBUG Printing traceback Traceback (most recent call last): File "C:\Users\natcap-servers\jenkins-home\workspace\natcap.rios\build\rios\out00-PYZ.pyz\natcap.rios.rui.executor", line 611, in runModel File "C:\Users\natcap-servers\jenkins-home\workspace\natcap.rios\build\rios\out00-PYZ.pyz\natcap.rios.rios", line 24, in execute File "C:\Users\natcap-servers\jenkins-home\workspace\natcap.rios\build\rios\out00-PYZ.pyz\natcap.rios.rios", line 174, in execute_30 File "C:\Users\natcap-servers\jenkins-home\workspace\natcap.rios\build\rios\out00-PYZ.pyz\natcap.rios.rios", line 1223, in _normalize_rasters File "C:\Users\natcap-servers\jenkins-home\workspace\natcap.rios\build\rios\out00-PYZ.pyz\natcap.rios.rios", line 1161, in _normalize_raster File "C:\Users\natcap-servers\jenkins-home\workspace\natcap.rios\build\rios\out00-PYZ.pyz\pygeoprocessing.geoprocessing", line 2308, in vectorize_datasets File "C:\Users\natcap-servers\jenkins-home\workspace\natcap.rios\build\rios\out00-PYZ.pyz\pygeoprocessing.geoprocessing", line 2010, in align_dataset_list File "C:\Users\natcap-servers\jenkins-home\workspace\natcap.rios\build\rios\out00-PYZ.pyz\pygeoprocessing.geoprocessing", line 1761, in assert_datasets_in_same_projection DatasetUnprojected: These datasets are unprojected set(['C:/temp_at_root/ESA_CCI_copied.tif', 'C:/temp_at_root/soil_depth_copied.tif']) None 02/11/2020 20:02:18 root ERROR Exiting due to failures 02/11/2020 20:02:18 root INFO Elapsed time: 0.13s