Документ взят из кэша поисковой машины. Адрес
оригинального документа
: http://www.stsci.edu/spst/UnixTransition/doc/metric_cycle_monthly.html
Дата изменения: Fri Apr 8 12:46:15 2016 Дата индексирования: Mon Apr 11 05:55:35 2016 Кодировка: Поисковые слова: п п п п п п п п п п п п п п |
metric_cycle_monthly (version 15.05.21) | index metric_cycle_monthly.py |
Checks for CYCLE monthly metric files, processes them and publishes them
TITLE: metric_cycle_monthly.py
DEVELOPER: Alan Patterson, 30-Apr-2008
PURPOSE: The tool checks for the existence of CYCLE monthly metric data,
retrieves and processes them into updated tables (text and
Excel) and plots (cycle completion and gto)
USAGE: do metric_cycle_monthly [-verbose]
[-nodelete]
[-nocleanup]
where: -verbose causes informational messages to appear.
RETURNS: Nothing
MOD HISTORY:
o Python 2.5 app 07/30/09
o Allow instr in GTO plot, more colors app 08/31/10
o Fix typo app 09/01/10
o Removed GTO data (its done!) app 11/03/14
o code cleanup drc 04/30/15
o fix legend code drc 05/21/15
o change FTP indir to avoid errors jef 07/14/15
Modules | ||||||
|
Functions | ||
|
Data | ||
ALERTADDR = ['jferrara@stsci.edu', 'workman@stsci.edu'] BASE_DIR = 'inside-access/metrics' FTPDICT = {'base_dir': 'inside-access/metrics', 'host': 'ftp.stsci.edu', 'nofilestring': 'No files in directory', 'user': 'anonymous', 'word': 'planinst@stsci.edu'} HOST = 'ftp.stsci.edu' METRIC_DICT = {'indir': 'CYSTAT_MN_in', 'infiles': ['completion.txt'], 'name': 'Monthly Cycle', 'outdir': 'CYSTAT_out', 'outfiles': ['activecycle1.txt', 'activecycle.xls', 'activecycle.pdf'], 'plotext': '.pdf', 'table1': 'activecycle1.csv', 'table2': 'gto_summary1.csv'} MONTHBACK1 = 17 MONTHBACK2 = 6 NOFILESTRING = 'No files in directory' TABLEDIR = '/data/scheduling/spss_flight_data/planinst/metrics/archive' USER = 'anonymous' WORD = 'planinst@stsci.edu' __author__ = 'Alan Patterson' __version__ = '15.05.21' |
Author | ||
Alan Patterson |