You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The summary page generation functions assume the channel names are strictly LIGO style. The naming convention is mostly likely hard-coded into the HTML page generation functions. For example, plots for G1:ISC-LSC_SRC_FP is processed correctly, while G1:LSC_SRC_EP-P does not work. GWPy can, however, fetch data from both channels without any issues.
This is actually coming fom the parsing function (split_combination in channel.py) that extracts the channel names from a list of channels given for a plot. It splits the string when it encounters not an alpha-numeric or an underscore character. Since the channels are separated by gammas this works well for standard naming convention (usually gamma breaks the string, exception are types of trend data).
The hyphen (-) in the GEO frames also breaks this requirement and hence the parsing function picks up only part of the channel name and the frame reading code not able to find that channel in the frames. A simple fix would be to add hyphen also in the allowed characters. For example, changing the line 38 in gwsumm/channels.py from,
r'(?:[-_][a-zA-Z0-9_]+)?'
to r'(?:[-_][a-zA-Z0-9_-]+)?'
would work. I tested it and it works. Here is the link to a test page I produced.
That's great!! Thanks, @Shivaraj17, for solving the issue. I cloned the igwn-py36 environment, modified line 38 in gwsumm/channels.py as above, and launched gw_summary (at LDAS-PCDEV ). The code ran successfully and produced the test pages (link) without any issues.
The summary page generation functions assume the channel names are strictly LIGO style. The naming convention is mostly likely hard-coded into the HTML page generation functions. For example, plots for G1:ISC-LSC_SRC_FP is processed correctly, while G1:LSC_SRC_EP-P does not work. GWPy can, however, fetch data from both channels without any issues.
link-to-sample-gwsumm-page-with-issue
Steps to reproduce the issue at Caltech LDAS machines
sample-confile.ini file:
The text was updated successfully, but these errors were encountered: