Package hec.rss.model

Class LocalTSRecordImpl

All Implemented Interfaces:
AsciiSerializable, FieldAccessor, LocalTSRecord, TSRecord, Serializable, Cloneable, Comparable, Observer, mil.army.usace.hec.metadata.VerticalDatum, rma.lang.Modifiable

public class LocalTSRecordImpl extends TSRecordImpl implements LocalTSRecord
See Also:
  • Constructor Details

    • LocalTSRecordImpl

      public LocalTSRecordImpl()
    • LocalTSRecordImpl

      public LocalTSRecordImpl(int size, double initialValue)
    • LocalTSRecordImpl

      public LocalTSRecordImpl(TimeSeriesContainer tsContainer)
  • Method Details

    • loadRawTSData

      public boolean loadRawTSData(mil.army.usace.hec.rmi.csinterface.DSSManager dssManager)
      Description copied from class: TSRecordImpl
      Load raw ts data.
      Overrides:
      loadRawTSData in class TSRecordImpl
      Parameters:
      dssManager - the dss manager
      Returns:
      true, if successful
    • loadRawTSData

      public boolean loadRawTSData(mil.army.usace.hec.rmi.server.RemoteWrapper dssManagerWrapper)
    • loadTSData

      public boolean loadTSData(mil.army.usace.hec.rmi.csinterface.DSSManager dssManager, HecTime startTime, HecTime endTime)
      Description copied from class: TSRecordImpl
      Load ts data.
      Overrides:
      loadTSData in class TSRecordImpl
      Parameters:
      dssManager - the dss manager
      startTime - the start time
      endTime - the end time
      Returns:
      true, if successful
    • loadTSData

      public boolean loadTSData(mil.army.usace.hec.rmi.csinterface.DSSManager dssManager)
      Description copied from class: TSRecordImpl
      Read Time Series record from DSS and perform interpolation in time if an offset occurs in data. Convert data type to PER-AVER or INST-VAL if applicable. Time window and time step size must be first set in one of the initialize() methods. This form of loadTSData() reads in the data for the time window and interpolates if necessary to an interval given by _timeStepMin.
      Overrides:
      loadTSData in class TSRecordImpl
      Parameters:
      dssManager - the dss manager
      Returns:
      true, if successful
    • loadTSData

      public boolean loadTSData(mil.army.usace.hec.rmi.server.RemoteWrapper dssManagerWrapper, HecTime startTime, HecTime endTime)
    • loadTSData

      public boolean loadTSData(mil.army.usace.hec.rmi.server.RemoteWrapper dssManagerWrapper)
    • readData

      public boolean readData(BufferedReader input)
      Description copied from interface: TSRecord
      Read write methods for storing TSRecords to an ASCII file
      Specified by:
      readData in interface TSRecord
      Overrides:
      readData in class AbstractTSRecord
    • readDataFromRas

      public boolean readDataFromRas(BufferedReader input)
      Description copied from class: AbstractTSRecord
      Reads time series record parameters from an existing opened BufferedReader according to RAS v.2.2 flow file format
      Specified by:
      readDataFromRas in interface TSRecord
      Overrides:
      readDataFromRas in class AbstractTSRecord
    • writeData

      public boolean writeData(BufferedWriter out)
      Specified by:
      writeData in interface TSRecord
      Overrides:
      writeData in class AbstractTSRecord
    • writeDataToRas

      public boolean writeDataToRas(BufferedWriter out)
      Specified by:
      writeDataToRas in interface TSRecord
      Overrides:
      writeDataToRas in class AbstractTSRecord