Terrenus HRPT v2.2

terrenus.telemetry
Class QuorumHRPTStream

java.lang.Object
  extended by terrenus.telemetry.AbstractTelemetryStream
      extended by terrenus.telemetry.HRPTStream
          extended by terrenus.telemetry.QuorumHRPTStream
All Implemented Interfaces:
TelemetryStream

public class QuorumHRPTStream
extends HRPTStream

The QuorumHRPTStream class reads Quorum QTrack NOAA HRPT storage format. The file structure is as follows:


Field Summary
 
Fields inherited from class terrenus.telemetry.HRPTStream
AUX_SYNC_BLOCK, BLOCK_LENGTHS, BLOCK_OFFSETS, EARTH_BLOCK, FRAME_SYNC_BLOCK, ID_BLOCK, INTERNAL_TARGET_BLOCK, SPACE_BLOCK, SPARE_BLOCK, SYNC_DELTA_BLOCK, TELEMETRY_BLOCK, TIME_CODE_BLOCK, TIP_BLOCK
 
Fields inherited from class terrenus.telemetry.AbstractTelemetryStream
input
 
Constructor Summary
QuorumHRPTStream(java.lang.String fileName)
          Creates a new stream using the specified file as input.
 
Method Summary
 java.lang.String getFormat()
          Gets a description of the underlying data format.
 int getFrameCount()
          Gets the total number of telemetry frames.
protected  int getFramePosition(int frame)
          Gets the position of a frame within the input.
 
Methods inherited from class terrenus.telemetry.HRPTStream
checkFrame, getBlockCount, getBlockLength, getBlockPosition, getDecoder
 
Methods inherited from class terrenus.telemetry.AbstractTelemetryStream
checkStream, getBlock, getDayCount, getInputBuffer, getYear, initStream, main, setDayCount, setYear
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

QuorumHRPTStream

public QuorumHRPTStream(java.lang.String fileName)
                 throws java.io.IOException
Creates a new stream using the specified file as input.

Throws:
java.io.IOException
Method Detail

getFormat

public java.lang.String getFormat()
Description copied from interface: TelemetryStream
Gets a description of the underlying data format.


getFramePosition

protected int getFramePosition(int frame)
Description copied from class: AbstractTelemetryStream
Gets the position of a frame within the input.

Overrides:
getFramePosition in class AbstractTelemetryStream
Parameters:
frame - the frame in question.
Returns:
the position in bytes, relative to the end of any input header data.

getFrameCount

public int getFrameCount()
Description copied from interface: TelemetryStream
Gets the total number of telemetry frames.

Specified by:
getFrameCount in interface TelemetryStream
Overrides:
getFrameCount in class AbstractTelemetryStream

Terrenus HRPT v2.2