MDSBuilder AttributeError 'str' object has no attribute 'name'

42 views
Skip to first unread message

Michelle Emily DePrenger-Levin

unread,
May 1, 2017, 3:42:53 PM5/1/17
to VisTrails SAHM
I believe I just can't find the directions for how to correctly connect all the widgets. I'm running a model on an old climate data set (worldclim's past conditions) and then I'm using ApplyModel to apply to the current worldclim layers. 

I've added new TemplateLayer, OutputName (with the same name as the initial run), and PreditorListFile with the current layers all going to PARC and then MDSBuilder. Then MDSBuilder goes to ApplyModel. The first run of BRT, GLM, MARS, RF, and MaxEnt link to the ApplyModels as well. I don't seem to get that far because I get the error at MDSBuilder "Uncaught exception: AttributeError: 'str' object has no attribute 'name'"


I currently don't have anything in the RastersWithPARCInfoCSV folder connection because I don't know what I should be connecting to. Is that what's missing? 

Thanks for any advice!

Michelle

Talbert, Colin

unread,
May 1, 2017, 3:52:05 PM5/1/17
to Michelle Emily DePrenger-Levin, VisTrails SAHM
Hello Emily,

Have you taken a look at history node titled 'Apply Brewer's to future climate' in the tutorial?  It provides an example of how one would set up a workflow applying a model to future climate layers.

--Colin

Colin Talbert
Data Manager, Analyst and Developer
US Geological Survey, Fort Collins Science Center 
2150 Centre Ave. Bldg. C
Fort Collins, CO 80526


Work schedule:
Monday                     - 7:00 - 5:00 
Tuesday - Friday      -  7:00 - 3:00

--
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-sahm+unsubscribe@googlegroups.com.
To post to this group, send email to vistrails-sahm@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Michelle Emily DePrenger-Levin

unread,
May 16, 2017, 12:58:41 PM5/16/17
to VisTrails SAHM, miche...@gmail.com
Hi Colin,

As far as I can tell, my apply model setup matches 'Apply Brewer's to future climate'. I still have the missing name error. Looks like it's fine for the OutputName widget in the first model doesn't have to match the OutputName [subfolder_name] or the [run_name] for the applied one - that will just make more folders? I'm not sure what other parts of other widgets to look for adding the missing name. Any suggestions?

Michelle
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.

Michelle Emily DePrenger-Levin

unread,
May 16, 2017, 1:52:40 PM5/16/17
to VisTrails SAHM, miche...@gmail.com
Making a few other changes from mine to match Brewers, when I get rid of text in OutputNameInfo in the MDSBuilder, I switch to the error: "Uncaught exception creating Constant from AttributeError 'OutputNameInfo' object has no attribute default_value".

My MDSBuilder has four Input ports showing but the input port "run_name_info" is greyed out. The Brewers example does not have any text in "OutputNameInfo" (under "run_name_info" and has a clear box. 
Reply all
Reply to author
Forward
0 new messages