NOTICE: This version of the NSF Unidata web site (archive.unidata.ucar.edu) is no longer being updated.
Current content can be found at unidata.ucar.edu.
To learn about what's going on, see About the Archive Site.
Hi Bill, The visad spreadsheet was able to load in my csv file that had 7 input fields when I modified the header to what you suggested. However, I am trying to produce a 3-D glyph plot in which 3 fields are mapped to 3 parameters such as the x, y, and z axis, and 3 other fields mapped to 3 additional parameters local to that (x, y, z) point. However, when I load in my file with 7 input fields and create the mappings for a glyph plot, I only see about 3 small points on different faces of the cube rather than many points scattered throughout. Do you think the scarce number of plots could be from the values I gave each input field in my .csv file (some possibly too small) or could it be from the function I set up in the header?: (index) -> (GPA, Distance, Phone, Shoesize, Year, Xoffice, Yoffice, Firstname(Text), Lastname(Text)). I'm not exactly sure why these input fields like GPA and distance should be dependent variables and if they are going to be dependent variables, are you arbitrarily assigning the index to it? Thanks, Michelle >===== Original Message From Bill Hibbard <billh@xxxxxxxxxxxxx> ==== >Hi Michelle, > >> Attached is the csv file. I'm trying to map 7 input fields to the first and >> last string names. I tried separating the parameters in the first 2 lines >> with just blanks since that's what the documentation said: "commas should be >> avoided in the format pattern if a comma is used as he delimiter" but had >> the same error: "source could not be converted to a VisAD data object" > >You attached file was: > > (GPA, Distance, Phone, Shoesize, Year, Xoffice, Yoffice)->(Firstname(Text), Lastname(Text)), > GPA, Distance, Phone, Shoesize, Year, Xoffice, Yoffice, Firstname(Text), Lastname(Text) > 4,10,8479100,6,4,3,4," ""Michelle"""," ""Kam"" " > 2,3000,1234567,10,2,1,2," ""Hello"""," ""Goodbye""" > 2.5,5,5468972,8,2,4,9," ""Hi"""," ""Bye""" > >The first line indicates that you intend GPA, Distance, Phone, >Shoesize, Year, Xoffice and Yoffice are all independent variables. >These sould be dependent variables. I recommend the first line be: > > (index) -> (GPA, Distance, Phone, Shoesize, Year, Xoffice, Yoffice, Firstname(Text), Lastname(Text)) > >This will give you a MathType of: > > (index -> (GPA, Distance, Phone, Shoesize, Year, Xoffice, Yoffice, Firstname(Text), Lastname(Text))) > >I note that, at least in the examples at the end of README.text, >that the first lines are not really legal MathType notation? >Proper notation is (x -> y), not (x) -> (y). > >But in any case, by changing you first line you should get a >more managable Data object. > >Good luck, >Bill
visad
archives: