Coastal blue carbon - error with model run

Hello,

I'm having an error come up when I try to run the blue carbon model. I was able to run the preprocessor and use those outputs for the blue carbon model but I am getting the error "file not supported' (although I am inputting CSV files).

Attached is my logfile. Could one problem be if all the inputs to the model are not in the same folder? Also, I'm running this first run with no future LULC maps, just trying to get a current distribution of blue carbon and economic value.

I did notice someone else on the forum was also having a problem with this model, and I did download and install the Build that was suggested by jdouglass. But I've run it again and still get an error.

Thanks for any help you can provide! - Jackie


Arguments:
analysis_year              
carbon_pool_initial_uri    C:/Users/jmand/Documents/coastal_blue_carbon_workspace/outputs_preprocessor/carbon_pool_initial_Andros_run_41117.csv
carbon_pool_transient_uri  C:/Users/jmand/Documents/coastal_blue_carbon_workspace/outputs_preprocessor/carbon_pool_transient_Andros_run_41117.csv
discount_rate              6.0
do_economic_analysis       True
do_price_table             False
interest_rate              3.0
lulc_baseline_map_uri      C:/Users/jmand/Documents/Bahamas_Capstone/rast_reclas1.tif
lulc_baseline_year         2010
lulc_lookup_uri            C:/Users/jmand/Documents/coastal_blue_carbon_workspace/lulc_Andros_run_41117.csv
lulc_transition_maps_list  []
lulc_transition_matrix_uri C:/Users/jmand/Documents/coastal_blue_carbon_workspace/outputs_preprocessor/transitions_Andros_run_41117.csv
lulc_transition_years_list []
price                      10.0
results_suffix             
workspace_dir              C:\Users\jmand/Documents/coastal_blue_carbon_workspace


04/12/2017 15:11:44  root               INFO     Logging will be saved to natcap.invest.coastal_blue_carbon.coastal_blue_carbon-log-2017-04-12--15_11_44.txt
04/12/2017 15:11:44  root               DEBUG    Loaded the model from natcap.invest.coastal_blue_carbon.coastal_blue_carbon
04/12/2017 15:11:44  root               INFO     Executing the loaded model
04/12/2017 15:11:44  root               INFO     Running InVEST version "3.3.3"
04/12/2017 15:11:44  root               INFO     Python architecture: ('32bit', 'WindowsPE')
04/12/2017 15:11:44  root               INFO     Disk space remaining for workspace: 798.64 GB
04/12/2017 15:11:44  root               INFO     Pointing temporary directory at the workspace at C:\Users\jmand/Documents/coastal_blue_carbon_workspace
04/12/2017 15:11:44  root               INFO     Starting natcap.invest.coastal_blue_carbon.coastal_blue_carbon
04/12/2017 15:11:44  root               INFO     Setting tempfile.tempdir to C:\Users\jmand/Documents/coastal_blue_carbon_workspace\tmp
04/12/2017 15:11:44  natcap.invest.coastal_blue_carbon.coastal_blue_carbon INFO     Starting Coastal Blue Carbon model run...
04/12/2017 15:11:44  root               ERROR    ---------------------------------------------------
04/12/2017 15:11:44  root               ERROR    ---------------------- ERROR ----------------------
04/12/2017 15:11:44  root               ERROR    ---------------------------------------------------
04/12/2017 15:11:44  root               ERROR    Error: exception found while running natcap.invest.coastal_blue_carbon.coastal_blue_carbon
04/12/2017 15:11:44  root               DEBUG    
04/12/2017 15:11:44  root               DEBUG    Build details
04/12/2017 15:11:44  root               DEBUG    Interpreter
04/12/2017 15:11:44  root               DEBUG    Current temp dir: C:\Users\jmand/Documents/coastal_blue_carbon_workspace\tmp
04/12/2017 15:11:44  root               DEBUG    tempfile.tempdir: C:\Users\jmand/Documents/coastal_blue_carbon_workspace\tmp
04/12/2017 15:11:44  root               DEBUG    
04/12/2017 15:11:44  root               DEBUG    System
04/12/2017 15:11:44  root               DEBUG    OS              : Windows-8-6.2.9200
04/12/2017 15:11:44  root               DEBUG    Processor architecture: AMD64
04/12/2017 15:11:44  root               DEBUG    FS encoding     : mbcs
04/12/2017 15:11:44  root               DEBUG    Preferred encoding: cp1252
04/12/2017 15:11:44  root               DEBUG    
04/12/2017 15:11:44  root               DEBUG    Python
04/12/2017 15:11:44  root               DEBUG    Version         : 2.7.9
04/12/2017 15:11:44  root               DEBUG    Build           : ('default', 'Dec 10 2014 12:24:55')
04/12/2017 15:11:44  root               DEBUG    Compiler        : MSC v.1500 32 bit (Intel)
04/12/2017 15:11:44  root               DEBUG    Implementation  : CPython
04/12/2017 15:11:44  root               DEBUG    Architecture    : 32bit
04/12/2017 15:11:44  root               DEBUG    Linkage format  : WindowsPE
04/12/2017 15:11:44  root               DEBUG    
04/12/2017 15:11:44  root               DEBUG    Packages
04/12/2017 15:11:44  root               DEBUG    Cython          : ?
04/12/2017 15:11:44  root               DEBUG    Numpy           : 1.11.2
04/12/2017 15:11:44  root               DEBUG    Scipy           : 0.16.1
04/12/2017 15:11:44  root               DEBUG    OSGEO           : 1.11.3
04/12/2017 15:11:44  root               DEBUG    Shapely         : 1.5.5
04/12/2017 15:11:44  root               DEBUG    InVEST          : 3.3.3
04/12/2017 15:11:44  root               DEBUG    
04/12/2017 15:11:44  root               DEBUG    
04/12/2017 15:11:44  root               DEBUG    Exception not environment-related
04/12/2017 15:11:44  root               DEBUG    Printing traceback
Traceback (most recent call last):
  File "C:\Users\natcap-servers\jenkins-home\workspace\natcap.invest\label\GCE-windows-1\exe\build\invest\out00-PYZ.pyz\natcap.invest.iui.executor", line 620, in runModel
  File "C:\Users\natcap-servers\jenkins-home\workspace\natcap.invest\label\GCE-windows-1\exe\build\invest\out00-PYZ.pyz\natcap.invest.coastal_blue_carbon.coastal_blue_carbon", line 121, in execute
  File "C:\Users\natcap-servers\jenkins-home\workspace\natcap.invest\label\GCE-windows-1\exe\build\invest\out00-PYZ.pyz\natcap.invest.coastal_blue_carbon.coastal_blue_carbon", line 640, in get_inputs
  File "C:\Users\natcap-servers\jenkins-home\workspace\natcap.invest\label\GCE-windows-1\exe\build\invest\out00-PYZ.pyz\natcap.invest.coastal_blue_carbon.coastal_blue_carbon", line 639, in <genexpr>
KeyError: u''



 
Tagged:

Comments

  • jdouglassjdouglass Administrator, NatCap Staff
    Hi Jackie,
    It's likely that the 'file not supported' messages are warnings that can be safely ignored.

    For this KeyError, could you check that your CSV inputs don't have any blank lines?  Barring that, could you send your inputs to jdouglass@stanford.edu so I can take a look?
Sign In or Register to comment.