edu.iris.Fissures.seismogramDC
Class LocalSeismogramImpl

java.lang.Object
  extended by edu.iris.Fissures.IfSeismogramDC.SeismogramAttr
      extended by edu.iris.Fissures.IfSeismogramDC.LocalSeismogram
          extended by edu.iris.Fissures.seismogramDC.SeismogramAttrImpl
              extended by edu.iris.Fissures.seismogramDC.LocalSeismogramImpl
All Implemented Interfaces:
AuditSystemAccess, TimeSeriesAccess, TimeSeriesAdmin, Serializable, IDLEntity, Streamable, StreamableValue, ValueBase

public class LocalSeismogramImpl
extends SeismogramAttrImpl

Implementation of the LocalSeismogram abstract class the is generated from the LocalSeismogram valuetype byte the IDL compiler. Extends SeismogramAttrImpl which in turn extends LocalSeismogram. Created: Wed Feb 23 13:19:30 2000

Version:
$Id: LocalSeismogramImpl.java 12591 2005-03-25 17:54:00Z crotwell $
Author:
Philip Crotwell
See Also:
Serialized Form

Field Summary
protected static edu.iris.dmc.seedcodec.Codec codec
          decompression class that understands different compression routines.
protected  edu.iris.dmc.seedcodec.DecompressedData decomp
          holds a decompressed copy of the data elements.
 
Fields inherited from class edu.iris.Fissures.seismogramDC.SeismogramAttrImpl
beginTime
 
Fields inherited from class edu.iris.Fissures.IfSeismogramDC.LocalSeismogram
data
 
Fields inherited from class edu.iris.Fissures.IfSeismogramDC.SeismogramAttr
begin_time, channel_id, id, num_points, parm_ids, properties, sample_rate_history, sampling_info, time_corrections, y_unit
 
Constructor Summary
protected LocalSeismogramImpl()
          Empty constructor to be used only for valuetype marshaling.
  LocalSeismogramImpl(SeismogramAttr attr, double[] data)
          Constructs a new LocalSeismogram from the given attributes and data.
  LocalSeismogramImpl(SeismogramAttr attr, float[] data)
          Constructs a new LocalSeismogram from the given attributes and data.
  LocalSeismogramImpl(SeismogramAttr attr, int[] data)
          Constructs a new LocalSeismogram from the given attributes and data.
  LocalSeismogramImpl(SeismogramAttr attr, short[] data)
          Constructs a new LocalSeismogram from the given attributes and data.
  LocalSeismogramImpl(SeismogramAttr attr, TimeSeriesDataSel data)
          Constructs a new LocalSeismogram from the given attributes and data.
  LocalSeismogramImpl(String id, Property[] properties, Time begin_time, int num_points, Sampling sampling, Unit y_unit, ChannelId channel_id, ParameterRef[] parm_ids, Quantity[] time_corrections, Sampling[] sample_rate_history, double[] data)
          creates a new LocalSeismogramImpl.
  LocalSeismogramImpl(String id, Property[] properties, Time begin_time, int num_points, Sampling sampling, Unit y_unit, ChannelId channel_id, ParameterRef[] parm_ids, Quantity[] time_corrections, Sampling[] sample_rate_history, float[] data)
          creates a new LocalSeismogramImpl.
  LocalSeismogramImpl(String id, Property[] properties, Time begin_time, int num_points, Sampling sampling, Unit y_unit, ChannelId channel_id, ParameterRef[] parm_ids, Quantity[] time_corrections, Sampling[] sample_rate_history, int[] data)
          creates a new LocalSeismogramImpl.
  LocalSeismogramImpl(String id, Property[] properties, Time begin_time, int num_points, Sampling sampling, Unit y_unit, ChannelId channel_id, ParameterRef[] parm_ids, Quantity[] time_corrections, Sampling[] sample_rate_history, short[] data)
          creates a new LocalSeismogramImpl.
  LocalSeismogramImpl(String id, Property[] properties, Time begin_time, int num_points, Sampling sampling, Unit y_unit, ChannelId channel_id, ParameterRef[] parm_ids, Quantity[] time_corrections, Sampling[] sample_rate_history, TimeSeriesDataSel data)
          creates a new LocalSeismogramImpl.
  LocalSeismogramImpl(String id, Time begin_time, int num_points, Sampling sampling, Unit y_unit, ChannelId channel_id, double[] data)
          creates a new LocalSeismogramImpl.
  LocalSeismogramImpl(String id, Time begin_time, int num_points, Sampling sampling, Unit y_unit, ChannelId channel_id, float[] data)
          creates a new LocalSeismogramImpl.
  LocalSeismogramImpl(String id, Time begin_time, int num_points, Sampling sampling, Unit y_unit, ChannelId channel_id, int[] data)
          creates a new LocalSeismogramImpl.
  LocalSeismogramImpl(String id, Time begin_time, int num_points, Sampling sampling, Unit y_unit, ChannelId channel_id, short[] data)
          creates a new LocalSeismogramImpl.
  LocalSeismogramImpl(String id, Time begin_time, int num_points, Sampling sampling, Unit y_unit, ChannelId channel_id, TimeSeriesDataSel data)
          creates a new LocalSeismogramImpl.
 
Method Summary
 void append_doubles(double[] newData)
          Appends the newData to the existing data.
 void append_doubles(int seq_num, double[] data, AuditInfo[] audit_info)
           
 void append_encoded_seq(EncodedData[] newData)
          Appends the newData to the existing data.
 void append_encoded_seq(int seq_num, EncodedData[] data, AuditInfo[] audit_info)
           
 void append_encoded(EncodedData newData)
          Appends the newData to the existing data.
 void append_encoded(int seq_num, EncodedData data, AuditInfo[] audit_info)
           
 void append_floats(float[] newData)
          Appends the newData to the existing data.
 void append_floats(int seq_num, float[] data, AuditInfo[] audit_info)
           
 void append_longs(int[] newData)
          Appends the newData to the existing data.
 void append_longs(int seq_num, int[] data, AuditInfo[] audit_info)
           
 void append_shorts(int seq_num, short[] data, AuditInfo[] audit_info)
           
 void append_shorts(short[] newData)
          Appends the newData to the existing data.
 void append(TimeSeriesDataSel b)
           
 int calculateNumPoints()
           
 boolean can_convert_to_double()
           
 boolean can_convert_to_float()
           
 boolean can_convert_to_long()
          This should really be called can_convert_to_int, but corba calls a java int a long, and so the name is strange.
 boolean can_convert_to_short()
           
 void close()
           
static Serializable createEmpty()
          A factory method to create an empty LocalSeismogramImpl.
 void dataChanged()
           
protected  void decodeBits()
           
 double[] get_as_doubles()
           
 EncodedData[] get_as_encoded()
           
 float[] get_as_floats()
           
 int[] get_as_longs()
           
 short[] get_as_shorts()
           
 AuditElement[] get_audit_trail()
           
 UnitRangeImpl getAmplitudeRange()
           
 UnitRangeImpl getAmplitudeRange(int beginIndex, int endIndex)
           
 TimeSeriesDataSel getData()
           
 TimeSeriesType getDataType()
           
 QuantityImpl getMaxValue()
           
 QuantityImpl getMaxValue(int startIndex, int endIndex)
           
 QuantityImpl getMeanValue()
           
 QuantityImpl getMeanValue(int startIndex, int endIndex)
           
 QuantityImpl getMinValue()
           
 QuantityImpl getMinValue(int startIndex, int endIndex)
           
 int getNumPoints()
           
 QuantityImpl getValueAt(int index)
           
 float[] getValues(int start, int length)
          temporary
 boolean is_double()
           
 boolean is_encoded()
           
 boolean is_float()
           
 boolean is_long()
           
 boolean is_short()
           
 boolean isDataDecodable()
           
protected  FissuresException makeFissuresException(edu.iris.dmc.seedcodec.CodecException e)
           
protected  FissuresException makeFissuresException(String e)
           
 void setAttributes(SeismogramAttr attr)
          Sets the attributes of this seismogram, use with caution!!!
 void setData(double[] data)
          Sets the timeseries data for this seismogram.
 void setData(EncodedData[] data)
          Sets the timeseries data for this seismogram.
 void setData(float[] data)
          Sets the timeseries data for this seismogram.
 void setData(int[] data)
          Sets the timeseries data for this seismogram.
 void setData(short[] data)
          Sets the timeseries data for this seismogram.
 void setData(TimeSeriesDataSel data)
          Sets the timeseries data for this seismogram.
 
Methods inherited from class edu.iris.Fissures.seismogramDC.SeismogramAttrImpl
get_id, getBeginTime, getChannelID, getEndTime, getName, getParameterRefs, getProperties, getProperty, getSampling, getTimeInterval, getUnit, is_closed, setName, setParameterRefs, setProperties, setProperty
 
Methods inherited from class edu.iris.Fissures.IfSeismogramDC.LocalSeismogram
_read, _truncatable_ids, _type, _write
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

decomp

protected transient edu.iris.dmc.seedcodec.DecompressedData decomp
holds a decompressed copy of the data elements. This makes it possible to only have to uncompress compressed data once and cache it. The outside caller need not know, except that the first call to access data will take a little longer.


codec

protected static transient edu.iris.dmc.seedcodec.Codec codec
decompression class that understands different compression routines.

Constructor Detail

LocalSeismogramImpl

protected LocalSeismogramImpl()
Empty constructor to be used only for valuetype marshaling.


LocalSeismogramImpl

public LocalSeismogramImpl(String id,
                           Time begin_time,
                           int num_points,
                           Sampling sampling,
                           Unit y_unit,
                           ChannelId channel_id,
                           TimeSeriesDataSel data)
creates a new LocalSeismogramImpl. If data is null, num_points is set to be 0.

Parameters:
id - The internal id for the seismogram. This is for the internal use of the persistant storage system and should be unique within that system.
begin_time - that time of the first sample in the seismogram.
num_points - The number of sample points.
y_unit - The amplitude units of the seismogram.
channel_id - The id of the channel that recorded the seismogram.
data - The SeismogramData obect that contains the actual timeseries data.

LocalSeismogramImpl

public LocalSeismogramImpl(String id,
                           Time begin_time,
                           int num_points,
                           Sampling sampling,
                           Unit y_unit,
                           ChannelId channel_id,
                           int[] data)
creates a new LocalSeismogramImpl. If data is null, num_points is set to be 0.

Parameters:
id - The internal id for the seismogram. This is for the internal use of the persistant storage system and should be unique within that system.
begin_time - that time of the first sample in the seismogram.
num_points - The number of sample points.
y_unit - The amplitude units of the seismogram.
channel_id - The id of the channel that recorded the seismogram.
data - The SeismogramData obect that contains the actual timeseries data.

LocalSeismogramImpl

public LocalSeismogramImpl(String id,
                           Time begin_time,
                           int num_points,
                           Sampling sampling,
                           Unit y_unit,
                           ChannelId channel_id,
                           float[] data)
creates a new LocalSeismogramImpl. If data is null, num_points is set to be 0.

Parameters:
id - The internal id for the seismogram. This is for the internal use of the persistant storage system and should be unique within that system.
begin_time - that time of the first sample in the seismogram.
num_points - The number of sample points.
y_unit - The amplitude units of the seismogram.
channel_id - The id of the channel that recorded the seismogram.
data - The SeismogramData obect that contains the actual timeseries data.

LocalSeismogramImpl

public LocalSeismogramImpl(String id,
                           Time begin_time,
                           int num_points,
                           Sampling sampling,
                           Unit y_unit,
                           ChannelId channel_id,
                           double[] data)
creates a new LocalSeismogramImpl. If data is null, num_points is set to be 0.

Parameters:
id - The internal id for the seismogram. This is for the internal use of the persistant storage system and should be unique within that system.
begin_time - that time of the first sample in the seismogram.
num_points - The number of sample points.
y_unit - The amplitude units of the seismogram.
channel_id - The id of the channel that recorded the seismogram.
data - The SeismogramData obect that contains the actual timeseries data.

LocalSeismogramImpl

public LocalSeismogramImpl(String id,
                           Time begin_time,
                           int num_points,
                           Sampling sampling,
                           Unit y_unit,
                           ChannelId channel_id,
                           short[] data)
creates a new LocalSeismogramImpl. If data is null, num_points is set to be 0.

Parameters:
id - The internal id for the seismogram. This is for the internal use of the persistant storage system and should be unique within that system.
begin_time - that time of the first sample in the seismogram.
num_points - The number of sample points.
y_unit - The amplitude units of the seismogram.
channel_id - The id of the channel that recorded the seismogram.
data - The SeismogramData obect that contains the actual timeseries data.

LocalSeismogramImpl

public LocalSeismogramImpl(String id,
                           Property[] properties,
                           Time begin_time,
                           int num_points,
                           Sampling sampling,
                           Unit y_unit,
                           ChannelId channel_id,
                           ParameterRef[] parm_ids,
                           Quantity[] time_corrections,
                           Sampling[] sample_rate_history,
                           TimeSeriesDataSel data)
creates a new LocalSeismogramImpl. If data is null, num_points is set to be 0.

Parameters:
id - The internal id for the seismogram. This is for the internal use of the persistant storage system and should be unique within that system.
properties - Properties for the seismogram, perhaps including a name for labeling a display, or other small extra information. Stored as name-value pairs.
begin_time - that time of the first sample in the seismogram.
num_points - The number of sample points.
y_unit - The amplitude units of the seismogram.
channel_id - The id of the channel that recorded the seismogram.
time_corrections - The time corrections that have been applied to the begin time of the seismogram.
sample_rate_history - The history of sampling corrections that have been applied to the sampling of the seismogram.
data - The SeismogramData obect that contains the actual timeseries data.

LocalSeismogramImpl

public LocalSeismogramImpl(String id,
                           Property[] properties,
                           Time begin_time,
                           int num_points,
                           Sampling sampling,
                           Unit y_unit,
                           ChannelId channel_id,
                           ParameterRef[] parm_ids,
                           Quantity[] time_corrections,
                           Sampling[] sample_rate_history,
                           short[] data)
creates a new LocalSeismogramImpl. If data is null, num_points is set to be 0.

Parameters:
id - The internal id for the seismogram. This is for the internal use of the persistant storage system and should be unique within that system.
properties - Properties for the seismogram, perhaps including a name for labeling a display, or other small extra information. Stored as name-value pairs.
begin_time - that time of the first sample in the seismogram.
num_points - The number of sample points.
y_unit - The amplitude units of the seismogram.
channel_id - The id of the channel that recorded the seismogram.
time_corrections - The time corrections that have been applied to the begin time of the seismogram.
sample_rate_history - The history of sampling corrections that have been applied to the sampling of the seismogram.
data - The SeismogramData obect that contains the actual timeseries data.

LocalSeismogramImpl

public LocalSeismogramImpl(String id,
                           Property[] properties,
                           Time begin_time,
                           int num_points,
                           Sampling sampling,
                           Unit y_unit,
                           ChannelId channel_id,
                           ParameterRef[] parm_ids,
                           Quantity[] time_corrections,
                           Sampling[] sample_rate_history,
                           int[] data)
creates a new LocalSeismogramImpl. If data is null, num_points is set to be 0.

Parameters:
id - The internal id for the seismogram. This is for the internal use of the persistant storage system and should be unique within that system.
properties - Properties for the seismogram, perhaps including a name for labeling a display, or other small extra information. Stored as name-value pairs.
begin_time - that time of the first sample in the seismogram.
num_points - The number of sample points.
y_unit - The amplitude units of the seismogram.
channel_id - The id of the channel that recorded the seismogram.
time_corrections - The time corrections that have been applied to the begin time of the seismogram.
sample_rate_history - The history of sampling corrections that have been applied to the sampling of the seismogram.
data - The SeismogramData obect that contains the actual timeseries data.

LocalSeismogramImpl

public LocalSeismogramImpl(String id,
                           Property[] properties,
                           Time begin_time,
                           int num_points,
                           Sampling sampling,
                           Unit y_unit,
                           ChannelId channel_id,
                           ParameterRef[] parm_ids,
                           Quantity[] time_corrections,
                           Sampling[] sample_rate_history,
                           float[] data)
creates a new LocalSeismogramImpl. If data is null, num_points is set to be 0.

Parameters:
id - The internal id for the seismogram. This is for the internal use of the persistant storage system and should be unique within that system.
properties - Properties for the seismogram, perhaps including a name for labeling a display, or other small extra information. Stored as name-value pairs.
begin_time - that time of the first sample in the seismogram.
num_points - The number of sample points.
y_unit - The amplitude units of the seismogram.
channel_id - The id of the channel that recorded the seismogram.
time_corrections - The time corrections that have been applied to the begin time of the seismogram.
sample_rate_history - The history of sampling corrections that have been applied to the sampling of the seismogram.
data - The SeismogramData obect that contains the actual timeseries data.

LocalSeismogramImpl

public LocalSeismogramImpl(String id,
                           Property[] properties,
                           Time begin_time,
                           int num_points,
                           Sampling sampling,
                           Unit y_unit,
                           ChannelId channel_id,
                           ParameterRef[] parm_ids,
                           Quantity[] time_corrections,
                           Sampling[] sample_rate_history,
                           double[] data)
creates a new LocalSeismogramImpl. If data is null, num_points is set to be 0.

Parameters:
id - The internal id for the seismogram. This is for the internal use of the persistant storage system and should be unique within that system.
properties - Properties for the seismogram, perhaps including a name for labeling a display, or other small extra information. Stored as name-value pairs.
begin_time - that time of the first sample in the seismogram.
num_points - The number of sample points.
y_unit - The amplitude units of the seismogram.
channel_id - The id of the channel that recorded the seismogram.
time_corrections - The time corrections that have been applied to the begin time of the seismogram.
sample_rate_history - The history of sampling corrections that have been applied to the sampling of the seismogram.
data - The SeismogramData obect that contains the actual timeseries data.

LocalSeismogramImpl

public LocalSeismogramImpl(SeismogramAttr attr,
                           short[] data)
Constructs a new LocalSeismogram from the given attributes and data.


LocalSeismogramImpl

public LocalSeismogramImpl(SeismogramAttr attr,
                           int[] data)
Constructs a new LocalSeismogram from the given attributes and data.


LocalSeismogramImpl

public LocalSeismogramImpl(SeismogramAttr attr,
                           float[] data)
Constructs a new LocalSeismogram from the given attributes and data.


LocalSeismogramImpl

public LocalSeismogramImpl(SeismogramAttr attr,
                           double[] data)
Constructs a new LocalSeismogram from the given attributes and data.


LocalSeismogramImpl

public LocalSeismogramImpl(SeismogramAttr attr,
                           TimeSeriesDataSel data)
Constructs a new LocalSeismogram from the given attributes and data. Care should be taken as there is no check to verify that the number of data points is correct.

Method Detail

createEmpty

public static Serializable createEmpty()
A factory method to create an empty LocalSeismogramImpl. This is to be used only by the ORB for unmarshelling valuetypes that have been sent via IIOP.


setAttributes

public void setAttributes(SeismogramAttr attr)
Sets the attributes of this seismogram, use with caution!!!


setData

public void setData(TimeSeriesDataSel data)
Sets the timeseries data for this seismogram. A check is made to ensure that num_points stays consistant with SeismogramData.


setData

public void setData(short[] data)
Sets the timeseries data for this seismogram. A check is made to ensure that num_points stays consistant with SeismogramData.


setData

public void setData(int[] data)
Sets the timeseries data for this seismogram. A check is made to ensure that num_points stays consistant with SeismogramData.


setData

public void setData(float[] data)
Sets the timeseries data for this seismogram. A check is made to ensure that num_points stays consistant with SeismogramData.


setData

public void setData(double[] data)
Sets the timeseries data for this seismogram. A check is made to ensure that num_points stays consistant with SeismogramData.


setData

public void setData(EncodedData[] data)
Sets the timeseries data for this seismogram. A check is made to ensure that num_points stays consistant with SeismogramData.


getNumPoints

public int getNumPoints()
Overrides:
getNumPoints in class SeismogramAttrImpl

getMinValue

public QuantityImpl getMinValue()
                         throws edu.iris.dmc.seedcodec.CodecException
Throws:
edu.iris.dmc.seedcodec.CodecException

getMinValue

public QuantityImpl getMinValue(int startIndex,
                                int endIndex)
                         throws edu.iris.dmc.seedcodec.CodecException
Throws:
edu.iris.dmc.seedcodec.CodecException

getMaxValue

public QuantityImpl getMaxValue()
                         throws edu.iris.dmc.seedcodec.CodecException
Throws:
edu.iris.dmc.seedcodec.CodecException

getMaxValue

public QuantityImpl getMaxValue(int startIndex,
                                int endIndex)
                         throws edu.iris.dmc.seedcodec.CodecException
Throws:
edu.iris.dmc.seedcodec.CodecException

getMeanValue

public QuantityImpl getMeanValue()
                          throws edu.iris.dmc.seedcodec.CodecException
Throws:
edu.iris.dmc.seedcodec.CodecException

getMeanValue

public QuantityImpl getMeanValue(int startIndex,
                                 int endIndex)
                          throws edu.iris.dmc.seedcodec.CodecException
Throws:
edu.iris.dmc.seedcodec.CodecException

getValueAt

public QuantityImpl getValueAt(int index)
                        throws edu.iris.dmc.seedcodec.CodecException
Throws:
edu.iris.dmc.seedcodec.CodecException

getAmplitudeRange

public UnitRangeImpl getAmplitudeRange(int beginIndex,
                                       int endIndex)
                                throws edu.iris.dmc.seedcodec.CodecException
Throws:
edu.iris.dmc.seedcodec.CodecException

getAmplitudeRange

public UnitRangeImpl getAmplitudeRange()
                                throws edu.iris.dmc.seedcodec.CodecException
Throws:
edu.iris.dmc.seedcodec.CodecException

is_long

public boolean is_long()
Specified by:
is_long in interface TimeSeriesAccess
Overrides:
is_long in class SeismogramAttrImpl

is_float

public boolean is_float()
Specified by:
is_float in interface TimeSeriesAccess
Overrides:
is_float in class SeismogramAttrImpl

is_double

public boolean is_double()
Specified by:
is_double in interface TimeSeriesAccess
Overrides:
is_double in class SeismogramAttrImpl

is_short

public boolean is_short()
Specified by:
is_short in interface TimeSeriesAccess
Overrides:
is_short in class SeismogramAttrImpl

is_encoded

public boolean is_encoded()
Specified by:
is_encoded in interface TimeSeriesAccess
Overrides:
is_encoded in class SeismogramAttrImpl

can_convert_to_long

public boolean can_convert_to_long()
This should really be called can_convert_to_int, but corba calls a java int a long, and so the name is strange.

Specified by:
can_convert_to_long in interface TimeSeriesAccess
Overrides:
can_convert_to_long in class SeismogramAttrImpl

can_convert_to_float

public boolean can_convert_to_float()
Specified by:
can_convert_to_float in interface TimeSeriesAccess
Overrides:
can_convert_to_float in class SeismogramAttrImpl

can_convert_to_double

public boolean can_convert_to_double()
Specified by:
can_convert_to_double in interface TimeSeriesAccess
Overrides:
can_convert_to_double in class SeismogramAttrImpl

can_convert_to_short

public boolean can_convert_to_short()
Specified by:
can_convert_to_short in interface TimeSeriesAccess
Overrides:
can_convert_to_short in class SeismogramAttrImpl

getData

public TimeSeriesDataSel getData()

makeFissuresException

protected FissuresException makeFissuresException(edu.iris.dmc.seedcodec.CodecException e)

makeFissuresException

protected FissuresException makeFissuresException(String e)

get_as_longs

public int[] get_as_longs()
                   throws FissuresException
Specified by:
get_as_longs in interface TimeSeriesAccess
Overrides:
get_as_longs in class SeismogramAttrImpl
Throws:
FissuresException

get_as_shorts

public short[] get_as_shorts()
                      throws FissuresException
Specified by:
get_as_shorts in interface TimeSeriesAccess
Overrides:
get_as_shorts in class SeismogramAttrImpl
Throws:
FissuresException

get_as_floats

public float[] get_as_floats()
                      throws FissuresException
Specified by:
get_as_floats in interface TimeSeriesAccess
Overrides:
get_as_floats in class SeismogramAttrImpl
Throws:
FissuresException

get_as_doubles

public double[] get_as_doubles()
                        throws FissuresException
Specified by:
get_as_doubles in interface TimeSeriesAccess
Overrides:
get_as_doubles in class SeismogramAttrImpl
Throws:
FissuresException

get_as_encoded

public EncodedData[] get_as_encoded()
                             throws FissuresException
Specified by:
get_as_encoded in interface TimeSeriesAccess
Overrides:
get_as_encoded in class SeismogramAttrImpl
Throws:
FissuresException

close

public void close()
Specified by:
close in interface TimeSeriesAdmin
Overrides:
close in class SeismogramAttrImpl

get_audit_trail

public AuditElement[] get_audit_trail()
                               throws NotImplemented
Specified by:
get_audit_trail in interface AuditSystemAccess
Overrides:
get_audit_trail in class SeismogramAttrImpl
Throws:
NotImplemented

append_longs

public void append_longs(int seq_num,
                         int[] data,
                         AuditInfo[] audit_info)
                  throws SequenceOutOfOrder
Specified by:
append_longs in interface TimeSeriesAdmin
Overrides:
append_longs in class SeismogramAttrImpl
Throws:
SequenceOutOfOrder

append_shorts

public void append_shorts(int seq_num,
                          short[] data,
                          AuditInfo[] audit_info)
                   throws SequenceOutOfOrder
Specified by:
append_shorts in interface TimeSeriesAdmin
Overrides:
append_shorts in class SeismogramAttrImpl
Throws:
SequenceOutOfOrder

append_floats

public void append_floats(int seq_num,
                          float[] data,
                          AuditInfo[] audit_info)
                   throws SequenceOutOfOrder
Specified by:
append_floats in interface TimeSeriesAdmin
Overrides:
append_floats in class SeismogramAttrImpl
Throws:
SequenceOutOfOrder

append_doubles

public void append_doubles(int seq_num,
                           double[] data,
                           AuditInfo[] audit_info)
                    throws SequenceOutOfOrder
Specified by:
append_doubles in interface TimeSeriesAdmin
Overrides:
append_doubles in class SeismogramAttrImpl
Throws:
SequenceOutOfOrder

append_encoded_seq

public void append_encoded_seq(int seq_num,
                               EncodedData[] data,
                               AuditInfo[] audit_info)
                        throws SequenceOutOfOrder
Specified by:
append_encoded_seq in interface TimeSeriesAdmin
Overrides:
append_encoded_seq in class SeismogramAttrImpl
Throws:
SequenceOutOfOrder

append_encoded

public void append_encoded(int seq_num,
                           EncodedData data,
                           AuditInfo[] audit_info)
                    throws SequenceOutOfOrder
Specified by:
append_encoded in interface TimeSeriesAdmin
Overrides:
append_encoded in class SeismogramAttrImpl
Throws:
SequenceOutOfOrder

append_longs

public void append_longs(int[] newData)
                  throws FissuresException
Appends the newData to the existing data. Handles the case of null for existing data. The types of the data objects must be compatible.

Throws:
FissuresException

append_shorts

public void append_shorts(short[] newData)
                   throws FissuresException
Appends the newData to the existing data. Handles the case of null for existing data. The types of the data objects must be compatible.

Throws:
FissuresException

append_floats

public void append_floats(float[] newData)
                   throws FissuresException
Appends the newData to the existing data. Handles the case of null for existing data. The types of the data objects must be compatible.

Throws:
FissuresException

append_doubles

public void append_doubles(double[] newData)
                    throws FissuresException
Appends the newData to the existing data. Handles the case of null for existing data. The types of the data objects must be compatible.

Throws:
FissuresException

append_encoded_seq

public void append_encoded_seq(EncodedData[] newData)
                        throws FissuresException
Appends the newData to the existing data. Handles the case of null for existing data. The types of the data objects must be compatible.

Throws:
FissuresException

append_encoded

public void append_encoded(EncodedData newData)
                    throws FissuresException
Appends the newData to the existing data. Handles the case of null for existing data. The types of the data objects must be compatible.

Throws:
FissuresException

calculateNumPoints

public int calculateNumPoints()

getValues

public float[] getValues(int start,
                         int length)
                  throws edu.iris.dmc.seedcodec.CodecException
temporary

Throws:
edu.iris.dmc.seedcodec.CodecException

getDataType

public TimeSeriesType getDataType()

append

public void append(TimeSeriesDataSel b)
            throws FissuresException
Throws:
FissuresException

isDataDecodable

public boolean isDataDecodable()

dataChanged

public void dataChanged()

decodeBits

protected void decodeBits()
                   throws edu.iris.dmc.seedcodec.CodecException
Throws:
edu.iris.dmc.seedcodec.CodecException


Copyright © 1999-2007 The IRIS Consortium. All Rights Reserved.