filename_metadata

gwdatafind.utils.filename_metadata(filename)

Return metadata parsed from a filename following LIGO-T050017

Parameters:
filename : str

the path name of a file

Returns:
obs : str

the observatory metadata

tag : str

the file tag

segment : ligo.segments.segment

the GPS [start, stop) interval for this file

Notes

LIGO-T050017 declares a file naming convention that includes documenting the GPS start integer and integer duration of a file, see that document for more details.