This directory contains shell scripts and IDL code for producing Level 1 and
Level 2 data for the the LET instrument in the STEREO/SEP instrument suite.

This code reads STEREO IMPACT telemetry data files (.ptp and .fin files) and
produces 1-minute, 10-minute, hourly, daily and 27-day averages of particle
intensities and counts.

run_daily.bash is the script used to perform routine daily updates.  It calls
update_l1_files.bash, which first creates a set of daily LET Level 1 ASCII
data files (1-minute averages) for a given spacecraft (ahead or behind),
starting at given start YEAR/DOY, ending at given end YEAR/DOY.
run_daily.bash then goes on to create the 10-minute, hourly, etc. data files,
using the 1-minute data as input.

These scripts call various other scripts and IDL code to get the work done.
Some Solarsoft IDL routines are used.

These scripts have headers that document the required command-line arguments
to the scripts.
Among these command-line arguments are the "public" or "private" arguments.
"public" means: use the calibration files designated for publicly-released data.
"private" means: use the calibration files designated for test purposes internally
at Caltech Space Radiation Lab.

These scripts depend on the IMPACT telemetry data files being available and
located in certain standard directories. Also, various output directories are
required to be present.

The directory paths and other definitions and environment variables are defined
in the "procenv" file, included.

Contact:
Andrew Davis (Caltech Space Radiation Lab). adavisirlwk@gmail.com
