Helix Nebula Banner Image

The Galileo Energetic Particles Detector


Galileo EPD Handbook


Chapter 2. EPD Software


LGA Processing Software for the Energetic Particles Detector (continued)

Source: C. Brull and S. Stone, December 19, 1998


4. LGA Processor Overview


4.1 LGAPROC Operation


4.1.1 Configuration Files


Before running LGAPROC, the operator must create a configuration file which describes the data to be processed. The configuration file contains several lines of data in the following format:




The valid keywords and expected values are listed in Table 1 below.


Keyword Value Required
EPD_PKT Filename of EPD SFDU packets. Multiple EPD packet files may be listed. They will be read in the order they are listed. Y
AACS_PKT Filename of AACS SFDU packets. N
MAG_ASC Filename of ASCII MAG data. N
APPEND If 'Y' then new data is appended to old files. If 'N' new files are created for all data. N
COORD_CENTER The body to be the center of coordinates.  'Jupiter' is the normal value. N


4.1.2 Running LGAPROC


After creating the configuration file, LGAPROC can be executed. The executable will accept the name of the configuration file as a command line parameter. If no command line parameter is

specified, the program will prompt the operator for the name of the configuration file.


No output is generated during the execution of LGAPROC. Successful completion of the program is indicated the return of the command prompt without error. The operator should inspect the log files mentioned below to determine if LGAPROC encountered any problems reading the data files.


4.1.3 Output


LGAPROC generates two files for each day of data processed. The first file is the archive file with record structure described in Section 3. The archive filenames are generated to match the year and day of the data contained in the files. For example, data collected during day 250 of 1996 would be stored in a file named 96250.lga. A log file is also generated corresponding to each archive file. In the above example, 96250.log would contain information about which packets LGAPROC processed. The log file will contain notation if EPD packets are out of sequence and if EPD packets cannot be matched with appropriate MAG and AACS data. No note will appear in the log file about missing MAG or AACS information if quick look files are being produced from EPD packets only.


4.2 LGAPROC Functions


The basic tasks performed by LGAPROC include the following:


  1. Initialize LGAPROC
    1. Acquire the name of the configuration file.
  2. Process LGA Packets
    1. Read SFCU packets and determine LGA packet type
    2. Discard any non-real time packets.
    3. Read in two real time packets. One contains count rate information, the other contains PHA and housekeeping data. Make sure that the two packets correspond to each other by checking sequence number and packet size.
    4. Extract time from LGA packet.
    5. Decompress the counts in the LGA packets and move them to the LGABLOCK data structure.
    6. Copy the subcom and PHA data to the LGABLOCK structure.
    7. Determine the amount of time spent in each sector.
      • based on number of science records per packet
      • correct for uneven coverage on start and stop motor positions
    8. Sum high resolution data into the lower resolution bins.
    9. Convert the counts in each bin to rates by dividing by times.
    10. Set the header information in the LGABLOCK structure
      • spacecraft position and orientation information
      • other header information
    11. Write the LGABLOCK record to the output file and repeat for the next set of LGA packets.


**Known deficiency of this document: "Still need to include a more complete description of the processing steps in the final version of LGAPROC; description of the sfdu.h and bits.h libraries." See other documents on this website.



Next: 5. LGAGEN Overview


Return to Galileo EPD Handbook Table of Contents Page.

Return to main Galileo Table of Contents Page.
Return to 
Fundamental Technologies Home Page.


Updated 8/23/19, Cameron Crane


Manufacturer: The Galileo Spacecraft was manufactured by the Jet Propulsion Laboratory, Messerschmitt-Bölkow-Blohm, General Electric, and the Hughes Aircraft Company.

Mission Duration: Galileo was planned to have a mission duration of around 8 years, but was kept in operation for 13 years, 11 months, and 3 days, until it was destroyed in a controlled impact with Jupiter on September 21, 2003.

Destination: Galileo's destination was Jupiter and its moons, which it orbitted for 7 years, 9 months, and 13 days.