Документ взят из кэша поисковой машины. Адрес оригинального документа : http://www.stsci.edu/spst/UnixTransition/doc/check_plan_windows.html
Дата изменения: Fri Apr 8 12:46:14 2016
Дата индексирования: Mon Apr 11 05:18:49 2016
Кодировка:

Поисковые слова: п п п п п п п п п п п п п п п п п п п п п р п р п р п р п р п р п р п р п р п р п р п р п р п р п р п р п р п
Python: module check_plan_windows
 
 
check_plan_windows (version 15.06.11)
index
check_plan_windows.py

Produces Plan Window information for the given POV or LRP
 
TITLE:      check_plan_windows.py
DEVELOPER:  Alan Patterson
 
PURPOSE:    The tool extracts Plan Window information for the given POV
                     or LRP
 
USAGE:      do check_plan_windows  <POV_or_LRP>   [-lrp]
                                             [-start=<start>]
                                             [-end=<end>]
                                             [-constraint]
                                             [-outfile=<outfile>]
                                             [-brief]
                                             [-ready]
                                             [-notready]
                                             [-noheader]
                                             [-nofixedpov]
                                             [-sort]
                                             [-prime]
                                             [-fineguide]
                                             [-ctrack]
                                             [-duration]
 
             where: <POV_or_LPR>     is either a POV or and LRP name
                     -lrp            is a flag indicating parameter is an LRP
                     <start>         start of range to be displayed
                     <end>           end of range to be displayed
                     -constraint     require overlapping Constraint window (CONSTRAINT)
                     <outfile>       name of output file
                     -brief          limit output to only visit_id
                     -noheader       no headings
                     -nofixedpov     POV output as prog:obs:vis instead of pppppooovvv
                     -sort           sorts output (into standard order)
                     -prime          includes only prime visits
                     -fineguide      includes only FINEGUIDE pointing visits
                     -nopw           for constraint window output; CW in timeframe - no PW in timeframe
                     -ctrack         includes only visits with a SUCCEEDED status
                                       in constraint_track
                     -duration       order by duration (short to long)
 
 RETURNS:   Nothing
 
 MOD HISTORY:
     o expand internal doc                                           app  09/07/11
     o output file, brief                                            app  10/27/11
     o no headings                                                   app  10/28/11
     o use jwst_test_util                                            app  11/02/11
     o allow for updated DB versions                                 app  03/13/12
     o use library version of get_db_version                         app  08/01/12
     o ensure parameters retain case                                 app  09/27/12
     o allow for create_time not present in data                     app  02/27/13
     o allow for sort option and prime/fine and
         constraint_track checks                                     app  04/02/13
     o bug fix - correct cross track/prime/fine in query             app  05/02/13
     o modify constraint window search and allow avoidance of PWs    app  05/21/13
     o allow ordering by duration                                    app  08/06/13
     o include TOTAL_ABSOLUTE_CONSTRAINT check for CWs               app  01/14/14
     o corrected documentation -outfile                              app  02/10/15
     o Mod relation name plan_window --> plan_windows (PPSDB 62)     gnc  06/11/15

 
Modules
       
jwst_test_util
jwst_time_util
spss_sys_util
spst_getopt
stpydb
sys

 
Functions
       
get_constraint_windows(dbversion, parm, is_lrp, start, end, ready, notready, prim, fine, ctrk, avoid)
get_plan_windows(dbversion, parm, is_lrp, start, end, ready, notready, prim, fine, ctrk)
run(*args)
The tool extracts Plan Window (and/or CW) information for the given POV
                  or LRP
 
USAGE:      do check_plan_windows  <POV_or_LRP>   [-lrp]
                                          [-start=<start>]
                                          [-end=<end>]
                                          [-constraint]
                                          [-outfile=<outfile>]
                                          [-brief]
                                          [-ready]
                                          [-notready]
                                          [-noheader]
                                          [-nofixedpov]
                                          [-sort]
                                          [-prime]
                                          [-fineguide]
                                          [-nopw]
                                          [-ctrack]
                                          [-duration]
 
          where: <POV_or_LPR>     is either a POV or and LRP name
                  -lrp            is a flag indicating parameter is an LRP
                  <start>         start of range to be displayed
                  <end>           end of range to be displayed
                  -constraint     produce constraint window data instead
                  <outfile>       name of output file
                  -brief          limit output to only visit_id
                  -noheader       no headings
                  -nofixedpov     POV output as prog:obs:vis instead of pppppooovvv
                  -sort           sorts output (into standard order)
                  -prime          includes only prime visits
                  -fineguide      includes only FINEGUIDE pointing visits
                  -nopw           for constraint window output; CW in timeframe - no PW in timeframe
                  -ctrack         includes only visits with a SUCCEEDED status
                                    in constraint_track
                  -duration       allow ordering by duration

 
Data
        __author__ = 'Alan Patterson'
__version__ = '15.06.11'

 
Author
        Alan Patterson