Terrenus HRPT v2.2

terrenus.telemetry
Class RawCHRPTStream

java.lang.Object
  extended by terrenus.telemetry.AbstractTelemetryStream
      extended by terrenus.telemetry.CHRPTStream
          extended by terrenus.telemetry.RawCHRPTStream
All Implemented Interfaces:
TelemetryStream

public class RawCHRPTStream
extends CHRPTStream

The RawCHRPTStream class reads raw CMA CHRPT storage format. The file structure is as follows:


Field Summary
 
Fields inherited from class terrenus.telemetry.CHRPTStream
AUX_SYNC_BLOCK, BLOCK_LENGTHS, BLOCK_OFFSETS, EARTH_BLOCK, FRAME_SYNC_BLOCK, ID_BLOCK, INTERNAL_TARGET_BLOCK, SPACE_BLOCK, SPARE_BLOCK, TELEMETRY_BLOCK, TIME_CODE_BLOCK
 
Fields inherited from class terrenus.telemetry.AbstractTelemetryStream
input
 
Constructor Summary
RawCHRPTStream(java.lang.String fileName)
          Creates a new stream using the specified file as input.
 
Method Summary
 int getDayCount(int frame)
          Gets the day count for the specified frame.
 java.lang.String getFormat()
          Gets a description of the underlying data format.
 
Methods inherited from class terrenus.telemetry.CHRPTStream
checkFrame, getBlockCount, getBlockLength, getBlockPosition, getDecoder
 
Methods inherited from class terrenus.telemetry.AbstractTelemetryStream
checkStream, getBlock, getDayCount, getFrameCount, getFramePosition, 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

RawCHRPTStream

public RawCHRPTStream(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.


getDayCount

public int getDayCount(int frame)
                throws java.io.IOException
Description copied from class: CHRPTStream
Gets the day count for the specified frame. The day count is not available from the CHRPT telemetry stream from the spacecraft because the bits in the time code where the day count are supposed to be are zero filled.

Specified by:
getDayCount in class CHRPTStream
Throws:
java.io.IOException

Terrenus HRPT v2.2