CCSD3ZF0000100000001NJPL3IF0PDS200000001 = SFDU_LABEL /* EDRDATA.FMT: Galileo/NIMS EDR Data Record Structure */ /* Version 0.1, 30sep92, Bob Mehlman UCLA/IGPP */ /* Version 0.2, 19oct92, Bob Mehlman, w. changes suggested by Sue Hess */ /* Version 0.3, 18nov92, Bob Mehlman, corrections to AACS rate items */ /* Version 0.4, 21jan93, Bob Mehlman, changed NATIVE_TIME formats */ /* Version 0.5, 25jan93, Sue Hess, changed ERT BIT_COLUMN formats */ /* Version 0.6, 15feb93, Bob Mehlman, changed LRS_ERROR_FLAGS formats */ /* Version 0.7, 19mar93, Bob Mehlman, added RECEIVER_SIGNAL_LEVEL column*/ /* Version 0.8, 23mar93, Bob Mehlman, revised NIMS_SENSOR_DATA col & bit-col */ /* EDRDATA2.FMT: Galileo/NIMS Phase 2 EDR Data Record Structure */ /* Version 0.9, 22sep97, Bob Mehlman, phase 2 version */ /* Version 1.0, 01jun98, Bob Mehlman, modified desc of NIMS_DATA_NUMBER */ /* Version 1.1, 21sep99, Bob Mehlman, corrected START_BYTE & CONTAINER error */ /* but now using theoretically illegal REPETITIONS = 1! */ /* This structure label, together with EDRHDR2.FMT, represents in PDS */ /* label form the same material as the EDR SIS: Near Infrared Mapping */ /* Spectrometer Experiment Data Record (NIMS EDR) for Phase 2, D-3048, */ /* GLL Project 232-08, SFOC0038-02-00-03, SFOC-1-MPS-GLL-NIMSEDR, */ /* Final, 4 Feb. 1997. */ /* Physical */ /* Record <------------ 512 bytes -------------> */ /* ______________________________________ */ /* 1 | | */ /* | | */ /* | | */ /* | LABEL | */ /* | | Logical */ /* 6 | | Sequence */ /* |____________________________________| */ /* 7 | | 0 */ /* | | */ /* | HEADER_TABLE | 1 */ /* | | */ /* |____________________________________| */ /* 11 | row 1 | 2 */ /* | | */ /* | - - - - - - - - - - - - - - - - - -| */ /* 13 | row 2 | 3 */ /* | | */ /* | - - - - - - - - - - - - - - - - - -| */ /* | | */ /* | DATA_TABLE | */ /* | | */ /* ... . ... . ... */ /* | - - - - - - - - - - - - - - - - - -| */ /* | | */ /* | | */ /* |____________________________________| */ OBJECT = CONTAINER NAME = NATIVE_TIME START_BYTE = 1 BYTES = 6 REPETITIONS = 1 DESCRIPTION = "Spacecraft clock time of the data record. It is usually displayed in the form rrrrrrrr.mm.t where rrrrrrrr is the RIM count (major frame), mm is the MOD91 count (minor frame) and t is the MOD10 count (RTI, or real-time interrupt)." OBJECT = COLUMN NAME = NATIVE_TIME_RIM DATA_TYPE = UNSIGNED_INTEGER START_BYTE = 1 BYTES = 4 DESCRIPTION = "Spacecraft Clock Realtime IMage count (RIM) of the record. The RIM count is incremented every 60 2/3 seconds. It contains 91 minor frames or MOD91 counts." END_OBJECT = COLUMN OBJECT = COLUMN NAME = NATIVE_TIME_MOD91 DATA_TYPE = UNSIGNED_INTEGER START_BYTE = 5 BYTES = 1 DESCRIPTION = "Spacecraft Clock MOD91 count of the record. The MOD91 count is incremented every 2/3 second, and assumes values 0 to 90 within a RIM count." END_OBJECT = COLUMN OBJECT = COLUMN NAME = NATIVE_TIME_MOD10 DATA_TYPE = UNSIGNED_INTEGER START_BYTE = 6 BYTES = 1 DESCRIPTION = "Spacecraft Clock MOD10 count of the record. The MOD10 count is incremented every .0667 second, and assumes values 0 to 9 within a MOD91 count." END_OBJECT = COLUMN END_OBJECT = CONTAINER OBJECT = CONTAINER NAME = EARTH_RECEIVED_TIME START_BYTE = 7 BYTES = 9 REPETITIONS = 3 DESCRIPTION = "Earth received time of the packets containing data for the record. There will be at least one such packet, and as many as three." OBJECT = COLUMN NAME = EARTH_RECEIVED_TIME_YEAR DATA_TYPE = UNSIGNED_INTEGER START_BYTE = 1 BYTES = 2 DESCRIPTION = "Earth received time year of the packet." END_OBJECT = COLUMN OBJECT = COLUMN NAME = EARTH_RECEIVED_TIME_MONTH DATA_TYPE = UNSIGNED_INTEGER START_BYTE = 3 BYTES = 1 DESCRIPTION = "Earth received time month (1-12) of the packet." END_OBJECT = COLUMN OBJECT = COLUMN NAME = EARTH_RECEIVED_TIME_DAY DATA_TYPE = UNSIGNED_INTEGER START_BYTE = 4 BYTES = 1 DESCRIPTION = "Earth received time day of month of the packet." END_OBJECT = COLUMN OBJECT = COLUMN NAME = EARTH_RECEIVED_TIME_HOUR DATA_TYPE = UNSIGNED_INTEGER START_BYTE = 5 BYTES = 1 DESCRIPTION = "Earth received time hour (0-23) of the packet." END_OBJECT = COLUMN OBJECT = COLUMN NAME = EARTH_RECEIVED_TIME_MINUTE DATA_TYPE = UNSIGNED_INTEGER START_BYTE = 6 BYTES = 1 DESCRIPTION = "Earth received time minute of the packet." END_OBJECT = COLUMN OBJECT = COLUMN NAME = EARTH_RECEIVED_TIME_SECOND DATA_TYPE = UNSIGNED_INTEGER START_BYTE = 7 BYTES = 1 DESCRIPTION = "Earth received time second of the packet." END_OBJECT = COLUMN OBJECT = COLUMN NAME = EARTH_RECEIVED_TIME_MSEC DATA_TYPE = UNSIGNED_INTEGER START_BYTE = 8 BYTES = 2 DESCRIPTION = "Earth received time millisecond of the packet." END_OBJECT = COLUMN END_OBJECT = CONTAINER OBJECT = COLUMN NAME = APPLICATION_ID DATA_TYPE = UNSIGNED_INTEGER START_BYTE = 34 BYTES = 1 DESCRIPTION = "Packet application identification number; identifies the NIMS phase 2 packet type, as follows (codes in hex): 05 MPW uncompressed, 26 MPW compressed, 06 LPU uncompressed, 27 LPU compressed, 07 LNR uncompressed, 28 LNR compressed, 2E realtime. MPW, LPU and LNR are telemetry mode formats for data recorded on tape. MPW here also represents other phase 0 modes, including IM4, IM8, etc." END_OBJECT = COLUMN OBJECT = COLUMN NAME = PACKET_SEQUENCER DATA_TYPE = LSB_UNSIGNED_INTEGER START_BYTE = 35 BYTES = 4 ITEMS = 3 DESCRIPTION = "Unique number(s) defining the (up to) 3 packet(s) containing data for the record. For each number, bits 0 to 3 are zero, bits 4 to 23 contain the VCDU sequence number, bit 24 indicates whether the packet sequence count has rolled over and there was at least once preceding packet header of the same type in this VCDU (0 no rollover, 1 rollover), bits 25 to 31 contain the packet sequence count. Bit 0 is the most significant bit." END_OBJECT = COLUMN OBJECT = COLUMN NAME = INSTRUMENT_MODE_ID DATA_TYPE = UNSIGNED_INTEGER START_BYTE = 47 BYTES = 1 DESCRIPTION = "Number (0-9) identifying the NIMS instrument mode. These are 0: fixed spectrometer, 1: full map, 2: full spectrometer, 3: long map, 4: long spectrometer, 5: short map, 6: short spectrometer, 7: fixed map, 8: bandedge map and 9: bandedge spectrometer." END_OBJECT = COLUMN OBJECT = COLUMN NAME = DATA_COMPLETE_FLAG DATA_TYPE = UNSIGNED_INTEGER START_BYTE = 48 BYTES = 1 DESCRIPTION = "Flag specifying whether the data were fully decompressed: 0 = no, 1 = yes." END_OBJECT = COLUMN OBJECT = COLUMN NAME = DECOMPRESSION_STATUS_FLAG DATA_TYPE = UNSIGNED_INTEGER START_BYTE = 49 BYTES = 1 DESCRIPTION = "Return code from decompression routine for this record (half minor frame). 0 success, -1 stream too short, -2 stream too long, 1 no data at all. Codes 0, -1 and -2 are based on byte counts; since the compressed stream is a bit string, these codes are only correct to the nearest byte." END_OBJECT = COLUMN OBJECT = COLUMN NAME = COMPRESSED_BYTES DATA_TYPE = LSB_UNSIGNED_INTEGER START_BYTE = 50 BYTES = 2 DESCRIPTION = "Size in bytes of the data portion of the NIMS subpacket for the half minor frame contained in the record; i.e the length of the compressed data stream." END_OBJECT = COLUMN OBJECT = COLUMN NAME = DECOMPRESSED_BYTES DATA_TYPE = LSB_UNSIGNED_INTEGER START_BYTE = 52 BYTES = 2 DESCRIPTION = "Size in bytes of the data after decompression to 10-bit NIMS data numbers." END_OBJECT = COLUMN OBJECT = COLUMN NAME = MIRROR_DIRECTION_FLAG DATA_TYPE = UNSIGNED_INTEGER START_BYTE = 54 BYTES = 1 DESCRIPTION = "Direction of mirror motion during the current half minor frame: 1 = down, 0 = up." END_OBJECT = COLUMN OBJECT = COLUMN NAME = GRATING_POSITION DATA_TYPE = UNSIGNED_INTEGER START_BYTE = 55 BYTES = 1 DESCRIPTION = "Number (0-23) indicating logical position of instrument grating during the current half minor frame. The grating assumes positions 0-5 in short grating cycles, 0-11 in full grating cycles and 0-23 in long grating cycles. It stays at position 0 in fixed grating modes." END_OBJECT = COLUMN OBJECT = COLUMN NAME = CDS_RECORD_ERROR_FLAG DATA_TYPE = UNSIGNED_INTEGER START_BYTE = 56 BYTES = 1 DESCRIPTION = "Error flag from the CDS routine which writes NIMS data to tape. Bit 1 is set if there was underflow, bit 2 is set if there was overflow. The other bits are zero." END_OBJECT = COLUMN OBJECT = COLUMN NAME = DETECTOR_MASK DATA_TYPE = LSB_BIT_STRING START_BYTE = 57 BYTES = 4 DESCRIPTION = "Bit mask (17 bits) identifying which detectors contain valid data. Lsb of byte 59 corresponds to detector 17. A value of 1 indicates selection." END_OBJECT = COLUMN OBJECT = COLUMN NAME = MIRROR_MASK DATA_TYPE = LSB_BIT_STRING START_BYTE = 61 BYTES = 4 DESCRIPTION = "Bit mask (20 bits) identifying which mirror positions contain valid data. Lsb of byte 63 corresponds to mirror position 19 (counting 0-19). A value of 1 indicates selection." END_OBJECT = COLUMN OBJECT = COLUMN NAME = ROLLOVER_PACKET_MISSING_FLAG DATA_TYPE = UNSIGNED_INTEGER START_BYTE = 65 BYTES = 1 DESCRIPTION = "Flag (if 1) indicates that the packet preceding the current packet which would have identified a RIM rollover -- was missing, and therefor the spacecraft clock time may be suspect." END_OBJECT = COLUMN OBJECT = COLUMN NAME = SPARE DATA_TYPE = "N/A" START_BYTE = 66 BYTES = 279 DESCRIPTION = "Reserved bytes" END_OBJECT = COLUMN OBJECT = ARRAY NAME = SENSOR_DATA START_BYTE = 345 AXES = 2 AXIS_ITEMS = (17,20) AXIS_NAME = (DETECTOR_NUMBER,MIRROR_POSITION) DESCRIPTION = "NIMS sensor data array: data numbers for each of the 17 NIMS detectors over 20 different 1/63 second intervals (20 different mirror positions if the secondary mirror is scanning). Detector number is the fastest varying index in the array." OBJECT = ELEMENT DATA_TYPE = LSB_UNSIGNED_INTEGER BYTES = 2 NAME = NIMS_DATA_NUMBER DESCRIPTION = "NIMS sensor datum: a 10-bit value (0-1023) embedded in an unsigned 16-bit word, right justified. Special values (0-4) are used with the following meanings: 0 datum missing in telemetry, 1 datum removed by wavelength editing in the spacecraft, 2 datum removed by mirror blocking, 3 datum removed by rate control, 4 datum removed by thresholding. Beginning with Jupiter orbit E6, original (noise) DNs with values of 0-4 have been reset to 5, so as to avoid confusion with these special values. A DN of 5 then indicates that the original DN was in the range 0-5." END_OBJECT = ELEMENT END_OBJECT = ARRAY END