| |
- spss_logging_util.Logger(__builtin__.object)
-
- dan_base
-
- dan_parser
- dan_product_file
-
- DSNContact_product
- OSF_product
- PredictEph_product
- skManeuver_product
- dan_builder
class DSNContact_product(dan_product_file) |
| |
- Method resolution order:
- DSNContact_product
- dan_product_file
- dan_base
- spss_logging_util.Logger
- __builtin__.object
Methods defined here:
- process(self, replace=False)
Methods inherited from dan_product_file:
- __init__(self, path, url, product_type, size, checksum, logfile, logging_level, email)
- archive(self, dan_env='ops')
- check_checksum(self)
- Check the calculated CRC32 checksum against that provided by the DAN.
Returns True if the check passes. Otherwise, returns False.
- check_size(self)
- Check the file size against that provided by the DAN.
Returns True if the check passes. Otherwise, returns False.
Methods inherited from dan_base:
- validate(self, prd_name=None, override_name='NONE', dbserver='', dbname='', sql_schema='')
- Validate this DAN against the DAN schema from the PPSDB.
Data descriptors inherited from spss_logging_util.Logger:
- __dict__
- dictionary for instance variables (if defined)
- __weakref__
- list of weak references to the object (if defined)
|
class OSF_product(dan_product_file) |
| |
- Method resolution order:
- OSF_product
- dan_product_file
- dan_base
- spss_logging_util.Logger
- __builtin__.object
Methods defined here:
- process(self, baseline='')
Methods inherited from dan_product_file:
- __init__(self, path, url, product_type, size, checksum, logfile, logging_level, email)
- archive(self, dan_env='ops')
- check_checksum(self)
- Check the calculated CRC32 checksum against that provided by the DAN.
Returns True if the check passes. Otherwise, returns False.
- check_size(self)
- Check the file size against that provided by the DAN.
Returns True if the check passes. Otherwise, returns False.
Methods inherited from dan_base:
- validate(self, prd_name=None, override_name='NONE', dbserver='', dbname='', sql_schema='')
- Validate this DAN against the DAN schema from the PPSDB.
Data descriptors inherited from spss_logging_util.Logger:
- __dict__
- dictionary for instance variables (if defined)
- __weakref__
- list of weak references to the object (if defined)
|
class PredictEph_product(dan_product_file) |
| |
- Method resolution order:
- PredictEph_product
- dan_product_file
- dan_base
- spss_logging_util.Logger
- __builtin__.object
Methods defined here:
- process(self, replace=False)
Methods inherited from dan_product_file:
- __init__(self, path, url, product_type, size, checksum, logfile, logging_level, email)
- archive(self, dan_env='ops')
- check_checksum(self)
- Check the calculated CRC32 checksum against that provided by the DAN.
Returns True if the check passes. Otherwise, returns False.
- check_size(self)
- Check the file size against that provided by the DAN.
Returns True if the check passes. Otherwise, returns False.
Methods inherited from dan_base:
- validate(self, prd_name=None, override_name='NONE', dbserver='', dbname='', sql_schema='')
- Validate this DAN against the DAN schema from the PPSDB.
Data descriptors inherited from spss_logging_util.Logger:
- __dict__
- dictionary for instance variables (if defined)
- __weakref__
- list of weak references to the object (if defined)
|
class dan_builder(spss_logging_util.Logger) |
|
A class for the construction of a new DAN file. |
|
- Method resolution order:
- dan_builder
- spss_logging_util.Logger
- __builtin__.object
Methods defined here:
- __init__(self, product_id, source_id='PPS', dest_id='FOS', scheme='sftp', logfile=None, logging_level=20, dist=None)
- add_file(self, path, filetype='')
- get_danid(self)
- get_filename(self)
- get_scheme(self)
- set_component(self, component)
- set_danid(self, danid=None)
- Set the dan id the input number or to system seconds if no value is
passed in.
- set_datetime(self, time=None)
- set_env(self, dan_env)
- set_filename(self, filename=None)
- set_recipient(self, recipient)
- set_return_url(self, return_url)
- set_scheme(self, scheme)
- write(self, filename=None)
Data descriptors inherited from spss_logging_util.Logger:
- __dict__
- dictionary for instance variables (if defined)
- __weakref__
- list of weak references to the object (if defined)
|
class dan_parser(dan_base) |
|
Parse an input DAN. |
|
- Method resolution order:
- dan_parser
- dan_base
- spss_logging_util.Logger
- __builtin__.object
Methods defined here:
- __init__(self, dan='', sftp=None, logfile=None, logging_level=20, email=None)
- archive(self)
- Move the DAN (and DAN ACK) to the archive directory.
- rdel(self, remote_dan_path)
- Delete the DAN from the server.
- retrieve_files(self)
- Retrieve the files listed in the DAN.
Returns a list of the retrieve file paths.
Update the DAN_ACK XML accordingly.
- return_dan_ack(self)
- Send back the DAN_ACK XML file.
- write_ack(self, filename='')
- Write the DAN_ACK XML to a file.
Methods inherited from dan_base:
- validate(self, prd_name=None, override_name='NONE', dbserver='', dbname='', sql_schema='')
- Validate this DAN against the DAN schema from the PPSDB.
Data descriptors inherited from spss_logging_util.Logger:
- __dict__
- dictionary for instance variables (if defined)
- __weakref__
- list of weak references to the object (if defined)
|
class dan_product_file(dan_base) |
| |
- Method resolution order:
- dan_product_file
- dan_base
- spss_logging_util.Logger
- __builtin__.object
Methods defined here:
- __init__(self, path, url, product_type, size, checksum, logfile, logging_level, email)
- archive(self, dan_env='ops')
- check_checksum(self)
- Check the calculated CRC32 checksum against that provided by the DAN.
Returns True if the check passes. Otherwise, returns False.
- check_size(self)
- Check the file size against that provided by the DAN.
Returns True if the check passes. Otherwise, returns False.
- process(self)
Methods inherited from dan_base:
- validate(self, prd_name=None, override_name='NONE', dbserver='', dbname='', sql_schema='')
- Validate this DAN against the DAN schema from the PPSDB.
Data descriptors inherited from spss_logging_util.Logger:
- __dict__
- dictionary for instance variables (if defined)
- __weakref__
- list of weak references to the object (if defined)
|
class skManeuver_product(dan_product_file) |
| |
- Method resolution order:
- skManeuver_product
- dan_product_file
- dan_base
- spss_logging_util.Logger
- __builtin__.object
Methods defined here:
- process(self)
Methods inherited from dan_product_file:
- __init__(self, path, url, product_type, size, checksum, logfile, logging_level, email)
- archive(self, dan_env='ops')
- check_checksum(self)
- Check the calculated CRC32 checksum against that provided by the DAN.
Returns True if the check passes. Otherwise, returns False.
- check_size(self)
- Check the file size against that provided by the DAN.
Returns True if the check passes. Otherwise, returns False.
Methods inherited from dan_base:
- validate(self, prd_name=None, override_name='NONE', dbserver='', dbname='', sql_schema='')
- Validate this DAN against the DAN schema from the PPSDB.
Data descriptors inherited from spss_logging_util.Logger:
- __dict__
- dictionary for instance variables (if defined)
- __weakref__
- list of weak references to the object (if defined)
| |