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

Class LSCDataFindNode

source code

    CondorDAGNode --+
                    |
CondorDAGNode --+   |
                |   |
     AnalysisNode --+
                    |
                   LSCDataFindNode

A DataFindNode runs an instance of LSCdataFind in a Condor DAG.

Instance Methods [hide private]
 
__init__(self, job) source code
 
__set_output(self)
Private method to set the file to write the cache to.
source code
 
get_end(self)
Return the start time of the datafind query
source code
 
get_observatory(self)
Return the start time of the datafind query
source code
 
get_output(self)
Return the output file, i.e.
source code
 
get_output_cache(self) source code
 
get_start(self)
Return the start time of the datafind query
source code
 
get_type(self)
gets the frame type that we are querying
source code
 
set_end(self, time)
Set the end time of the datafind query.
source code
 
set_observatory(self, obs)
Set the IFO to retrieve data for.
source code
 
set_start(self, time, pad=None)
Set the start time of the datafind query.
source code
 
set_type(self, type)
sets the frame type that we are querying
source code

Inherited from CondorDAGNode: __repr__, add_checkpoint_file, add_checkpoint_macro, add_file_arg, add_file_opt, add_input_file, add_input_macro, add_io_macro, add_macro, add_output_file, add_output_macro, add_parent, add_pegasus_profile, add_post_script_arg, add_pre_script_arg, add_var_arg, add_var_condor_cmd, add_var_opt, finalize, get_args, get_category, get_checkpoint_files, get_cmd_line, get_cmd_tuple_list, get_dax_collapse, get_grid_start, get_input_files, get_name, get_opts, get_output_files, get_pegasus_profile, get_post_script, get_post_script_arg, get_priority, get_retry, get_vds_group, job, set_category, set_dax_collapse, set_grid_start, set_log_file, set_name, set_post_script, set_pre_script, set_priority, set_retry, set_vds_group, write_category, write_input_files, write_job, write_output_files, write_parents, write_post_script, write_pre_script, write_priority, write_vars

Inherited from AnalysisNode: calibration, calibration_cache_path, get_calibration, get_data_end, get_data_start, get_ifo, get_ifo_tag, get_input, get_pad_data, get_trig_end, get_trig_start, get_user_tag, set_cache, set_data_end, set_data_start, set_ifo, set_ifo_tag, set_input, set_output, set_pad_data, set_trig_end, set_trig_start, set_user_tag

Method Details [hide private]

__init__(self, job)
(Constructor)

source code 
Parameters:
  • job - A CondorDAGJob that can run an instance of LALdataFind.
Overrides: AnalysisNode.__init__

__set_output(self)

source code 

Private method to set the file to write the cache to. Automaticaly set once the ifo, start and end times have been set.

get_end(self)

source code 

Return the start time of the datafind query

Overrides: AnalysisNode.get_end

get_output(self)

source code 

Return the output file, i.e. the file containing the frame cache data. or the files itself as tuple (for DAX)

Overrides: AnalysisNode.get_output

get_start(self)

source code 

Return the start time of the datafind query

Overrides: AnalysisNode.get_start

set_end(self, time)

source code 

Set the end time of the datafind query.

Parameters:
  • time - GPS end time of query.
Overrides: AnalysisNode.set_end

set_observatory(self, obs)

source code 

Set the IFO to retrieve data for. Since the data from both Hanford interferometers is stored in the same frame file, this takes the first letter of the IFO (e.g. L or H) and passes it to the --observatory option of LSCdataFind.

Parameters:
  • obs - IFO to obtain data for.

set_start(self, time, pad=None)

source code 

Set the start time of the datafind query.

Parameters:
  • time - GPS start time of query.
Overrides: AnalysisNode.set_start