LR CODE documentation
CODE storage:
- Configuration control location:
- /data/acis/LoadReviews/cvs-repository/lr
- Execution location:
- /data/acis/LoadReviews/scripts/lr
- /data/acis-bak/LoadReviews/scripts/lr_bak
Code Description:
The lr script is a wrapper PERL script that speeds up the load
review process. This script generates a uniform directory structure
for each load review. It gathers needed files from the OFLS via ftp to
"lucky.harvard.edu," and executes acis-backstop.pl
to commence the load review and generate the output products to be
reviewed by the ACIS scientist on-call. It also executes several
other codes to collect ancillary data for the load review to be
completed. The script requires that the user
run it from the HEAD-LAN and is executed from the command line as
follows:
lr {load under review} {previous load} {print option}
Options:
- -b or --break: To run when the load on board has been interrupted or
when a new load is in place.
-
-s :to present a new OCAT server to look up the
ACIS OCAT entries. This option can occur at any point in the
command line.
-
-n : To pass a new host name to the python scripts. The python scripts
MUST be executed on a linux platform. (default is acis.harvard.edu)
-
-t: a full pathname to a test directory
Code flow:
The code flow is as follows:
- Determine the operating system and set proper binary
directories
- Parse the load name and create variables for directories
- Confirm user is ACISDUDE
- Build all directories
- SFTP over to lucky and collect username to pass to lucky.
- Unzip the tar file and collect all needed files
- If break option set, run the lr_break subroutine to
collect information to create an edited history file.
- Run the Health and Safety script: LRHS (no docs)
- Run acis-backstop.pl.
- Set softlinks for the ofls directory.
- Print ACIS Tables names.
- Determine bad solar angles for PSMC and DEA
with saa_checker.pl.
- Determine any bright X-ray sources that may cause damage to ACIS
if they linger in the field of view with bright-source.
- Run all thermal prediction software starting with:
- fptemp_sens_finder.pl: collects obsids that are sensitive to
temperatures
- run_models.pl: runs the following models:
- psmc_check
- dea_check
- dpa_check
- acisfp_check
- Create webpage for thermal code with mk_thermal_html.pl
- Execute earth-acis-FOV software to determine location of earth on
the radiator shades and plot the data with plot_FOV_data.pl.
- Set the current load name into the file **ace_helper**
- Delete backstop file and rezip the tarfile.
- Copy the directory to /data/acis_bak.
Author:
Nancy Wolk
return to last page
Last modified: Wed Feb 27 14:15:21 EDT 2013