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

Поисковые слова: http astrokuban.info astrokuban
Python: module find_dump_times
 
 
find_dump_times (version 10/29/10)
index
find_dump_times.py

Produces a list of the observation and dump times for a particular
proposal on an SMS
 
   TITLE:      find_dump_times.py
   DEVELOPER:  Alan Patterson, 11-May-2003
   
   PURPOSE:    The tool produces a text report on the expected dump start time
                and duration and the sunit for every record activity of the
                specified proposal in the given MS.
 
   USAGE:      do find_dump_times <MS_name> <prop>
                where: <MS_name> is the MS run name
                       <prop> is the proposal id
 
    RETURNS:   Nothing
 
    MOD HISTORY:
               Initial version                         app 05/12/04
               Mods following python review            app 05/28/04
               Determine time zone                     gab 09/07/07
               Fix zero day number                     drc 10/29/10

 
Modules
       
mscl_util
obset_util
os
proposal_util
re
sms_util
spss_sys_util
spst_getopt
stpydb
string
sys
time_util
urllib2

 
Functions
       
rational_time(day_hms_delta, ref_time)
Converts a delta time (day_hms_delta) to a full spss_time always
later than the ref_time
 
To be replaced by spss_time method  .normal(delta)
run(*args)
Produces a dump schedule for each record action of a given proposal
on a specified MS.  This is the planned (not actual) dump schedule and
a delay of 2 hours is assumed between dump end and ftp to STScI
 
Usage:
    do find_dump_times <msrunname> <propid>
    
        where <msrunname>  is the MS run name
              <propid>     is the proposal id

 
Data
        WWW_TIME = 'http://tycho.usno.navy.mil/cgi-bin/timer.pl'
__author__ = 'Alan Patterson'
__version__ = '10/29/10'

 
Author
        Alan Patterson