Random Forest failing looking for "Unknown"

29 views
Skip to first unread message

Michelle Fink

unread,
Mar 20, 2014, 6:20:38 PM3/20/14
to vistrai...@googlegroups.com
Colin had me all set up to run SAHM successfully on my computer, but I must have changed something important, because RandomForest keeps failing with the following error message:

Error: The R scipt returned the following warning(s). The R warning message is below -

Error in .local(.Object, ...) :

`C:\Michelle\cnhp_swap\userpackages_1_2\userpackages\sahm\pySAHM\Resources\R_Modules\Unknown' does not exist in the file system,

and is not recognised as a supported dataset name.


Error in .local(.Object, ...) :

`C:\Michelle\cnhp_swap\SWAP_outputs\SpruceFir\rf_SpruceFir_1\Unknown' does not exist in the file system,

and is not recognised as a supported dataset name.


...


Annotations:

errorTrace: Traceback (most recent call last):

File "C:\Michelle\cnhp_swap\VisTrails2.1_SAHM_x64_1.1.0\vistrails\vistrails\run.py", line 47, in <module>

userpackages_dir = os.environ['VISTRAILS_USERPACKAGES_DIR']

File "C:\Michelle\cnhp_swap\VisTrails2.1_SAHM_x64_1.1.0\vistrails\Python27_64\lib\os.py", line 423, in __getitem__

return self.data[key.upper()]

KeyError: 'VISTRAILS_USERPACKAGES_DIR'


I assume that "Unknown" really isn't an R-module or dataset. Thoughts on where to look to troubleshoot?

Michelle Fink

unread,
Mar 21, 2014, 5:32:45 PM3/21/14
to vistrai...@googlegroups.com
OK, I seem to have traced the problem with errors in the RastersWithPARCInfoCSV input/output. I'm not sure if the problem was in the PARC module or the MDSBuilder module, but re-running the pipeline didn't overwrite the csv (or use it as-is) but instead kept adding redundant records to it. Once I deleted the PARC_template.csv & re-ran, the models ran without errors. Now I know what to look for if I get the "Unknown" error again.

Talbert, Colin

unread,
Mar 24, 2014, 9:25:06 AM3/24/14
to Michelle Fink, vistrai...@googlegroups.com
Thanks for tracking that down Michelle.  I happened to notice that bug as I was working on the the SAHM 1.2 testing.  SAHM 1.2 should be out shortly and will have the fix.

Colin

Colin Talbert
GIS Analyst and Developer
US Geological Survey


USGS Fort Collins Science Center 
2150 Centre Ave. Bldg. C
Fort Collins, CO 80526

USGS North Central Climate Science Center

Work schedule:
Monday       - 7:00 - 3:00  (NC CSC)
Tuesday       -  7:00 - 3:00  (NC CSC)
Wednesday  -  7:00 - 3:00 (FORT)
Thursday      -  7:00 - 5:00 (NC CSC)
Friday          -  7:00 - 5:00 (FORT)


--
You received this message because you are subscribed to the Google Groups "VisTrails SAHM" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vistrails-sah...@googlegroups.com.
To post to this group, send email to vistrai...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply all
Reply to author
Forward
0 new messages