Package glue :: Module pipeline :: Class LSCDataFindJob
[hide private]
[frames] | no frames]

Class LSCDataFindJob

source code

CondorJob --+    
            |    
 CondorDAGJob --+
                |
  AnalysisJob --+
                |
               LSCDataFindJob

An LSCdataFind job used to locate data. The static options are read from the section [datafind] in the ini file. The stdout from LSCdataFind contains the paths to the frame files and is directed to a file in the cache directory named by site and GPS start and end times. The stderr is directed to the logs directory. The job always runs in the scheduler universe. The path to the executable is determined from the ini file.

Instance Methods [hide private]
 
__init__(self, cache_dir, log_dir, config_file, dax=0, lsync_cache_file=None, lsync_type_regex=None)
universe = the condor universe to run the job in.
source code
 
get_cache_dir(self)
returns the directroy that the cache files are written to.
source code
 
get_config_file(self)
return the configuration file object
source code
 
is_dax(self)
returns the dax flag
source code
 
lsync_cache(self) source code

Inherited from CondorDAGJob: add_var_arg, add_var_condor_cmd, add_var_opt, create_node, get_dax_mpi_cluster, get_grid_site, set_dax_mpi_cluster, set_grid_site

Inherited from CondorJob: add_arg, add_checkpoint_file, add_condor_cmd, add_file_arg, add_file_opt, add_ini_opts, add_input_file, add_opt, add_output_file, add_short_opt, get_args, get_checkpoint_files, get_condor_cmds, get_executable, get_executable_installed, get_grid_scheduler, get_grid_server, get_grid_type, get_input_files, get_opt, get_opts, get_output_files, get_short_opts, get_stderr_file, get_stdin_file, get_stdout_file, get_sub_file, get_universe, set_executable, set_executable_installed, set_grid_scheduler, set_grid_server, set_grid_type, set_log_file, set_notification, set_stderr_file, set_stdin_file, set_stdout_file, set_sub_file, set_universe, write_sub_file

Inherited from AnalysisJob: channel, get_config, set_channel

Method Details [hide private]

__init__(self, cache_dir, log_dir, config_file, dax=0, lsync_cache_file=None, lsync_type_regex=None)
(Constructor)

source code 

universe = the condor universe to run the job in. executable = the executable to run in the DAG.

Parameters:
  • cache_dir - the directory to write the output lal cache files to.
  • log_dir - the directory to write the stderr file to.
  • config_file - ConfigParser object containing the path to the LSCdataFind executable in the [condor] section and a [datafind] section from which the LSCdataFind options are read.
Overrides: AnalysisJob.__init__

is_dax(self)

source code 

returns the dax flag

Overrides: AnalysisJob.is_dax