RE: specifying fields from input file

Hi Michelle,

>I was actually trying to either find a data structure that held all the
>input fields or create one myself. If I used the method you described below
>of calling getData() and then getType() and then parsing that, I have to
>iterate through all the fields for each field in the data file. From the
>looks of setMaps(), it seems as if the structure "dr[]" that holds Data
>objects is local to setMaps() and I can't access that from
>when iterating through the array. Do you know if there is a similar global
>structure? Also, is there a method in BasicSSCell called parse() because I'm
>not sure how you would parse() a MathType.

MappingDialog extracts the ScalarTypes using visad.util.DataUtility's
getScalarTypes() method (this method calls several other internal, recursive
methods to which I alluded before). Check out the Javadoc on
visad.util.DataUtility for more information on its usage.

You should be able to getData() your data from the SSCell, then call
DataUtility.getScalarTypes, passing in your data objects.