Hello everyone, I have a bit of a dilemma that I hope you can help me with. My netCDF data is composed of several fields, each of which is one variable of oceanographic data that is being measured for a given area of the ocean. Each of these fields is composed of data, positions, connections, and data statistics components. Each of these components then has attributes. When I import data from a file, what I end up with is a group consisting of all of these fields. Depending on where I decide to start and end, I can decide to import the data from just one given day, or any group of days up to the entire set of days. I can also decide to import just one given field from the group.
My problem is this: if I import the fields individually, depending on the variable chosen with a selector interactor, I have to manually write out a string list of the variables in the file to get the choices to show up in the selector list. But if I do that, it means that if I import a different file that has different fields, the selector list is no longer appropriate for the data. However, if I import all the fields at once, the selector list can detect the names of the fields in the group and give an appropriate list of options. But then, I don't know how to sort these fields based on the characteristics of the data, because Inquire only seems to be able to work on an entire group at once or a single field. This means that if I have some fields that have vector data and some that have scalar data, I have no way to make sure a selector list has only the appropriate variables in it. I would like to be able to have a selector for variables for which I would like to show glyphs by somehow taking out a subset of all the variables in a given file. How can I have both automatically detected field names and be able to select fields from a group of imported fields based on a specific characteristic of the fields? I hope this makes sense. I would really appreciate some help with this; perhaps there is some module I missed that I could be using to get the desired results. Let me know if you need more clarification. Thanks. Akua Nti
