LAL  7.5.0.1-08ee4f4
lal_path2cache Namespace Reference

Functions

def parse_command_line ()
 

Variables

def options = parse_command_line()
 
 src = open(options.input)
 
 dst = open(options.output, "w")
 
int path_count = 0
 
 seglists = segments.segmentlistdict()
 
 path
 
 filename
 
string url = "file://localhost%s" % os.path.abspath(os.path.join(path, filename))
 
 cache_entry = CacheEntry.from_T050017(url)
 
 file
 
 ext = seglist.extent()
 
 dur = abs(seglist)
 
 span = seglists.union(seglists)
 

Function Documentation

◆ parse_command_line()

def lal_path2cache.parse_command_line ( )

Definition at line 56 of file lal_path2cache.py.

Variable Documentation

◆ options

def lal_path2cache.options = parse_command_line()

Definition at line 83 of file lal_path2cache.py.

◆ src

lal_path2cache.src = open(options.input)

Definition at line 92 of file lal_path2cache.py.

◆ dst

lal_path2cache.dst = open(options.output, "w")

Definition at line 97 of file lal_path2cache.py.

◆ path_count

lal_path2cache.path_count = 0

Definition at line 106 of file lal_path2cache.py.

◆ seglists

lal_path2cache.seglists = segments.segmentlistdict()

Definition at line 107 of file lal_path2cache.py.

◆ path

lal_path2cache.path

Definition at line 116 of file lal_path2cache.py.

◆ filename

lal_path2cache.filename

Definition at line 116 of file lal_path2cache.py.

◆ url

string lal_path2cache.url = "file://localhost%s" % os.path.abspath(os.path.join(path, filename))

Definition at line 117 of file lal_path2cache.py.

◆ cache_entry

lal_path2cache.cache_entry = CacheEntry.from_T050017(url)

Definition at line 119 of file lal_path2cache.py.

◆ file

lal_path2cache.file

Definition at line 127 of file lal_path2cache.py.

◆ ext

lal_path2cache.ext = seglist.extent()

Definition at line 141 of file lal_path2cache.py.

◆ dur

lal_path2cache.dur = abs(seglist)

Definition at line 142 of file lal_path2cache.py.

◆ span

lal_path2cache.span = seglists.union(seglists)

Definition at line 144 of file lal_path2cache.py.