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

PURPOSE --
Perform various functions relating to the EPS override file.
 
DEVELOPER --
Don Chance
 
MODIFICATION HISTORY --
 
o Initial implementation 11/02/00
o Update docstring for eps_ovr version numbers (SPSS 44.5).
  12/17/01 drc

 
Modules
       
ccl_util
os
re
sms_util
spss_sys_util
stpydb
string
time_util

 
Functions
       
angle_pair_check(min_angle, max_angle)
Check that the minimum angle is not greater than the maximum angle.
check_angle(str_angle)
Check that the input angle is a proper float and between the min and max SA angles.
check_time(sms, str_time)
Check that the input time is formatted correctly and between the begin
and end time of the sms.
 
Returns the time as an spss_time object.
run(cclname=None, eps_ovr_file=None, *args)
Validated an EPS override file.
 
Usage:
do check_eps_ovr <ccl_name> <eps_ovr_file> [-move]
 
The '-move' option will cause the validated EPS override file to be copied
to SPSS_SMS/<ccl_name>.eps_ovr_#.  The default is to not move the override
file.
verify_eps_ovr(sms, eps_ovr_file)
Verify an existing EPS override file.

 
Data
        FALSE = 0
False = 0
SA_MAX_ANGLE = 180.0
SA_MIN_ANGLE = 50.0
TRUE = 1
True = 1
dbconn = <stpydb.STSybase object>
false = 0
result = {'max_sa_angle': 180.0, 'min_sa_angle': 50.0}
time_rgx1 = <_sre.SRE_Pattern object>
time_rgx2 = <_sre.SRE_Pattern object>
true = 1