gov.nasa.gsfc.drl.rtstps.core.output.hdf5
Enum RDRName

java.lang.Object
  extended by java.lang.Enum<RDRName>
      extended by gov.nasa.gsfc.drl.rtstps.core.output.hdf5.RDRName
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<RDRName>

public enum RDRName
extends java.lang.Enum<RDRName>

Currently defined RDR, note that only some of these are actually supposed by having corresponding concrete RDR. Generally this can be determined from this table by the entries that have an EnumSet.range set.


Enum Constant Summary
A_DCS_Science_Mission
           
A_DCS_Telemetry_Housekeeping
           
ATMS_Diagnostic
           
ATMS_Dwell
           
ATMS_Memory_Dump
           
ATMS_Science
           
ATMS_Telemetry
           
CERES_Diagnostic
           
CERES_Science
           
CERES_Telemetry
           
CrIS_Diagnostic
           
CrIS_HSK_Dwell
           
CrIS_IM_Dwell
           
CrIS_Memory_Dump
           
CrIS_Science
           
CrIS_SSM_Dwell
           
CrIS_Telemetry
           
NPOESS_Ephemeris_and_Attitude
           
NPOESS_Spacecraft_Telemetry
           
NPP_Ephemeris_and_Attitude
           
NPP_Spacecraft_Telemetry
           
OMPS_Dwell
           
OMPS_Flight_Software_Bootup
           
OMPS_LP_Calibration
           
OMPS_LP_Diagnostic_Calibration
           
OMPS_LP_Diagnostic_Exposure1_EarthView
           
OMPS_LP_Diagnostic_Exposure2_EarthView
           
OMPS_LP_Science
           
OMPS_Memory_Dump
           
OMPS_NP_Calibration
           
OMPS_NP_Diagnostic_Calibration
           
OMPS_NP_Diagnostic_EarthView
           
OMPS_NP_Science
           
OMPS_TC_Calibration
           
OMPS_TC_Diagnostic_Calibration
           
OMPS_TC_Diagnostic_EarthView
           
OMPS_TC_Science
           
OMPS_Telemetry
           
SARP_Telemetry
           
SARR_Telemetry
           
VIIRS_Diagnostic
           
VIIRS_Diagnostic_Telemetry
           
VIIRS_Memory_Dump
           
VIIRS_Science
           
VIIRS_Telemetry
           
 
Field Summary
static int ApplicationPacketCount
           
private  int defaultNumPackets
           
private  java.util.EnumSet<PacketName> packetsInRDR
           
private  Sensor sensor
           
private  TypeID typeID
           
 
Method Summary
static RDRName fromAppId(int appId)
          Return the enumeration from the application id
static RDRName fromRDRNameStr(java.lang.String rdrNameStr)
          Given an already existing product name such as SPACECRAFT-DIARY-RDR or SPACECRAFT-DIARY-RDR_All convert that to the appropriate RDRName enums.
 int getDefaultNumPackets()
          Return the default number of packets
 int getDepth()
           
 java.lang.String getRDRStringName()
          Returns the sensor.toString() + "-" + typeID.toString() + "-RDR" appended to it.
 Sensor getSensor()
          Return the Sensor
 TypeID getTypeID()
          Return the TypeID
static RDRName valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static RDRName[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

A_DCS_Science_Mission

public static final RDRName A_DCS_Science_Mission

A_DCS_Telemetry_Housekeeping

public static final RDRName A_DCS_Telemetry_Housekeeping

ATMS_Science

public static final RDRName ATMS_Science

ATMS_Diagnostic

public static final RDRName ATMS_Diagnostic

ATMS_Dwell

public static final RDRName ATMS_Dwell

ATMS_Telemetry

public static final RDRName ATMS_Telemetry

ATMS_Memory_Dump

public static final RDRName ATMS_Memory_Dump

CrIS_Science

public static final RDRName CrIS_Science

CrIS_Diagnostic

public static final RDRName CrIS_Diagnostic

CrIS_HSK_Dwell

public static final RDRName CrIS_HSK_Dwell

CrIS_SSM_Dwell

public static final RDRName CrIS_SSM_Dwell

CrIS_IM_Dwell

public static final RDRName CrIS_IM_Dwell

CrIS_Telemetry

public static final RDRName CrIS_Telemetry

CrIS_Memory_Dump

public static final RDRName CrIS_Memory_Dump

CERES_Science

public static final RDRName CERES_Science

CERES_Diagnostic

public static final RDRName CERES_Diagnostic

CERES_Telemetry

public static final RDRName CERES_Telemetry

SARR_Telemetry

public static final RDRName SARR_Telemetry

SARP_Telemetry

public static final RDRName SARP_Telemetry

OMPS_NP_Science

public static final RDRName OMPS_NP_Science

OMPS_NP_Calibration

public static final RDRName OMPS_NP_Calibration

OMPS_NP_Diagnostic_EarthView

public static final RDRName OMPS_NP_Diagnostic_EarthView

OMPS_NP_Diagnostic_Calibration

public static final RDRName OMPS_NP_Diagnostic_Calibration

OMPS_TC_Science

public static final RDRName OMPS_TC_Science

OMPS_TC_Calibration

public static final RDRName OMPS_TC_Calibration

OMPS_TC_Diagnostic_EarthView

public static final RDRName OMPS_TC_Diagnostic_EarthView

OMPS_TC_Diagnostic_Calibration

public static final RDRName OMPS_TC_Diagnostic_Calibration

OMPS_LP_Science

public static final RDRName OMPS_LP_Science

OMPS_LP_Calibration

public static final RDRName OMPS_LP_Calibration

OMPS_LP_Diagnostic_Exposure1_EarthView

public static final RDRName OMPS_LP_Diagnostic_Exposure1_EarthView

OMPS_LP_Diagnostic_Exposure2_EarthView

public static final RDRName OMPS_LP_Diagnostic_Exposure2_EarthView

OMPS_LP_Diagnostic_Calibration

public static final RDRName OMPS_LP_Diagnostic_Calibration

OMPS_Dwell

public static final RDRName OMPS_Dwell

OMPS_Telemetry

public static final RDRName OMPS_Telemetry

OMPS_Memory_Dump

public static final RDRName OMPS_Memory_Dump

OMPS_Flight_Software_Bootup

public static final RDRName OMPS_Flight_Software_Bootup

VIIRS_Science

public static final RDRName VIIRS_Science

VIIRS_Diagnostic

public static final RDRName VIIRS_Diagnostic

VIIRS_Telemetry

public static final RDRName VIIRS_Telemetry

VIIRS_Diagnostic_Telemetry

public static final RDRName VIIRS_Diagnostic_Telemetry

VIIRS_Memory_Dump

public static final RDRName VIIRS_Memory_Dump

NPP_Spacecraft_Telemetry

public static final RDRName NPP_Spacecraft_Telemetry

NPP_Ephemeris_and_Attitude

public static final RDRName NPP_Ephemeris_and_Attitude

NPOESS_Spacecraft_Telemetry

public static final RDRName NPOESS_Spacecraft_Telemetry

NPOESS_Ephemeris_and_Attitude

public static final RDRName NPOESS_Ephemeris_and_Attitude
Field Detail

sensor

private Sensor sensor

typeID

private TypeID typeID

defaultNumPackets

private int defaultNumPackets

packetsInRDR

private java.util.EnumSet<PacketName> packetsInRDR

ApplicationPacketCount

public static int ApplicationPacketCount
Method Detail

values

public static RDRName[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
for (RDRName c : RDRName.values())
    System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static RDRName valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Parameters:
name - the name of the enum constant to be returned.
Returns:
the enum constant with the specified name
Throws:
java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
java.lang.NullPointerException - if the argument is null

getSensor

public Sensor getSensor()
Return the Sensor

Returns:
the Sensor

getTypeID

public TypeID getTypeID()
Return the TypeID

Returns:
the TypeID

getDefaultNumPackets

public int getDefaultNumPackets()
Return the default number of packets

Returns:
the number of packets as an int

fromAppId

public static RDRName fromAppId(int appId)
Return the enumeration from the application id

Parameters:
appId - the application identifier of a packet in the RDR
Returns:
one of RDR short names or null

getRDRStringName

public java.lang.String getRDRStringName()
Returns the sensor.toString() + "-" + typeID.toString() + "-RDR" appended to it. Example: if NPP_Ephemeris_and_Attitude, then Sensor.SPACECRAFT, TypeID.DIARY return SPACECRAFT-DIARY-RDR

Returns:
the sensor + typeID + 'RDR' separated by '-'

getDepth

public int getDepth()

fromRDRNameStr

public static RDRName fromRDRNameStr(java.lang.String rdrNameStr)
                              throws RtStpsException
Given an already existing product name such as SPACECRAFT-DIARY-RDR or SPACECRAFT-DIARY-RDR_All convert that to the appropriate RDRName enums.

Parameters:
rdrNameStr - the name of pre-existing RDR item
Throws:
RtStpsException - wraps any HDF exceptions