Документ взят из кэша поисковой машины. Адрес оригинального документа : http://www.stsci.edu/spst/UnixTransition/doc/dump_pickle_file.html
Дата изменения: Fri Apr 8 12:46:14 2016
Дата индексирования: Mon Apr 11 04:25:49 2016
Кодировка:
Python: module dump_pickle_file
 
 
dump_pickle_file (version 3/14/06)
index
dump_pickle_file.py

PURPOSE --
 
Checks the contents of a pickle file.
 
python dump_pickle_file.py  <Pickle File> 
 
DEVELOPER --
K. Clark
 
MODIFICATION HISTORY --
 
o Initial implementation 7/17/03 KWC
o Modified 11/25/03 KWC - Use new configure_util methods.
o modified for mag field object.  drc 3/14/06

 
Modules
       
configure_util
ephem_util
os
spss_sys_util
sys

 
Classes
       
dump_pickle_file

 
class dump_pickle_file
     Methods defined here:
__init__(self, file_name)
Dumps the contents of a pickle file and verifies the location of
the configured files belonging to the pickle.
dump_CL_setup(self, pickle_object)
Dumps selected CL setup parameters.
dump_MSCL_config_files(self, pickle_object, Full_details=None)
Dumps MS/CL config files.
dump_MS_setup(self, pickle_object)
Dumps selected MS setup parameters.
find_file(self, file_name)
Looks for a pickle file. Handles full file specification as
well as just the file name without an extension.
validate(self, pickle_object)
Check to see if the configured files exist.
validate_MSCL_config_files(self, pickle_object)
Validates MS/CL config files.

 
Functions
       
run(file_name=None)
Dump a pickle file and check to see if the configured files exist.
 
Usage:
do dump_pickle_file <file name>
   where:
           file name        = pickle file name.
                              
           Searches the current directory and then PASS_INPUT_PICKLES
           for the pickle file. Will append .pickle to the file name
           if this extension is not given.

 
Data
        __version__ = '3/14/06'