Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

VET Failing #36

Closed
AmberStuver opened this issue May 24, 2024 · 0 comments · Fixed by #37
Closed

VET Failing #36

AmberStuver opened this issue May 24, 2024 · 0 comments · Fixed by #37

Comments

@AmberStuver
Copy link

When executing a VET script that previous completed without error, I am getting the error, "KeyError: 'peak'". The following full error trace was run on LLO with a VET using Omicron glitches and the ligo-summary-3.10 env.

amber.stuver@ldas-pcdev5 Omicron-milestone2]$ ./run.sh
gw_summary 2024-05-24 00:19:21 CDT     INFO:  -- GW interferometer summary information system -- 
gw_summary 2024-05-24 00:19:21 CDT    DEBUG: This is process 3220090
gw_summary 2024-05-24 00:19:21 CDT    DEBUG: You have selected gps mode
gw_summary 2024-05-24 00:19:21 CDT    DEBUG: Start time: 2023-08-01 00:00:00.000 (1374883218.0)
gw_summary 2024-05-24 00:19:21 CDT    DEBUG: End time: 2023-10-01 00:00:00.000 (1380153618.0)
gw_summary 2024-05-24 00:19:21 CDT    DEBUG: Output directory: /home/amber.stuver/public_html/O4/electrical_glitches/Omicron-milestone2/gps/1374883218-1380153618
gw_summary 2024-05-24 00:19:21 CDT     INFO: Loading configuration
gw_summary 2024-05-24 00:19:21 CDT    DEBUG:  -- Loaded 1 plugins:
gw_summary 2024-05-24 00:19:21 CDT    DEBUG:         <module 'gwvet.tabs' from '/home/detchar/.conda/envs/ligo-summary-3.10/lib/python3.10/site-packages/gwvet/tabs.py'>
gw_summary 2024-05-24 00:19:21 CDT    DEBUG:     Loaded 0 units
gw_summary 2024-05-24 00:19:21 CDT    DEBUG:     Loaded 0 channels
gw_summary 2024-05-24 00:19:21 CDT    DEBUG:     Loaded 3 states
gw_summary 2024-05-24 00:19:21 CDT    DEBUG:     Loaded 0 rcParams
gw_summary 2024-05-24 00:19:22 CDT     INFO:     Loaded 10 tabs [1 parents overall]
gw_summary 2024-05-24 00:19:27 CDT    DEBUG: Processing L1:PEM-EY_VMON_ETMY_ESDPOWER24_DQ/SNR90
    Downloaded 139 segments for L1:DMT-ANALYSIS_READY:1 (99.97% coverage).
States finalised [1 total]
    Observing: 139 segments | 4075821.0 seconds [DEFAULT]
Processing 'Observing' state:
    Read 5153 segments for L1:DCH-EY_ESD24_SNR90:1 (100.00% coverage).
    Grabbing Omicron triggers for L1:GDS-CALIB_STRAINTraceback (most recent call last):
  File "/home/detchar/.conda/envs/ligo-summary-3.10/bin/gw_summary", line 10, in <module>
    sys.exit(main())
  File "/home/detchar/.conda/envs/ligo-summary-3.10/lib/python3.10/site-packages/gwsumm/__main__.py", line 845, in main
    tab.process(config=config, nds=args.nds,
  File "/home/detchar/.conda/envs/ligo-summary-3.10/lib/python3.10/site-packages/gwsumm/tabs/data.py", line 377, in process
    self.process_state(state, config=config, nproc=nproc,
  File "/home/detchar/.conda/envs/ligo-summary-3.10/lib/python3.10/site-packages/gwvet/tabs.py", line 347, in process_state
    before = get_triggers(str(self.channel), self.etg, state,
  File "/home/detchar/.conda/envs/ligo-summary-3.10/lib/python3.10/site-packages/gwsumm/triggers.py", line 244, in get_triggers
    trigs = read_cache(segcache, SegmentList([segment]), etg,
  File "/home/detchar/.conda/envs/ligo-summary-3.10/lib/python3.10/site-packages/gwsumm/triggers.py", line 465, in read_cache
    cache = [this_trigger_file for this_trigger_file in cache if
  File "/home/detchar/.conda/envs/ligo-summary-3.10/lib/python3.10/site-packages/gwsumm/triggers.py", line 466, in <listcomp>
    len(EventTable.read(this_trigger_file, **kwargs)) != 0]
  File "/home/detchar/.conda/envs/ligo-summary-3.10/lib/python3.10/site-packages/gwpy/table/table.py", line 235, in read
    return io_read_multi(vstack, cls, source, *args, **kwargs)
  File "/home/detchar/.conda/envs/ligo-summary-3.10/lib/python3.10/site-packages/gwpy/io/mp.py", line 90, in read_multi
    output = mp_utils.multiprocess_with_queues(
  File "/home/detchar/.conda/envs/ligo-summary-3.10/lib/python3.10/site-packages/gwpy/utils/mp.py", line 123, in multiprocess_with_queues
    return list(map(_inner, inputs))
  File "/home/detchar/.conda/envs/ligo-summary-3.10/lib/python3.10/site-packages/gwpy/utils/mp.py", line 118, in _inner
    return func(x)
  File "/home/detchar/.conda/envs/ligo-summary-3.10/lib/python3.10/site-packages/gwpy/io/mp.py", line 119, in _read_single_file
    return fobj, io_read(cls, fobj, *args, **kwargs)
  File "/home/detchar/.conda/envs/ligo-summary-3.10/lib/python3.10/site-packages/astropy/io/registry/compat.py", line 52, in wrapper
    return getattr(registry, method_name)(*args, **kwargs)
  File "/home/detchar/.conda/envs/ligo-summary-3.10/lib/python3.10/site-packages/astropy/io/registry/core.py", line 219, in read
    data = reader(*args, **kwargs)
  File "/home/detchar/.conda/envs/ligo-summary-3.10/lib/python3.10/site-packages/gwpy/table/io/utils.py", line 52, in wrapper
    return tab[columns]
  File "/home/detchar/.conda/envs/ligo-summary-3.10/lib/python3.10/site-packages/astropy/table/table.py", line 2084, in __getitem__
    [self[x] for x in item], copy_indices=self._copy_indices
  File "/home/detchar/.conda/envs/ligo-summary-3.10/lib/python3.10/site-packages/astropy/table/table.py", line 2084, in <listcomp>
    [self[x] for x in item], copy_indices=self._copy_indices
  File "/home/detchar/.conda/envs/ligo-summary-3.10/lib/python3.10/site-packages/astropy/table/table.py", line 2075, in __getitem__
    return self.columns[item]
  File "/home/detchar/.conda/envs/ligo-summary-3.10/lib/python3.10/site-packages/astropy/table/table.py", line 263, in __getitem__
    return OrderedDict.__getitem__(self, item)
KeyError: 'peak'

The previous execution results that ran can be found here:
https://ldas-jobs.ligo-la.caltech.edu/~amber.stuver/O4/electrical_glitches/Omicron-milestone2/gps/1374883218-1380153618/l1_pem_ex_vmon_etmx_esdpower24_dq/snr40/

This issue was brought to my attention by Brennan who is having the same issue (he asked me to confirm).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant