I am trying to traverse through the structure of a field and extract the data
for verification purposes.
Here is a snippet of code.
DataImpl mofStructure = plain.open(args[0]); //open and load netcdf file
FieldImpl mofField = (FieldImpl)mofStructure; //convert to fieldimpl
Data mofData = mofField.getSample(0); //get first sample
The data object received from 'getSample()' is of type Real.
It should be tuple however I cannot cast it to Tuple and therefore cannot
access the data (through getData() from tuple).
How do I access the data?
thanks
--------------------------------
Cameron Shepherdley
Australian Bureau Of Meteorology
AutoTAF Project Team