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

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

public class RDRAll
extends java.lang.Object

Create an "XXX-RDR_All" object which is used to write the XXX-RDR_All group in the HDF file


Field Summary
private  int hdfFile
           
private  int rdrAllGroup
           
 
Constructor Summary
RDRAll(int hdfFile, RDRName rdrName)
          Create an RDR_All for specific RDR such as: CrIS-Science-RDR_All
 
Method Summary
 void close()
          Close the RDR_All group
 int getRDRAllHdfFileHandle()
          Return HDFFile handle which is may not be available to certain classes otherwise
 boolean write(RawApplicationPackets rawApplicationPackets)
          Write a RawApplicationsPackets to the hdf file
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

rdrAllGroup

private int rdrAllGroup

hdfFile

private int hdfFile
Constructor Detail

RDRAll

RDRAll(int hdfFile,
       RDRName rdrName)
 throws RtStpsException
Create an RDR_All for specific RDR such as: CrIS-Science-RDR_All

Parameters:
hdfFile - the handle of the HDF file
rdrName - the RDR name of interest
Throws:
RtStpsException - wraps any HDF exception
Method Detail

getRDRAllHdfFileHandle

public final int getRDRAllHdfFileHandle()
Return HDFFile handle which is may not be available to certain classes otherwise

Returns:
the HDFfile handle passed in to the constructor

write

public boolean write(RawApplicationPackets rawApplicationPackets)
              throws RtStpsException
Write a RawApplicationsPackets to the hdf file

Parameters:
rawApplicationPackets - an instance of a RawApplicationPackets to the RDR_All of interest
Returns:
true if the raw application packet was written, false if not
Throws:
RtStpsException - wraps any HDF exception

close

public void close()
           throws RtStpsException
Close the RDR_All group

Throws:
RtStpsException - wraps any HDF exception