gov.nih.nci.caarray.services.util.netcdf
Class NETCDFFileReader

java.lang.Object
  extended by gov.nih.nci.caarray.services.util.netcdf.NETCDFFileReader

public class NETCDFFileReader
extends java.lang.Object

Class for reading items from a netcdf file

Author:
gustafsons

Constructor Summary
NETCDFFileReader()
           
 
Method Summary
 java.lang.Object getBioAssayDatum(BioAssay assay, QuantitationType quantitationType, DesignElement designElement)
           
 java.lang.String getCubeStringBDQ(BioAssay assay)
          Get the cube in the order people like to see it
 java.lang.String getCubeStringBQD(BioAssay assay)
          Get the cube in the caArray natural order
 java.lang.Object[] getQuantitationArray(BioAssay assay, QuantitationType quantitationType)
           
 QuantitationType[] getQuantitations(BioAssay assay)
          Gets an entire quantitation type for an assay
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NETCDFFileReader

public NETCDFFileReader()
Method Detail

getQuantitations

public QuantitationType[] getQuantitations(BioAssay assay)
                                    throws NETCDFException
Gets an entire quantitation type for an assay

Parameters:
assay - the assay you want
Returns:
An array containing the values for that assay and quantitation type
Throws:
NETCDFException

getCubeStringBQD

public java.lang.String getCubeStringBQD(BioAssay assay)
                                  throws NETCDFException
Get the cube in the caArray natural order

Returns:
Throws:
NETCDFException

getCubeStringBDQ

public java.lang.String getCubeStringBDQ(BioAssay assay)
                                  throws NETCDFException
Get the cube in the order people like to see it

Returns:
Throws:
NETCDFException

getQuantitationArray

public java.lang.Object[] getQuantitationArray(BioAssay assay,
                                               QuantitationType quantitationType)
                                        throws NETCDFException
Throws:
NETCDFException

getBioAssayDatum

public java.lang.Object getBioAssayDatum(BioAssay assay,
                                         QuantitationType quantitationType,
                                         DesignElement designElement)
                                  throws NETCDFException
Parameters:
assay -
quantitationType -
designElement -
Returns:
the single item in the cube representing that spot
Throws:
NETCDFException