public Data getSample(int index) throws VisADException, RemoteException { FlatField fld = getAdaptedFlatField(); if (fld == null) { throw new VisADException("Cannot get cached FlatField"); } return fld.getSample(index); }