gov.nasa.gsfc.drl.rtstps.core.output.hdf5
Class BasicRDR

java.lang.Object
  extended by gov.nasa.gsfc.drl.rtstps.core.output.hdf5.RDR
      extended by gov.nasa.gsfc.drl.rtstps.core.output.hdf5.BasicRDR

public final class BasicRDR
extends RDR

This is the generic RDR processing class, most of the implementation is in abstract RDR class and this just provides the basic counting style RawApplicationPackets class and sets the depth of the count to a specific value. This class is used in packet streams when packets with application identifiers appear that simple do not match any previous define sensor packet... and yet the RDR must be created. Other possibily is to replace this class would be to filter out unwanted packets and not make any granules or raw apps for them.


Field Summary
 
Fields inherited from class gov.nasa.gsfc.drl.rtstps.core.output.hdf5.RDR
DocumentName
 
Constructor Summary
BasicRDR(RDRName rdrName, AllData allData, DataProducts dataProds, FixedDomainDescription drl)
          Create the BasicRDR and set the counting depth to 20 packets
 
Method Summary
protected  RawApplicationPackets createRawApplicationPackets(RDRName rdrName)
          Create the generic counting RawApplicationPackets, this overrides the base RDR method
 
Methods inherited from class gov.nasa.gsfc.drl.rtstps.core.output.hdf5.RDR
close, createGranule, getAllRawApplicationPackets, getCurrentRawApplicationPackets, getDepth, getGranules, getPacketPool, getProductId, getRaps, getRDRAll, getRDRName, getRDRProduct, getSetNum, nextSetNum, put, setDepth
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BasicRDR

public BasicRDR(RDRName rdrName,
                AllData allData,
                DataProducts dataProds,
                FixedDomainDescription drl)
         throws RtStpsException
Create the BasicRDR and set the counting depth to 20 packets

Parameters:
rdrName - The RDR name
allData - The /All_Data structure
dataProds - The /Data_Products structure
drl - The processing is done at DRL
Throws:
RtStpsException - Wrapped HDF exceptions
Method Detail

createRawApplicationPackets

protected RawApplicationPackets createRawApplicationPackets(RDRName rdrName)
Create the generic counting RawApplicationPackets, this overrides the base RDR method

Specified by:
createRawApplicationPackets in class RDR
Parameters:
rdrName - the RDR of interest
Returns:
an instance of this class as the more generic RawApplicationsPacket