org.mbari.io
Class OasisPco2Reader

java.lang.Object
  extended byorg.mbari.io.OasisPco2Reader

public class OasisPco2Reader
extends java.lang.Object

Read a concatenated file of pC02 data. and provide methods to access that data


Field Summary
static java.lang.String[] COLUMNS
           
static java.lang.String[] LONG_NAME
           
static java.lang.String[] UNITS
           
 
Constructor Summary
OasisPco2Reader(java.io.File file)
          Create a OasisPco2Reader and intialize memory.
OasisPco2Reader(java.lang.String file)
          Create a OasisPco2Reader and intialize memory.
 
Method Summary
 double[] get(java.lang.String key)
          Return the data
 double[] getMillivolts()
           
 double[] getMillivolts(java.lang.String type)
           
 double[] getPco2()
           
 double[] getPco2(java.lang.String type)
           
 double[] getPressure()
           
 double[] getPressure(java.lang.String type)
           
 double[] getTemperature()
           
 double[] getTemperature(java.lang.String type)
           
 double[] getTime()
           
 double[] getTime(java.lang.String type)
           
 java.util.Set getTypes()
           
static void test()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

COLUMNS

public static final java.lang.String[] COLUMNS

UNITS

public static final java.lang.String[] UNITS

LONG_NAME

public static final java.lang.String[] LONG_NAME
Constructor Detail

OasisPco2Reader

public OasisPco2Reader(java.lang.String file)
                throws java.io.IOException
Create a OasisPco2Reader and intialize memory.


OasisPco2Reader

public OasisPco2Reader(java.io.File file)
                throws java.io.IOException
Create a OasisPco2Reader and intialize memory.

Method Detail

get

public double[] get(java.lang.String key)
             throws java.lang.IllegalArgumentException
Return the data

Throws:
java.lang.IllegalArgumentException

getTime

public double[] getTime()
                 throws java.lang.IllegalArgumentException
Throws:
java.lang.IllegalArgumentException

getTime

public double[] getTime(java.lang.String type)
                 throws java.lang.IllegalArgumentException
Throws:
java.lang.IllegalArgumentException

getPco2

public double[] getPco2()
                 throws java.lang.IllegalArgumentException
Throws:
java.lang.IllegalArgumentException

getPco2

public double[] getPco2(java.lang.String type)
                 throws java.lang.IllegalArgumentException
Throws:
java.lang.IllegalArgumentException

getMillivolts

public double[] getMillivolts()
                       throws java.lang.IllegalArgumentException
Throws:
java.lang.IllegalArgumentException

getMillivolts

public double[] getMillivolts(java.lang.String type)
                       throws java.lang.IllegalArgumentException
Throws:
java.lang.IllegalArgumentException

getTemperature

public double[] getTemperature()
                        throws java.lang.IllegalArgumentException
Throws:
java.lang.IllegalArgumentException

getTemperature

public double[] getTemperature(java.lang.String type)
                        throws java.lang.IllegalArgumentException
Throws:
java.lang.IllegalArgumentException

getPressure

public double[] getPressure()
                     throws java.lang.IllegalArgumentException
Throws:
java.lang.IllegalArgumentException

getPressure

public double[] getPressure(java.lang.String type)
                     throws java.lang.IllegalArgumentException
Throws:
java.lang.IllegalArgumentException

getTypes

public java.util.Set getTypes()

test

public static void test()