Документ взят из кэша поисковой машины. Адрес оригинального документа : http://www.stsci.edu/spst/UnixTransition/doc/pn_switches.html
Дата изменения: Fri Apr 8 12:46:15 2016
Дата индексирования: Mon Apr 11 01:31:51 2016
Кодировка:
Python: module pn_switches
 
 
pn_switches
index
pn_switches.py

PURPOSE --
Switch to PN telemetry format around SAA passages for monitoring of
magnitometer problems.
 
DEVELOPER --
Don Chance
 
REQUIREMENTS --
o Each switch to/from PN must not be closer than 2 minutes to the
  start of a slew or the end of FGS visibility.
o The switch to HN on the way out of an SAA may not be closer than
  1 minute to the start of the guide star acquisition.
o The switch to PN on the way into an SAA must be after the end of
  any main science.  The switch to PN should be at the end of the main
  science or 5 minutes before the SAA entry, which ever is later.
o If the time in PN format will less than 3 minutes, don't do the
  switch to PN.
o No more than 3 hours in PN are allowed without at least 10 minutes
  in HN.
 
MODIFICATION HISTORY --
Initial implementation  3/14/01
Must switch back to HN after an SAA when there is no GSACQ.  drc 5/9/01

 
Modules
       
calendar_util
ccl_util
spss_sys_util
string

 
Functions
       
pcpterm_check(time, direction, fgsoccs, slews)
Define function to check that a given time is not too close to
an FGS occultation or beginning of a slew.
run(cal_name=None)
Create a calendar -add file for SUs to switch to PN around SAA passages.
 
Usage:
do pn_swtiches <calendar_name>
 
A calendar name is required.
 
Note: This tool will overwrite your map files.

 
Data
        CAL_BEGIN_PAD = 1200.0
CAL_END_PAD = 1800.0
GS_PAD = 60.0
HN_MIN_TIME = 600.0
PN_MAX_TIME = 10800.0
PN_MIN_TIME = 180.0
SAA_MODEL = '02'
SAA_PAD = 300.0
SU_DURATION = 61.0
SWITCH_PAD = 120.0