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

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

public class RDRFileWriter
extends java.lang.Object


Field Summary
private  Origin datasetSource
           
private  java.lang.String destPath
           
private  Origin distributor
           
private  MissionName missionName
           
private  int orbit
           
private  PlatformShortName platformShortname
           
private  RDRCreateFile rdrFile
           
private  java.lang.String tempFilename
           
 
Constructor Summary
RDRFileWriter(Stats stats, java.lang.String destPath, int orbit, int rdrCount, Origin distributor, MissionName missionName, Origin datasetSource, PlatformShortName platformShortname)
           
RDRFileWriter(java.lang.String destPath, int orbit, int rdrCount, Origin distributor, MissionName missionName, Origin datasetSource, PlatformShortName platformShortname)
           
 
Method Summary
 void close(boolean hdfCleanup)
           
private  void createUserBlock(java.io.File file)
           
 void put(Packet p)
           
private  void rename(java.util.Date creationDateAndTime)
           
 java.lang.String toString()
           
private  void writeAttributes(java.util.Date creationDateAndTime)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

tempFilename

private java.lang.String tempFilename

destPath

private java.lang.String destPath

rdrFile

private RDRCreateFile rdrFile

orbit

private int orbit

distributor

private Origin distributor

missionName

private MissionName missionName

datasetSource

private Origin datasetSource

platformShortname

private PlatformShortName platformShortname
Constructor Detail

RDRFileWriter

public RDRFileWriter(java.lang.String destPath,
                     int orbit,
                     int rdrCount,
                     Origin distributor,
                     MissionName missionName,
                     Origin datasetSource,
                     PlatformShortName platformShortname)
              throws RtStpsException
Throws:
RtStpsException

RDRFileWriter

public RDRFileWriter(Stats stats,
                     java.lang.String destPath,
                     int orbit,
                     int rdrCount,
                     Origin distributor,
                     MissionName missionName,
                     Origin datasetSource,
                     PlatformShortName platformShortname)
              throws RtStpsException
Throws:
RtStpsException
Method Detail

put

public void put(Packet p)
         throws RtStpsException
Throws:
RtStpsException

close

public void close(boolean hdfCleanup)
           throws RtStpsException
Throws:
RtStpsException

writeAttributes

private void writeAttributes(java.util.Date creationDateAndTime)
                      throws RtStpsException
Throws:
RtStpsException

rename

private void rename(java.util.Date creationDateAndTime)
             throws RtStpsException
Throws:
RtStpsException

createUserBlock

private void createUserBlock(java.io.File file)
                      throws RtStpsException
Throws:
RtStpsException

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object