Skip to content

markcoatsworth/gwdata_plugin

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 

Repository files navigation

gwdata_plugin

HTCondor file transfer plugin for the LIGO Data Replicator (LDR) service. Uses the GWDataFind tool to request a list of urls of Gravitational-Wave Frame (GWF) files, then uses PycURL to transfer each file.

Usage

To use this plugin, simply drop the gwdata_plugin.py file in the same directory as your HTCondor job submission files.

Your transfer_input_files line should include a URL with the gwdata:// prefix and the following format:

gwdata://<gwdatafind-server-host>?observatory=<...>&type=<...>&s=<###>&e=<###>

This URL supports the following arguments:

  • observatory: Single-character name of the site / observatory to match.
  • type: Name of frame type to match
  • s: Integer GPS start time of query
  • e: Integer GPS end time of query
  • metadata_file: If metadata was requsted, name of the output file. Defaults to metadata.txt.
  • cache: Metadata cache type. Possible values are lal, lal-cache, frame, frame-cache

You also need to include the following line in your job submit file so that HTCondor knows to use this plugin for gwdata:// URLs:

transfer_plugins = gwdata=gwdata_plugin.py

Example

An example submit file might look like:

executable = gwdata-test.sh
output = gwdata-test.out
transfer_plugins = gwdata=gwdata_plugin.py
transfer_input_files = gwdata://datafind.gw-openscience.org?observatory=H&type=H1_GWOSC_O2_16KHZ_R1&s=1166311424&e=1166479360
should_transfer_files = YES

queue

Requirements

The HTCondor execute node that runs this plugin requires the following:

  • HTCondor 8.8+
  • Python 3
  • Python gwdatafind module
  • Python pycurl module

The HTCondor submit machine sending this plugin with a job requires the following:

  • HTCondor 8.9.2+

About

HTCondor file transfer plugin for the LIGO Data Replicator (LDR) service

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages