Why or what problem caused Resource Investment Optimization System (RIOS) to be deprecated?

Hello

I would like to know if anyone knows the reasons why the software is no longer available? It is no longer possible to download it from the NATCAP page.

My question is that at the beginning of 2020 I downloaded RIOS and I am doing an investigation with the software and I am prior to publishing results, but I want to know why NATCAP does not have it in the software anymore? do not recommend it? technical glitches? is not a recommended model?

I appreciate any information.

Hi @venuz -

I’m also sad that we’re no longer supporting RIOS. But it happened mainly because we don’t have the funding/resources to support it (heck, we never even ported the pre-processor out of ArcGIS). At the same time, we have been developing ROOT, which is not quite the same, but is more of an actual optimization tool. And there’s excellent work going on to incorporate RIOS into a web-based water evaluation tool (but at the moment, I cannot find my notes on who is working on this, it’s not NatCap.)

So it’s been removed not because it had any sort of major technical problem, but because we can’t support it. The results should still be good for a simple prioritization of management areas for freshwater services in a watershed.

~ Stacie

4 Likes

Hi, I appreciate the information, right now I am very sorry that the software is not monitored, however I would like to take advantage and ask if it is possible to clarify a question if it is possible for one of them.

I am having an error in the portfolio adviser, which indicates the following:

Initializing…
05/19/2021 17:13:42 natcap.rios.rios_ipa DEBUG {34: [u’educ_amb’, u’bue_practagric’, u’ abo_organ’, u’sist_ agrof’, u’cons_suelo’], 4: [u’educ_amb’, u’prot_bosque’, u’bue_practagric’, u’ abo_organ’, u’sist_ agrof’, u’cons_suelo’], 37: [u’educ_amb’, u’bue_practagric’], 45: [u’educ_amb’, u’prot_bosque’], 16: [u’educ_amb’], 21: [u’educ_amb’, u’prot_bosque’, u’bue_practagric’, u’ abo_organ’, u’cons_suelo’], 26: [u’educ_amb’, u’cons_suelo’]}
05/19/2021 17:13:42 root DEBUG Loading <module ‘natcap.rios.rios’ from ‘C:\PROGRA~1\RIOS 1.1.16 x86\natcap\rios\rios.pyc’> in frozen environment
Arguments:
activities {u’educ_amb’: {u’measurement_unit’: u’area’, u’measurement_value’: 10000.0, u’unit_cost’: 291.0}, u’prot_bosque’: {u’measurement_unit’: u’area’, u’measurement_value’: 10000.0, u’unit_cost’: 602.0}, u’bue_practagric’: {u’measurement_unit’: u’area’, u’measurement_value’: 10000.0, u’unit_cost’: 1380.0}, u’ abo_organ’: {u’measurement_unit’: u’area’, u’measurement_value’: 10000.0, u’unit_cost’: 212.0}, u’cons_suelo’: {u’measurement_unit’: u’area’, u’measurement_value’: 10000.0, u’unit_cost’: 555.0}, u’sist_ agrof’: {u’measurement_unit’: u’area’, u’measurement_value’: 10000.0, u’unit_cost’: 1771.0}}
activity_shapefiles []
budget_config {u’years_to_spend’: 2, u’activity_budget’: {u’educ_amb’: {u’budget_amount’: 100000.0}, u’prot_bosque’: {u’budget_amount’: 25000.0}, u’bue_practagric’: {u’budget_amount’: 90000.0}, u’ abo_organ’: {u’budget_amount’: 160000.0}, u’cons_suelo’: {u’budget_amount’: 50000.0}, u’sist_ agrof’: {u’budget_amount’: 75000.0}}, u’if_left_over’: u’Proportionally reallocate’, u’floating_budget’: 500000}
lulc_activity_potential_map {34: [u’educ_amb’, u’bue_practagric’, u’ abo_organ’, u’sist_ agrof’, u’cons_suelo’], 4: [u’educ_amb’, u’prot_bosque’, u’bue_practagric’, u’ abo_organ’, u’sist_ agrof’, u’cons_suelo’], 37: [u’educ_amb’, u’bue_practagric’], 45: [u’educ_amb’, u’prot_bosque’], 16: [u’educ_amb’], 21: [u’educ_amb’, u’prot_bosque’, u’bue_practagric’, u’ abo_organ’, u’cons_suelo’], 26: [u’educ_amb’, u’cons_suelo’]}
lulc_coefficients_table_uri D:/Insumos_RIOS/Modelo_RIOS/Datos_z1/rios_default_lulc_coefficients.csv
lulc_uri D:/Insumos_RIOS/Modelo_RIOS/Datos_z1/cobuso2020.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’D:/Insumos_RIOS/Modelo_RIOS/Datos_z1/soil_depth_z1.tif’, u’bins’: {‘inverted’: False, ‘type’: ‘interpolated’, ‘interpolation’: ‘linear’}}, u’Soil erodibility’: {u’raster_uri’: u’D:/Insumos_RIOS/Modelo_RIOS/Datos_z1/Factor_K_z1.tif’, 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’D:/Insumos_RIOS/Modelo_RIOS/Datos_z1/Beneficiarios.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’D:/Insumos_RIOS/Modelo_RIOS/Datos_z1/Factor_R_z1.tif’, u’bins’: {‘inverted’: False, ‘type’: ‘interpolated’, ‘interpolation’: ‘linear’}}, u’Downslope retention index’: {u’raster_uri’: u’D:/Insumos_RIOS/Modelo_RIOS/Pre_zona1/Output/erosion_downslope_retention_index_ocos_z_1.tif’, u’bins’: {‘inverted’: False, ‘type’: ‘interpolated’, ‘interpolation’: ‘linear’}}, u’Riparian continuity’: {u’raster_uri’: u’D:/Insumos_RIOS/Modelo_RIOS/Pre_zona1/Output/erosion_riparian_index_ocos_z_1.tif’, u’bins’: {‘inverted’: False, ‘type’: ‘interpolated’, ‘interpolation’: ‘linear’}}, u’Upslope source’: {u’raster_uri’: u’D:/Insumos_RIOS/Modelo_RIOS/Pre_zona1/Output/erosion_upslope_source_ocos_z_1.tif’, u’bins’: {‘inverted’: False, ‘type’: ‘interpolated’, ‘interpolation’: ‘linear’}}}}, u’groundwater_recharge’: {u’rios_model_type’: u’rios_tier_0’, u’priorities’: {u’revegetation_assisted’: {u’Preferential Recharge Areas’: 1.0, u’Actual Evapotranspiration’: u’~0.2’, u’Soil depth’: 0.5, u’Annual Average Rainfall’: 0.2, u’Soil Texture Index’: u’~0.2’, u’Vegetative Cover Index’: u’~0.2’, u’Beneficiaries’: 1.0, u’Downslope retention index’: u’~1’, u’Upslope source’: 1.0, u’Slope Index’: u’~0.2’, u’Land Use Land Cover Retention at pixel’: u’~0.5’}, u’agricultural_vegetation_managment’: {u’Preferential Recharge Areas’: 1.0, u’Actual Evapotranspiration’: u’~0.2’, u’Soil depth’: 0.5, u’Annual Average Rainfall’: 0.2, u’Soil Texture Index’: u’~0.2’, u’Vegetative Cover Index’: u’~0.2’, u’Beneficiaries’: 1.0, u’Downslope retention index’: u’~1’, u’Upslope source’: 1.0, u’Slope Index’: u’~0.2’, u’Land Use Land Cover Retention at pixel’: u’~0.5’}, u’fertilizer_management’: {u’Preferential Recharge Areas’: 1.0, u’Actual Evapotranspiration’: u’~0.2’, u’Soil depth’: 0.5, u’Annual Average Rainfall’: 0.2, u’Soil Texture Index’: u’~0.2’, u’Vegetative Cover Index’: u’~0.2’, u’Beneficiaries’: 1.0, u’Downslope retention index’: u’~1’, u’Upslope source’: 1.0, u’Slope Index’: u’~0.2’, u’Land Use Land Cover Retention at pixel’: u’~0.5’}, u’keep_native_vegetation’: {u’Preferential Recharge Areas’: 1.0, u’Actual Evapotranspiration’: u’~0.2’, u’Soil depth’: 0.5, u’Annual Average Rainfall’: 0.2, u’Soil Texture Index’: u’~0.2’, u’Vegetative Cover Index’: 0.2, u’Beneficiaries’: 1.0, u’Downslope retention index’: u’~1’, u’Upslope source’: 1.0, u’Slope Index’: u’~0.2’, u’Land Use Land Cover Retention at pixel’: 0.5}, u’ditching’: {u’Preferential Recharge Areas’: 1.0, u’Actual Evapotranspiration’: u’~0.2’, u’Soil depth’: 0.5, u’Annual Average Rainfall’: 0.2, u’Soil Texture Index’: u’~0.2’, u’Vegetative Cover Index’: u’~0.2’, u’Beneficiaries’: 1.0, u’Downslope retention index’: u’~1’, u’Upslope source’: 1.0, u’Slope Index’: u’~0.2’, u’Land Use Land Cover Retention at pixel’: u’~0.5’}, u’revegetation_unassisted’: {u’Preferential Recharge Areas’: 1.0, u’Actual Evapotranspiration’: u’~0.2’, u’Soil depth’: 0.5, u’Annual Average Rainfall’: 0.2, u’Soil Texture Index’: u’~0.2’, u’Vegetative Cover Index’: u’~0.2’, u’Beneficiaries’: 1.0, u’Downslope retention index’: u’~1’, u’Upslope source’: 1.0, u’Slope Index’: u’~0.2’, u’Land Use Land Cover Retention at pixel’: u’~0.5’}, u’pasture_management’: {u’Preferential Recharge Areas’: 1.0, u’Actual Evapotranspiration’: u’~0.2’, u’Soil depth’: 0.5, u’Annual Average Rainfall’: 0.2, u’Soil Texture Index’: u’~0.2’, u’Vegetative Cover Index’: u’~0.2’, u’Beneficiaries’: 1.0, u’Downslope retention index’: u’~1’, u’Upslope source’: 1.0, u’Slope Index’: u’~0.2’, u’Land Use Land Cover Retention at pixel’: u’~0.5’}}, u’factors’: {u’Preferential Recharge Areas’: {u’raster_uri’: u’D:/Insumos_RIOS/Modelo_Produccion_agua_INVEST/capas_modelo_WY/zona1_/output/per_pixel/wyield_ocosito1.tif’, u’bins’: {‘inverted’: False, ‘type’: ‘interpolated’, ‘interpolation’: ‘linear’}}, u’Actual Evapotranspiration’: {u’raster_uri’: u’D:/Insumos_RIOS/Modelo_RIOS/Datos_z1/ETP_Z1.tif’, u’bins’: {‘interpolation’: ‘linear’, ‘type’: ‘interpolated’, ‘inverted’: False}}, u’Soil depth’: {u’raster_uri’: u’D:/Insumos_RIOS/Modelo_RIOS/Data/soil_depth_z1.tif’, u’bins’: {‘inverted’: False, ‘type’: ‘interpolated’, ‘interpolation’: ‘linear’}}, u’Annual Average Rainfall’: {u’raster_uri’: u’D:/Insumos_RIOS/Modelo_RIOS/Datos_z1/Pcp_anual_z1.tif’, u’bins’: {‘inverted’: False, ‘type’: ‘interpolated’, ‘interpolation’: ‘linear’}}, u’Soil Texture Index’: {u’raster_uri’: u’D:/Insumos_RIOS/Modelo_RIOS/Datos_z1/Text_usda_z1.tif’, u’bins’: {‘inverted’: False, ‘type’: ‘interpolated’, ‘interpolation’: ‘linear’}}, u’Vegetative Cover Index’: {u’bins’: {u’value_field’: u’Cover_Rank’, 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’D:/Insumos_RIOS/Modelo_RIOS/Datos_z1/Beneficiarios.tif’, u’bins’: {‘inverted’: False, ‘type’: ‘interpolated’, ‘interpolation’: ‘linear’}}, u’Downslope retention index’: {u’raster_uri’: u’D:/Insumos_RIOS/Modelo_RIOS/Pre_zona1/Output/gwater_bflow_downslope_retention_index_ocos_z_1.tif’, u’bins’: {‘interpolation’: ‘linear’, ‘type’: ‘interpolated’, ‘inverted’: False}}, u’Upslope source’: {u’raster_uri’: u’D:/Insumos_RIOS/Modelo_RIOS/Pre_zona1/Output/gwater_bflow_upslope_source_ocos_z_1.tif’, u’bins’: {‘inverted’: False, ‘type’: ‘interpolated’, ‘interpolation’: ‘linear’}}, u’Slope Index’: {u’raster_uri’: u’D:/Insumos_RIOS/Modelo_RIOS/Pre_zona1/Output/gwater_bflow_slope_index_ocos_z_1.tif’, u’bins’: {‘inverted’: False, ‘type’: ‘interpolated’, ‘interpolation’: ‘linear’}}, u’Land Use Land Cover Retention at pixel’: {u’bins’: {u’value_field’: u’Rough_Rank’, u’raster_uri’: u’/general_lulc.tif’, u’uri’: u’general_lulc_coefficients.csv’, u’key_field’: u’lulc_general’}}}}}
open_html_on_completion True
priorities {u’revegetation_assisted’: {u’erosion_reservoir_control’: 0.95, u’groundwater_recharge’: 0.9}, u’agricultural_vegetation_managment’: {u’erosion_reservoir_control’: 1.0, u’groundwater_recharge’: 0.7}, u’fertilizer_management’: {u’erosion_reservoir_control’: 0.8, u’groundwater_recharge’: 1.0}, u’keep_native_vegetation’: {u’erosion_reservoir_control’: 1.0, u’groundwater_recharge’: 0.8}, u’ditching’: {u’erosion_reservoir_control’: 0.5, u’groundwater_recharge’: 0.5}, u’revegetation_unassisted’: {u’erosion_reservoir_control’: 0.92, u’groundwater_recharge’: 0.8}, u’pasture_management’: {u’erosion_reservoir_control’: 0.5, u’groundwater_recharge’: 0.8}}
results_suffix ocos
transition_map {u’revegetation_assisted’: {u’educ_amb’: 1.0, u’prot_bosque’: 1.0, u’bue_practagric’: 0.0, u’ abo_organ’: 0.0, u’cons_suelo’: 0.0, u’sist_ agrof’: 1.0}, u’agricultural_vegetation_managment’: {u’educ_amb’: 1.0, u’prot_bosque’: 0.0, u’bue_practagric’: 1.0, u’ abo_organ’: 1.0, u’cons_suelo’: 1.0, u’sist_ agrof’: 1.0}, u’fertilizer_management’: {u’educ_amb’: 1.0, u’prot_bosque’: 0.0, u’bue_practagric’: 1.0, u’ abo_organ’: 1.0, u’cons_suelo’: 1.0, u’sist_ agrof’: 1.0}, u’keep_native_vegetation’: {u’educ_amb’: 1.0, u’prot_bosque’: 1.0, u’bue_practagric’: 0.0, u’ abo_organ’: 0.0, u’cons_suelo’: 0.0, u’sist_ agrof’: 0.0}, u’ditching’: {u’educ_amb’: 1.0, u’prot_bosque’: 0.5, u’bue_practagric’: 0.5, u’ abo_organ’: 1.0, u’cons_suelo’: 1.0, u’sist_ agrof’: 0.5}, u’revegetation_unassisted’: {u’educ_amb’: 1.0, u’prot_bosque’: 1.0, u’bue_practagric’: 0.0, u’ abo_organ’: 0.0, u’cons_suelo’: 0.0, u’sist_ agrof’: 0.0}, u’pasture_management’: {u’educ_amb’: 1.0, u’prot_bosque’: 0.0, u’bue_practagric’: 0.0, u’ abo_organ’: 0.0, u’cons_suelo’: 0.5, u’sist_ agrof’: 0.0}}
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 D:\Insumos_RIOS\Modelo_RIOS\corrida_RIOSinvestment_Portafolio_Adviser

05/19/2021 17:13:42 root INFO Logging will be saved to natcap.rios-log-2021-05-19–17_13_42.txt
05/19/2021 17:13:42 root DEBUG Loaded the model from natcap.rios.rios
05/19/2021 17:13:42 root INFO Executing the loaded model
05/19/2021 17:13:42 root INFO Python architecture: (‘32bit’, ‘WindowsPE’)
05/19/2021 17:13:42 root INFO Disk space remaining for workspace: 1.16 TB
an exception encountered when logging
05/19/2021 17:13:42 root INFO Pointing temporary directory at the workspace at D:\Insumos_RIOS\Modelo_RIOS\corrida_RIOSinvestment_Portafolio_Adviser
05/19/2021 17:13:42 root INFO Updating os.environ[“TMP”]=C:\Users\Ve\AppData\Local\Temp to D:\Insumos_RIOS\Modelo_RIOS\corrida_RIOSinvestment_Portafolio_Adviser
05/19/2021 17:13:42 root INFO Updating os.environ[“TEMP”]=C:\Users\Ve\AppData\Local\Temp to D:\Insumos_RIOS\Modelo_RIOS\corrida_RIOSinvestment_Portafolio_Adviser
05/19/2021 17:13:42 root INFO Setting os.environ[“TMPDIR”]=D:\Insumos_RIOS\Modelo_RIOS\corrida_RIOSinvestment_Portafolio_Adviser
05/19/2021 17:13:42 root INFO Setting tempfile.tempdir to D:\Insumos_RIOS\Modelo_RIOS\corrida_RIOSinvestment_Portafolio_Adviser\tmp
05/19/2021 17:13:42 root INFO Starting natcap.rios
05/19/2021 17:13:42 natcap.rios.ipa INFO ensuring that the optional objectives have non-empty factors
05/19/2021 17:13:42 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’D:/Insumos_RIOS/Modelo_RIOS/Datos_z1/soil_depth_z1.tif’, u’bins’: {‘inverted’: False, ‘type’: ‘interpolated’, ‘interpolation’: ‘linear’}}, u’Soil erodibility’: {u’raster_uri’: u’D:/Insumos_RIOS/Modelo_RIOS/Datos_z1/Factor_K_z1.tif’, 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’D:/Insumos_RIOS/Modelo_RIOS/Datos_z1/Beneficiarios.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’D:/Insumos_RIOS/Modelo_RIOS/Datos_z1/Factor_R_z1.tif’, u’bins’: {‘inverted’: False, ‘type’: ‘interpolated’, ‘interpolation’: ‘linear’}}, u’Downslope retention index’: {u’raster_uri’: u’D:/Insumos_RIOS/Modelo_RIOS/Pre_zona1/Output/erosion_downslope_retention_index_ocos_z_1.tif’, u’bins’: {‘inverted’: False, ‘type’: ‘interpolated’, ‘interpolation’: ‘linear’}}, u’Riparian continuity’: {u’raster_uri’: u’D:/Insumos_RIOS/Modelo_RIOS/Pre_zona1/Output/erosion_riparian_index_ocos_z_1.tif’, u’bins’: {‘inverted’: False, ‘type’: ‘interpolated’, ‘interpolation’: ‘linear’}}, u’Upslope source’: {u’raster_uri’: u’D:/Insumos_RIOS/Modelo_RIOS/Pre_zona1/Output/erosion_upslope_source_ocos_z_1.tif’, u’bins’: {‘inverted’: False, ‘type’: ‘interpolated’, ‘interpolation’: ‘linear’}}}}, u’groundwater_recharge’: {u’rios_model_type’: u’rios_tier_0’, u’priorities’: {u’revegetation_assisted’: {u’Preferential Recharge Areas’: 1.0, u’Actual Evapotranspiration’: u’~0.2’, u’Soil depth’: 0.5, u’Annual Average Rainfall’: 0.2, u’Soil Texture Index’: u’~0.2’, u’Vegetative Cover Index’: u’~0.2’, u’Beneficiaries’: 1.0, u’Downslope retention index’: u’~1’, u’Upslope source’: 1.0, u’Slope Index’: u’~0.2’, u’Land Use Land Cover Retention at pixel’: u’~0.5’}, u’agricultural_vegetation_managment’: {u’Preferential Recharge Areas’: 1.0, u’Actual Evapotranspiration’: u’~0.2’, u’Soil depth’: 0.5, u’Annual Average Rainfall’: 0.2, u’Soil Texture Index’: u’~0.2’, u’Vegetative Cover Index’: u’~0.2’, u’Beneficiaries’: 1.0, u’Downslope retention index’: u’~1’, u’Upslope source’: 1.0, u’Slope Index’: u’~0.2’, u’Land Use Land Cover Retention at pixel’: u’~0.5’}, u’fertilizer_management’: {u’Preferential Recharge Areas’: 1.0, u’Actual Evapotranspiration’: u’~0.2’, u’Soil depth’: 0.5, u’Annual Average Rainfall’: 0.2, u’Soil Texture Index’: u’~0.2’, u’Vegetative Cover Index’: u’~0.2’, u’Beneficiaries’: 1.0, u’Downslope retention index’: u’~1’, u’Upslope source’: 1.0, u’Slope Index’: u’~0.2’, u’Land Use Land Cover Retention at pixel’: u’~0.5’}, u’keep_native_vegetation’: {u’Preferential Recharge Areas’: 1.0, u’Actual Evapotranspiration’: u’~0.2’, u’Soil depth’: 0.5, u’Annual Average Rainfall’: 0.2, u’Soil Texture Index’: u’~0.2’, u’Vegetative Cover Index’: 0.2, u’Beneficiaries’: 1.0, u’Downslope retention index’: u’~1’, u’Upslope source’: 1.0, u’Slope Index’: u’~0.2’, u’Land Use Land Cover Retention at pixel’: 0.5}, u’ditching’: {u’Preferential Recharge Areas’: 1.0, u’Actual Evapotranspiration’: u’~0.2’, u’Soil depth’: 0.5, u’Annual Average Rainfall’: 0.2, u’Soil Texture Index’: u’~0.2’, u’Vegetative Cover Index’: u’~0.2’, u’Beneficiaries’: 1.0, u’Downslope retention index’: u’~1’, u’Upslope source’: 1.0, u’Slope Index’: u’~0.2’, u’Land Use Land Cover Retention at pixel’: u’~0.5’}, u’revegetation_unassisted’: {u’Preferential Recharge Areas’: 1.0, u’Actual Evapotranspiration’: u’~0.2’, u’Soil depth’: 0.5, u’Annual Average Rainfall’: 0.2, u’Soil Texture Index’: u’~0.2’, u’Vegetative Cover Index’: u’~0.2’, u’Beneficiaries’: 1.0, u’Downslope retention index’: u’~1’, u’Upslope source’: 1.0, u’Slope Index’: u’~0.2’, u’Land Use Land Cover Retention at pixel’: u’~0.5’}, u’pasture_management’: {u’Preferential Recharge Areas’: 1.0, u’Actual Evapotranspiration’: u’~0.2’, u’Soil depth’: 0.5, u’Annual Average Rainfall’: 0.2, u’Soil Texture Index’: u’~0.2’, u’Vegetative Cover Index’: u’~0.2’, u’Beneficiaries’: 1.0, u’Downslope retention index’: u’~1’, u’Upslope source’: 1.0, u’Slope Index’: u’~0.2’, u’Land Use Land Cover Retention at pixel’: u’~0.5’}}, u’factors’: {u’Preferential Recharge Areas’: {u’raster_uri’: u’D:/Insumos_RIOS/Modelo_Produccion_agua_INVEST/capas_modelo_WY/zona1_/output/per_pixel/wyield_ocosito1.tif’, u’bins’: {‘inverted’: False, ‘type’: ‘interpolated’, ‘interpolation’: ‘linear’}}, u’Actual Evapotranspiration’: {u’raster_uri’: u’D:/Insumos_RIOS/Modelo_RIOS/Datos_z1/ETP_Z1.tif’, u’bins’: {‘interpolation’: ‘linear’, ‘type’: ‘interpolated’, ‘inverted’: False}}, u’Soil depth’: {u’raster_uri’: u’D:/Insumos_RIOS/Modelo_RIOS/Data/soil_depth_z1.tif’, u’bins’: {‘inverted’: False, ‘type’: ‘interpolated’, ‘interpolation’: ‘linear’}}, u’Annual Average Rainfall’: {u’raster_uri’: u’D:/Insumos_RIOS/Modelo_RIOS/Datos_z1/Pcp_anual_z1.tif’, u’bins’: {‘inverted’: False, ‘type’: ‘interpolated’, ‘interpolation’: ‘linear’}}, u’Soil Texture Index’: {u’raster_uri’: u’D:/Insumos_RIOS/Modelo_RIOS/Datos_z1/Text_usda_z1.tif’, u’bins’: {‘inverted’: False, ‘type’: ‘interpolated’, ‘interpolation’: ‘linear’}}, u’Vegetative Cover Index’: {u’bins’: {u’value_field’: u’Cover_Rank’, 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’D:/Insumos_RIOS/Modelo_RIOS/Datos_z1/Beneficiarios.tif’, u’bins’: {‘inverted’: False, ‘type’: ‘interpolated’, ‘interpolation’: ‘linear’}}, u’Downslope retention index’: {u’raster_uri’: u’D:/Insumos_RIOS/Modelo_RIOS/Pre_zona1/Output/gwater_bflow_downslope_retention_index_ocos_z_1.tif’, u’bins’: {‘interpolation’: ‘linear’, ‘type’: ‘interpolated’, ‘inverted’: False}}, u’Upslope source’: {u’raster_uri’: u’D:/Insumos_RIOS/Modelo_RIOS/Pre_zona1/Output/gwater_bflow_upslope_source_ocos_z_1.tif’, u’bins’: {‘inverted’: False, ‘type’: ‘interpolated’, ‘interpolation’: ‘linear’}}, u’Slope Index’: {u’raster_uri’: u’D:/Insumos_RIOS/Modelo_RIOS/Pre_zona1/Output/gwater_bflow_slope_index_ocos_z_1.tif’, u’bins’: {‘inverted’: False, ‘type’: ‘interpolated’, ‘interpolation’: ‘linear’}}, u’Land Use Land Cover Retention at pixel’: {u’bins’: {u’value_field’: u’Rough_Rank’, u’raster_uri’: u’/general_lulc.tif’, u’uri’: u’general_lulc_coefficients.csv’, u’key_field’: u’lulc_general’}}}}}
05/19/2021 17:13:42 natcap.rios.ipa INFO Updating references to the general LULC coefficients table
05/19/2021 17:13:42 natcap.rios.ipa DEBUG Updating objective/factor uri erosion_reservoir_control/On-pixel retention to D:/Insumos_RIOS/Modelo_RIOS/Datos_z1/rios_default_lulc_coefficients.csv
05/19/2021 17:13:42 natcap.rios.ipa DEBUG Updating objective/factor uri erosion_reservoir_control/On-pixel source to D:/Insumos_RIOS/Modelo_RIOS/Datos_z1/rios_default_lulc_coefficients.csv
05/19/2021 17:13:42 natcap.rios.ipa DEBUG Updating objective/factor uri groundwater_recharge/Vegetative Cover Index to D:/Insumos_RIOS/Modelo_RIOS/Datos_z1/rios_default_lulc_coefficients.csv
05/19/2021 17:13:42 natcap.rios.ipa DEBUG Updating objective/factor uri groundwater_recharge/Land Use Land Cover Retention at pixel to D:/Insumos_RIOS/Modelo_RIOS/Datos_z1/rios_default_lulc_coefficients.csv
05/19/2021 17:13:42 natcap.rios.ipa INFO Starting Water Funds Prioritizer
05/19/2021 17:13:42 natcap.rios.ipa INFO Looping through objectives to sort and prioritize
05/19/2021 17:13:42 natcap.rios.ipa INFO We’re doing normalization because of interpolated
05/19/2021 17:13:48 pygeoprocessing.geoprocessing INFO raster stack calculation approx. 12.50% complete
05/19/2021 17:13:48 natcap.rios.ipa INFO We’re doing normalization because of interpolated
C:\PROGRA~1\RIOS 1.1.16 x86\natcap\rios\rios.py:1152: RuntimeWarning: overflow encountered in divide
05/19/2021 17:13:48 natcap.rios.ipa DEBUG it was defined, must need a LULC
05/19/2021 17:13:48 root ERROR ---------------------------------------------------
05/19/2021 17:13:48 root ERROR ---------------------- ERROR ----------------------
05/19/2021 17:13:48 root ERROR ---------------------------------------------------
05/19/2021 17:13:48 root ERROR Error: exception found while running natcap.rios
05/19/2021 17:13:48 root DEBUG
05/19/2021 17:13:48 root DEBUG Build details
05/19/2021 17:13:48 root DEBUG Interpreter
05/19/2021 17:13:48 root DEBUG Current temp dir: D:\Insumos_RIOS\Modelo_RIOS\corrida_RIOSinvestment_Portafolio_Adviser\tmp
05/19/2021 17:13:48 root DEBUG tempfile.tempdir: D:\Insumos_RIOS\Modelo_RIOS\corrida_RIOSinvestment_Portafolio_Adviser\tmp
05/19/2021 17:13:48 root DEBUG
05/19/2021 17:13:48 root DEBUG System
05/19/2021 17:13:48 root DEBUG OS : Windows-8-6.2.9200
05/19/2021 17:13:48 root DEBUG Processor architecture: AMD64
05/19/2021 17:13:48 root DEBUG FS encoding : mbcs
05/19/2021 17:13:48 root DEBUG Preferred encoding: cp1252
05/19/2021 17:13:48 root DEBUG
05/19/2021 17:13:48 root DEBUG Python
05/19/2021 17:13:48 root DEBUG Version : 2.7.9
05/19/2021 17:13:48 root DEBUG Build : (‘default’, ‘Dec 10 2014 12:24:55’)
05/19/2021 17:13:48 root DEBUG Compiler : MSC v.1500 32 bit (Intel)
05/19/2021 17:13:48 root DEBUG Implementation : CPython
05/19/2021 17:13:48 root DEBUG Architecture : 32bit
05/19/2021 17:13:48 root DEBUG Linkage format : WindowsPE
05/19/2021 17:13:48 root DEBUG
05/19/2021 17:13:48 root DEBUG Packages
05/19/2021 17:13:48 root DEBUG Cython : ?
05/19/2021 17:13:48 root DEBUG Numpy : 1.10.2rc1
05/19/2021 17:13:48 root DEBUG Scipy : 0.16.0b2
05/19/2021 17:13:48 root DEBUG OSGEO : 1.11.3
05/19/2021 17:13:48 root DEBUG Shapely : 1.5.5
05/19/2021 17:13:48 root DEBUG
05/19/2021 17:13:48 root DEBUG
05/19/2021 17:13:48 root DEBUG Exception not environment-related
05/19/2021 17:13:48 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 1227, in _normalize_rasters
File “C:\Users\natcap-servers\jenkins-home\workspace\natcap.rios\build\rios\out00-PYZ.pyz\natcap.rios.rios”, line 1365, in _map_raster_to_table
File “C:\Users\natcap-servers\jenkins-home\workspace\natcap.rios\build\rios\out00-PYZ.pyz\pygeoprocessing.geoprocessing”, line 2473, in get_lookup_from_table
File “C:\Users\natcap-servers\jenkins-home\workspace\natcap.rios\build\rios\out00-PYZ.pyz\pygeoprocessing.fileio”, line 257, in init
File “C:\Users\natcap-servers\jenkins-home\workspace\natcap.rios\build\rios\out00-PYZ.pyz\pygeoprocessing.fileio”, line 156, in read_table
TypeError: float() argument must be a string or a number
None

05/19/2021 17:13:48 root ERROR Exiting due to failures

encountered: float () argument must be a string or a number

thanks for any support

Hi @venuz,

As Stacie mentioned we can try to assist with some simple debugging but have limited resources to look too closely into RIOS anymore. Could you attach the logfile that you pasted? It will make it easier for us to look through.

The error seems to indicate that a RIOS table input has a data entry that should reflect a floating point number but does not. I’m not up to speed on the inputs required for RIOS, but I’d start by looking at table inputs that are required and should be floating point values, there might be one that is empty or malformed.

Best,

Doug

Hello

Thank you very much, I am attaching screenshots of the tabs and the required information.



image
image
image
image

Thank you @venuz. Please also attach the log file (.txt) that is in your Workspace.

And it is possible that the problem is related to your coefficient table. Please also attach your input tables rios_default_lulc_coefficients.csv and Lulch_ocos.csv. Thanks again!

~ Stacie

1 Like

ok, attached as requested

Lulch_ocos.csv (359 Bytes)
rios_default_lulc_coefficients.csv (4.5 KB)

Hello, does anyone have any idea where my error is? I still can’t solve it. I appreciate any help

Hi @venuz,
Can you please also attach your log file (.txt) that’s in your RIOS workspace directory?

Hi @venuz -

Thanks for posting your tables, and sorry for not seeing them until now. It looks like you have a lot of land cover types in rios_default_lulc_coefficients.csv, but only a few land cover types in Lulch_ocos.csv. Does your land cover map have 53 classes, as are listed in the lulc_coefficients table? If so, all of those classes need to be included in Lulch_ocos.csv, even if no activities are being done on them. If no activities are being done on a class, they can receive values of all zero.

That’s my guess as to what’s causing the error. Try updating Lulch_ocos.csv and let us know if that helps.

~ Stacie

1 Like

Hello,I am a graduate student from China,and I am now doing research on the Rios model,but because the software is not available now,I would like to know if you can share the software with me.

1 Like

Hello,venuz,I downloaded your activity form,and I found that the format is the same as the requirements mentioned inthe manual,and I couldn"t find it.Can you tell me the specific format of this activity table?

Hi @nishang1 -

Here is sample data that we used to provide for RIOS, which you can use to see how your input data should be formatted.

~ Stacie

I am sorry to reply so late,and thank you for your help.

Hi,@swolny .I found an embarrassing thing.The sample data you sent me couldn’t be opened.Could I trouble you to send it to me again?

@nishang1 Apologies for that, I’m having problems with Dropbox, which has just decided not to let me share files with anyone, I don’t know what’s going wrong. Try again with this link. If that doesn’t work, and you have access to Google, here’s a link to the same data in Google Drive, perhaps that will work better? The file is too large to upload directly to the forum unfortunately. If neither of those work, I’ll try to find somewhere else to upload.

~ Stacie