org.mbari.oasis
Class OMSSchemaConstructor

java.lang.Object
  extended byorg.mbari.oasis.OMSAbstractSchemaConstructor
      extended byorg.mbari.oasis.OMSSchemaConstructor

public class OMSSchemaConstructor
extends OMSAbstractSchemaConstructor

Setup a netCDF schema for specprr data collected through Oasis cans. This class uses info contained in the cfg file to assign global attributes.

OMSSchemaConstructor reads through the main cfg file (i.e. ep1.cfg, m1.cfg, etc) and creates a master template containing all the measured variables found in the configruation files.

Version:
06 Jul 1999
Author:
Brian Schlining

Field Summary
 
Fields inherited from class org.mbari.oasis.OMSAbstractSchemaConstructor
axesP, cfgfile, schema, timeD, variables
 
Constructor Summary
OMSSchemaConstructor(java.io.File file)
           
OMSSchemaConstructor(java.lang.String fileS)
          Create a netCDF schema using information in the configuration files.
 
Method Summary
protected  OMSSensor[] getSensors()
           
 OMSSensor[] sortFiles(OMSSensor[] s)
          Sorts an array of Strings alphabetically
 
Methods inherited from class org.mbari.oasis.OMSAbstractSchemaConstructor
getAxes, getSchema
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

OMSSchemaConstructor

public OMSSchemaConstructor(java.lang.String fileS)
Create a netCDF schema using information in the configuration files. This will create a schema using information in all the files in the configuration history as well.


OMSSchemaConstructor

public OMSSchemaConstructor(java.io.File file)
Method Detail

getSensors

protected OMSSensor[] getSensors()
Specified by:
getSensors in class OMSAbstractSchemaConstructor

sortFiles

public OMSSensor[] sortFiles(OMSSensor[] s)
Sorts an array of Strings alphabetically

Returns:
The array of string sorted alphabetically