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

Поисковые слова: arp 220
Python: module deliver_ephem_to_opus
 
 
deliver_ephem_to_opus
index
deliver_ephem_to_opus.py

Transfers the specified 11-day PASS ephem to OPUS via the interface
described in OPR 39733.
 
TITLE:      deliver_ephem_to_opus.py
DEVELOPER:  Merle Reinhart, 6-Jun-2000
 
PURPOSE:    The tool will transfer the ascii 11-day definitive PASS ephem
            from the SPSS/PASS area to the OPUS area via FTP.
 
USAGE:      do deliver_ephem_to_opus <asciiephem>
             where: <asciiephem>  is the ascii ephem that is created by
                                  PASS and to be transfered to OPUS.  This
                                  is required to determine the start and end
                                  times of the definitive portion of the
                                  11-day ephem.
 
              NOTE:  This tool requires three new environment variables to
                     be defined:
                       SPSS_OPUS_FTP_DIR  -> The directory on the OPUS side
                                             to put the files in
                       SPSS_OPUS_FTP_NODE -> The OPUS node to transfer the
                                             files to
                       SPSS_OPUS_FTP_USER -> The username to connect to on
                                             the OPUS node for performing
                                             the transfers
 
 RETURNS:   Nothing
 
 MOD HISTORY:
     31-Oct-2002 - Merle Reinhart: Mods to work with ascii ephem only.
                                   Note: this only works with a transfer
                                   originated from VMS
     27-May-2003 - Don Chance: modified for python 2.2 compatibility
     14-Nov-2003 - Merle Reinhart: Mods to work on Unix and VMS
     23-Apr-2014 - Don Chance: change from FTP to SFTP; remove VMS code

 
Modules
       
errno
os
spss_sys_util
string
sys
time

 
Functions
       
run(ascii_ephem_file=None)
Transfers the PASS ascii 11-day definitive HST ephem from the 
SPSS/PASS area to the OPUS area via FTP.