Download this file

/* PDS FORMAT FILE FOR A RAD SCIENCE OBSERVATION PACKET */

OBJECT             = CONTAINER
   NAME            = SCI_OBS_CCSDS2_HEADER
   ^STRUCTURE      = "CCSDS2_HEADER.FMT" 
   START_BYTE      = 1
   BYTES           = 10
   REPETITIONS     = 1
   DESCRIPTION     = "This container represents the format of the 
                     ccsds2 header structure found at the beginning of
                     an instrument packet.  The header has 4 fields."
END_OBJECT         = CONTAINER

OBJECT             = COLUMN
   NAME            = BLOCK_WRITES_COUNT
   DATA_TYPE       = MSB_UNSIGNED_INTEGER
   START_BYTE      = 11
   BYTES           = 2
   DESCRIPTION     = "Number of times block has been written"
END_OBJECT         = COLUMN

OBJECT             = COLUMN
   NAME            = BLOCK_INFORMATION
   DATA_TYPE       = MSB_UNSIGNED_INTEGER
   START_BYTE      = 13
   BYTES           = 2
   DESCRIPTION     = "Block information bits."

   OBJECT          = BIT_COLUMN
     NAME          = TEST_MODE
     BIT_DATA_TYPE = UNSIGNED_INTEGER
     START_BIT     = 1
     BITS          = 4
     DESCRIPTION   = "Test mode flag."
   END_OBJECT      = BIT_COLUMN

   OBJECT          = BIT_COLUMN
     NAME          = APID
     BIT_DATA_TYPE = UNSIGNED_INTEGER
     START_BIT     = 5
     BITS          = 12
     DESCRIPTION   = "Block number. Range 0 - 4096"
   END_OBJECT      = BIT_COLUMN

END_OBJECT         = COLUMN

OBJECT             = CONTAINER
   NAME            = RAD_DIAG_HOUSEKEEPING
   ^STRUCTURE      = "RAD_DIAG_HK.FMT"
   START_BYTE      = 15
   BYTES           = 88
   REPETITIONS     = 1
   DESCRIPTION     = "The RAD diagnostic housekeeping structure."
END_OBJECT         = CONTAINER

OBJECT             = CONTAINER 
   NAME            = CCSDS_HEADER
   ^STRUCTURE      = "CCSDS_HEADER.FMT"
   START_BYTE      = 103
   BYTES           = 6
   REPETITIONS     = 1
   DESCRIPTION     = "This container represents the format of the 
                     ccsds header structure found at the beginning of
                     an instrument packet.  The header has 3 fields."
END_OBJECT         = CONTAINER

OBJECT             = CONTAINER
   NAME            = RAD_DIAG_SYS
   ^STRUCTURE      = "RAD_DIAG_SYS.FMT"
   START_BYTE      = 109
   BYTES           = 102
   REPETITIONS     = 1
   DESCRIPTION     = "The RAD diagnostic sys structure."
END_OBJECT         = CONTAINER

OBJECT             = COLUMN
   NAME            = RESERVED
   DATA_TYPE       = MSB_UNSIGNED_INTEGER
   START_BYTE      = 211
   BYTES           = 4
   DESCRIPTION     = "Spare field."
END_OBJECT         = COLUMN

OBJECT             = CONTAINER 
   NAME            = MSG_CCSDS_HEADER
   ^STRUCTURE      = "CCSDS_HEADER.FMT" 
   START_BYTE      = 215
   BYTES           = 6
   REPETITIONS     = 1
   DESCRIPTION     = "This container represents the format of the 
                      ccsds header structure found at the beginning of
                      an instrument packet.  The header has 3 fields."
END_OBJECT         = CONTAINER

OBJECT             = CONTAINER
   NAME            = MESSAGES
   START_BYTE      = 221
   BYTES           = 9
   REPETITIONS     = 10
   DESCRIPTION     = "The message container represents the 
                     message data collected from RAD. "
   OBJECT          = COLUMN
     NAME          = MESSAGE_RCLK
     DATA_TYPE     = MSB_UNSIGNED_INTEGER
     START_BYTE    = 1
     BYTES         = 4
     DESCRIPTION   = "Spacecraft time of the message in seconds"
   END_OBJECT      = COLUMN

   OBJECT          = COLUMN
     NAME          = MESSAGE_ID
     DATA_TYPE     = MSB_UNSIGNED_INTEGER
     START_BYTE    = 5
     BYTES         = 1
     DESCRIPTION   = "Message identificaiton."
   END_OBJECT      = COLUMN

   OBJECT          = COLUMN
     NAME          = MESSAGE_NUM
     DATA_TYPE     = MSB_UNSIGNED_INTEGER
     START_BYTE    = 6
     BYTES         = 1
     DESCRIPTION   = "Message number. Valid is 0-9."
   END_OBJECT      = COLUMN

   OBJECT          = COLUMN
     NAME          = PENDING_INTERRUPTS
     DATA_TYPE     = MSB_UNSIGNED_INTEGER
     START_BYTE    = 7
     BYTES         = 1
     DESCRIPTION   = "The number of interrupts pending."
   END_OBJECT      = COLUMN

   OBJECT          = COLUMN
     NAME          = MESSAGE_DATA
     DATA_TYPE     = MSB_UNSIGNED_INTEGER
     START_BYTE    = 8
     BYTES         = 2
     DESCRIPTION   = "Message data."
   END_OBJECT      = COLUMN
END_OBJECT         = CONTAINER

OBJECT             = COLUMN
   NAME            = MSG_CHECKSUM
   DATA_TYPE       = MSB_UNSIGNED_INTEGER
   START_BYTE      = 311
   BYTES           = 4
   DESCRIPTION     = "Fletcher checksum of the messages packet"
END_OBJECT         = COLUMN

OBJECT             = CONTAINER
   NAME            = SCI_DATA_CCSDS_HDR
   ^STRUCTURE      = "CCSDS_HEADER.FMT" 
   START_BYTE      = 315
   BYTES           = 6
   REPETITIONS     = 1
   DESCRIPTION     = "This container represents the format of the 
                      ccsds header structure found at the beginning of
                      an instrument packet.  The header has 3 fields."
END_OBJECT         = CONTAINER

OBJECT             = COLUMN
   NAME            = SCIENCE_DATA
   DATA_TYPE       = MSB_UNSIGNED_INTEGER
   START_BYTE      = 321
   BYTES           = 16060
   ITEMS           = 16060
   ITEM_BYTES      = 1
   DESCRIPTION     = "The RAD Science Packet is a fixed size but not a fixed 
                     structure.  The size does not vary but the content may.  
                     The science data is either a combination of science data 
                     and Pulse Height Analysis (PHA) data or just PHA data. 
                     If the CCSDS2_DATA_LENGTH of the SCI_DATA_CCSDS2_HDR
                     is non zero, then science data is included.
                     Refer to the SIS for more information on the structure." 
END_OBJECT         = COLUMN

OBJECT             = COLUMN
   NAME            = OBSERVATION_CHECKSUM
   DATA_TYPE       = MSB_UNSIGNED_INTEGER
   START_BYTE      = 16381
   BYTES           = 4
   DESCRIPTION     = "Fletcher checksum of the observation"
END_OBJECT         = COLUMN