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

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

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

The following table is used by this package to determine which packets it recieves are going to processed. Each packet is given its official name from the JPSS/NPOESS documentation and the applcation identifier which is of critical importance. The description and a group designation are given but are largley unused in this package. (VIIRS are group or segmented packets but none of the other this package currently processes, ATMS and CrIS, are like this) This table is used to when defining the RDR packages this will process see RDRName. In some cases slightly variations in the offical name has been chosen due to conflicts or other issues. These special cases are fixed up in the toString method.


Enum Constant Summary
ATMS_CAL
           
ATMS_SCI
           
CAL
           
CLW1
           
CLW2
           
CLW3
           
CLW4
           
CLW5
           
CLW6
           
CLW7
           
CLW8
           
CLW9
           
CMW1
           
CMW2
           
CMW3
           
CMW4
           
CMW5
           
CMW6
           
CMW7
           
CMW8
           
CMW9
           
CRIS_ENG
           
CSW1
           
CSW2
           
CSW3
           
CSW4
           
CSW5
           
CSW6
           
CSW7
           
CSW8
           
CSW9
           
DIARY
           
DNB
           
DNB_LGS2
           
DNB_MGS2
           
EIGHT
           
ENG
           
ENG_HS
           
ENG_TEMP
           
I01
           
I02
           
I03
           
I04
           
I05
           
M01
           
M02
           
M03
           
M04
           
M05
           
M06
           
M07
           
M08
           
M09
           
M10
           
M11
           
M12
           
M13
           
M14
           
M15
           
M16
           
NLW1
           
NLW2
           
NLW3
           
NLW4
           
NLW5
           
NLW6
           
NLW7
           
NLW8
           
NLW9
           
NMW1
           
NMW2
           
NMW3
           
NMW4
           
NMW5
           
NMW6
           
NMW7
           
NMW8
           
NMW9
           
NoName
           
NSW1
           
NSW2
           
NSW3
           
NSW4
           
NSW5
           
NSW6
           
NSW7
           
NSW8
           
NSW9
           
SLW1
           
SLW2
           
SLW3
           
SLW4
           
SLW5
           
SLW6
           
SLW7
           
SLW8
           
SLW9
           
SMW1
           
SMW2
           
SMW3
           
SMW4
           
SMW5
           
SMW6
           
SMW7
           
SMW8
           
SMW9
           
SSW1
           
SSW2
           
SSW3
           
SSW4
           
SSW5
           
SSW6
           
SSW7
           
SSW8
           
SSW9
           
 
Field Summary
private  int appId
           
private  java.lang.String description
           
private  int totalGroupCount
           
 
Method Summary
static PacketName fromAppId(int appId)
          Return the enumeration from the application id
 int getAppId()
          Get the application id associate with the short name
 java.lang.String getDescription()
          Return the description
 int getTotalGroupCount()
          Return the number of total number of first, middle and last packets associated with the short name
 java.lang.String toString()
          Return the name of the packet, certain special cases are fixed up here to match their official designation.
static PacketName valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static PacketName[] 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, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

NoName

public static final PacketName NoName

ATMS_CAL

public static final PacketName ATMS_CAL

ATMS_SCI

public static final PacketName ATMS_SCI

ENG_TEMP

public static final PacketName ENG_TEMP

ENG_HS

public static final PacketName ENG_HS

M04

public static final PacketName M04

M05

public static final PacketName M05

M03

public static final PacketName M03

M02

public static final PacketName M02

M01

public static final PacketName M01

M06

public static final PacketName M06

M07

public static final PacketName M07

M09

public static final PacketName M09

M10

public static final PacketName M10

M08

public static final PacketName M08

M11

public static final PacketName M11

M13

public static final PacketName M13

M12

public static final PacketName M12

I04

public static final PacketName I04

M16

public static final PacketName M16

M15

public static final PacketName M15

M14

public static final PacketName M14

I05

public static final PacketName I05

I01

public static final PacketName I01

I02

public static final PacketName I02

I03

public static final PacketName I03

DNB

public static final PacketName DNB

DNB_MGS2

public static final PacketName DNB_MGS2

DNB_LGS2

public static final PacketName DNB_LGS2

ENG

public static final PacketName ENG

CAL

public static final PacketName CAL

DIARY

public static final PacketName DIARY

NLW1

public static final PacketName NLW1

NLW2

public static final PacketName NLW2

NLW3

public static final PacketName NLW3

NLW4

public static final PacketName NLW4

NLW5

public static final PacketName NLW5

NLW6

public static final PacketName NLW6

NLW7

public static final PacketName NLW7

NLW8

public static final PacketName NLW8

NLW9

public static final PacketName NLW9

NMW1

public static final PacketName NMW1

NMW2

public static final PacketName NMW2

NMW3

public static final PacketName NMW3

NMW4

public static final PacketName NMW4

NMW5

public static final PacketName NMW5

NMW6

public static final PacketName NMW6

NMW7

public static final PacketName NMW7

NMW8

public static final PacketName NMW8

NMW9

public static final PacketName NMW9

NSW1

public static final PacketName NSW1

NSW2

public static final PacketName NSW2

NSW3

public static final PacketName NSW3

NSW4

public static final PacketName NSW4

NSW5

public static final PacketName NSW5

NSW6

public static final PacketName NSW6

NSW7

public static final PacketName NSW7

NSW8

public static final PacketName NSW8

NSW9

public static final PacketName NSW9

SLW1

public static final PacketName SLW1

SLW2

public static final PacketName SLW2

SLW3

public static final PacketName SLW3

SLW4

public static final PacketName SLW4

SLW5

public static final PacketName SLW5

SLW6

public static final PacketName SLW6

SLW7

public static final PacketName SLW7

SLW8

public static final PacketName SLW8

SLW9

public static final PacketName SLW9

SMW1

public static final PacketName SMW1

SMW2

public static final PacketName SMW2

SMW3

public static final PacketName SMW3

SMW4

public static final PacketName SMW4

SMW5

public static final PacketName SMW5

SMW6

public static final PacketName SMW6

SMW7

public static final PacketName SMW7

SMW8

public static final PacketName SMW8

SMW9

public static final PacketName SMW9

SSW1

public static final PacketName SSW1

SSW2

public static final PacketName SSW2

SSW3

public static final PacketName SSW3

SSW4

public static final PacketName SSW4

SSW5

public static final PacketName SSW5

SSW6

public static final PacketName SSW6

SSW7

public static final PacketName SSW7

SSW8

public static final PacketName SSW8

SSW9

public static final PacketName SSW9

CLW1

public static final PacketName CLW1

CLW2

public static final PacketName CLW2

CLW3

public static final PacketName CLW3

CLW4

public static final PacketName CLW4

CLW5

public static final PacketName CLW5

CLW6

public static final PacketName CLW6

CLW7

public static final PacketName CLW7

CLW8

public static final PacketName CLW8

CLW9

public static final PacketName CLW9

CMW1

public static final PacketName CMW1

CMW2

public static final PacketName CMW2

CMW3

public static final PacketName CMW3

CMW4

public static final PacketName CMW4

CMW5

public static final PacketName CMW5

CMW6

public static final PacketName CMW6

CMW7

public static final PacketName CMW7

CMW8

public static final PacketName CMW8

CMW9

public static final PacketName CMW9

CSW1

public static final PacketName CSW1

CSW2

public static final PacketName CSW2

CSW3

public static final PacketName CSW3

CSW4

public static final PacketName CSW4

CSW5

public static final PacketName CSW5

CSW6

public static final PacketName CSW6

CSW7

public static final PacketName CSW7

CSW8

public static final PacketName CSW8

CSW9

public static final PacketName CSW9

EIGHT

public static final PacketName EIGHT

CRIS_ENG

public static final PacketName CRIS_ENG
Field Detail

description

private java.lang.String description

appId

private int appId

totalGroupCount

private int totalGroupCount
Method Detail

values

public static PacketName[] 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 (PacketName c : PacketName.values())
    System.out.println(c);

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

valueOf

public static PacketName 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

fromAppId

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

Parameters:
appId -
Returns:
one of Packets short names

toString

public java.lang.String toString()
Return the name of the packet, certain special cases are fixed up here to match their official designation.

Overrides:
toString in class java.lang.Enum<PacketName>
Returns:
the name of the packet in a String

getDescription

public java.lang.String getDescription()
Return the description

Returns:
string description

getAppId

public int getAppId()
Get the application id associate with the short name

Returns:
the application id

getTotalGroupCount

public int getTotalGroupCount()
Return the number of total number of first, middle and last packets associated with the short name

Returns:
int count