Commit f086cf45 authored by James Clark's avatar James Clark
Browse files

support hoft_C01_clean_sub60Hz frame types in LFN2PFN algorithm

parent 2f490c3e
Pipeline #83337 passed with stages
in 46 seconds
......@@ -51,7 +51,7 @@ def ligo_lab(scope, name, rse, rse_attrs, proto_attrs):
detector, dataset, gps_prefix, _ = match.groups()
dir_hash = "%s-%s-%s" % (detector, dataset, gps_prefix)
# Exceptions
# Virgo Exceptions
if detector == 'V':
detector_pretty = 'AdVirgo'
#if dataset == 'V1Online':
......@@ -70,8 +70,11 @@ def ligo_lab(scope, name, rse, rse_attrs, proto_attrs):
else:
dataset_pretty = dataset
# LIGO Exceptions
if dataset_pretty in ['H1_R', 'L1_R']:
dataset_pretty = 'raw'
elif dataset_pretty in ['hoft_CLEAN_SUB60HZ_C01']:
dataset_pretty = 'hoft_C01_clean_sub60Hz'
return "%s/%s/%s/%s/%s" % (scope, dataset_pretty, detector_pretty, dir_hash, name)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment