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

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

public class CRIS_RDR
extends RDR

The CrIS specialization of the RDR class which creates the /All_Data/XXX-RDR_All and /Data_Products/XXX-RDR structures. This overrides the createRawApplicationPackets method, the bulk of the work is still done by the base RDR class.


Field Summary
private static int scansPerGranule
           
private  Stats stats
           
 
Fields inherited from class gov.nasa.gsfc.drl.rtstps.core.output.hdf5.RDR
DocumentName
 
Constructor Summary
CRIS_RDR(AllData allData, DataProducts dataProds, FixedDomainDescription drl, int scansPerGranule)
          Create a new instance of this class for building the RDR structures
CRIS_RDR(Stats stats, AllData allData, DataProducts dataProds, FixedDomainDescription drl, int scansPerGranule)
           
 
Method Summary
protected  RawApplicationPackets createRawApplicationPackets(RDRName rdrName)
          Create the specific CRISRawApplicationPackets, 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
 

Field Detail

scansPerGranule

private static int scansPerGranule

stats

private Stats stats
Constructor Detail

CRIS_RDR

public CRIS_RDR(AllData allData,
                DataProducts dataProds,
                FixedDomainDescription drl,
                int scansPerGranule)
         throws RtStpsException
Create a new instance of this class for building the RDR structures

Parameters:
allData - The AllData object which created the /All_Data structure
dataProds - The [@link DataProducts} objects which created the /Data_Products structure
drl - The DRL domain is where the processing is being done, although passed in, this is fixed when the instance is created
scansPerGranule - The number of scans this sensor defines for a Granule
Throws:
RtStpsException - Wraps HDF library exceptions

CRIS_RDR

public CRIS_RDR(Stats stats,
                AllData allData,
                DataProducts dataProds,
                FixedDomainDescription drl,
                int scansPerGranule)
         throws RtStpsException
Throws:
RtStpsException
Method Detail

createRawApplicationPackets

protected RawApplicationPackets createRawApplicationPackets(RDRName rdrName)
Create the specific CRISRawApplicationPackets, this overrides the base RDR method

Specified by:
createRawApplicationPackets in class RDR
Parameters:
rdrName - the RDE name
Returns:
RawApplicationPackets returns the instance as a generic RawApplicationPackets object