Fundamental Technologies

Ulysses HISCALE Pages

2.4 Common Data File

Please Refer to the Appendix for JPL SIS Reference, July 27, 1991. The following section shows a memo to Harry Woo at the Jet Propulsion Lab, from TPA.

Subject: Algorithm for extraction of ISPM data pool items from the LAN telemetry.

By negotiation of Lanzerotti with the SWT, the LAN contribution to the data pool will consist of 6 particle fluxes. These are to be derived from time averages of the decompressed count rates which appear in the LAN data stream. The flux is obtained by multiplying the time-averaged count rate by a conversion factor which we provide here. We reserve the right to adjust the conversion factors based on flight experience, so the data pool generating software should be constructed to allow for easy modification of these numbers.

Algorithm to Obtain Data Pool Items from the LAN Telemetry Stream
(Revised 1/16/84, T.P. Armstrong, add missing data handling)

The count rates required appear in a block of 478 bytes of Rate and CA information which is repeated 5 times during the LAN data cycle (4 formats). The block of 478 bytes contains repetitions of the data pool rates at the following offsets from its beginning (on a 0-477 byte basis):

P2' 1,37,73,109,15,51,87,123,145,228,311,394,177,260,343,426
P5' 4,40,76,112,18,54,90,126,148,231,314,397,180,263,346,429
E2' 6,42,78,114,20,56,92,128,150,233,316,399,182,265,348,431
E4' 8,44,80,116,22,58,94,130,152,235,318,401,184,267,350,433
W3' 165,248,331,414,197,280,363,446
W5' 167,250,333,416,199,282,365,448

The 5 repetitions of the Rate and CA block within the 4 format LAN data cycle are located as follows:

Rep. # 1 (spins 1 & 2) Format 0, bytes 134-610
Rep. # 2 (spins 3 & 4) Format 0, bytes 611-639 + Format 1, bytes 6-455.
Rep. # 3 (spins 5 & 6) Format 1, bytes 456-639 + Format 2, bytes 6-299.
Rep. # 4 (spins 7 & 8) Format 2, bytes 300-639 + Format 3, bytes 6-143.
Rep. # 5 (spins 9 & 10) Format 3, bytes 144-621.

Note: Byte counts are on a 0-639 basis for the 640 bytes per format of LAN information in the telemetry stream. Each occurrence of a log compressed count rate is one byte. The decompressed rate is obtained by

Rate = (16+E*8+F*4+G*2+H)*2**(8*A+4*B+2*C+D-1)

where the compressed byte was ABCDEFGH. If the compressed byte has a value between 00 and 0F (HEX), no decompression is necessary--the value stands.

Data validity: At the beginning of a run when the LAN experiment may have been powered down, it is necessary to wait for 12 formats after the power on flags show "1" for valid data. The power on flags are in:

Byte 2, bit 0
Byte 4, bits 4,5,6    All formats.

Also to be checked are the valid data group flags in the status trailer (bytes 636-637 of format 3).

These flags must show "0" for valid data:

Rep. # 1 byte 636, bits 0,1
Rep. # 2 byte 636, bits 2,3
Rep. # 3 byte 636, bits 4,5
Rep. # 4 byte 636, bits 6,7
Rep. # 5 byte 637, bits 0,1

(bit counts within bytes given on 0-7 basis with 0 as the most significant bit)
(byte counts within formats given on a 0-639 basis)
(format cycle runs 0,1,2,3)

Missing data

Power on flags. When these are not present in the data stream, it should be assumed that they have not changed from the last valid occurrence.

Status trailer flags

When one of these is not present in the data stream, it should be assumed that it is invalid. This would result in the elimination of the corresponding data repetition group from the pool algorithm average.

Data group repetition

When any part of a repetition is missing from the data stream, the entire repetition should be flushed (all channels).

Next: Chapter 3

Return to main Chapter 2 table of contents page.
Return to HISCALE Data Analysis Handbook Table of Contents.
Return to HISCALE Data Production Center Main Page.

Updated 5/12/09, T. Hunt-Ward