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

Fix Max lookback issue #178

Merged
merged 58 commits into from
Sep 25, 2024
Merged

Fix Max lookback issue #178

merged 58 commits into from
Sep 25, 2024

Conversation

areeda
Copy link
Collaborator

@areeda areeda commented Dec 13, 2023

The --max-online-lookback argument did not work in all paths through the program. This is fixed and several logging messages add a human readable date/time to gps times.

For clarity the lookback is needed so that we we do not use the guardian channel in raw frames when processing long ti e intervals

Joseph Areeda and others added 18 commits September 20, 2022 15:26
* Address issue gwpy#126. Allow pyomicron to run from a frame cache without accessing dqsegdb. Add documentation for this

* Do not merge files if they overlap "metric days"

* Do not cross metric day boundaries.

Co-authored-by: Joseph Areeda <joseph.areeda@ligo.org>
* Do not cross metric day boundaries.

* add log file arg delete empty directories when done

* Tweak remove empty dir removal

* Tweak remove empty dir removal again

* Merge day boundary (gwpy#146)

* Address issue gwpy#126. Allow pyomicron to run from a frame cache without accessing dqsegdb. Add documentation for this

* Do not merge files if they overlap "metric days"

* Do not cross metric day boundaries.

Co-authored-by: Joseph Areeda <joseph.areeda@ligo.org>

* rebase agaist last approved PR

* rebase against last approved PR

* rebase against last approved PR again, fix flake8

* Fix a bug in remove empty directories.

Co-authored-by: Joseph Areeda <joseph.areeda@ligo.org>
* Address issue gwpy#126. Allow pyomicron to run from a frame cache without accessing dqsegdb. Add documentation for this

* Do not merge files if they overlap "metric days"

* Do not cross metric day boundaries.

Co-authored-by: Joseph Areeda <joseph.areeda@ligo.org>
* Do not cross metric day boundaries.

* Merge day boundary (gwpy#146)

* Address issue gwpy#126. Allow pyomicron to run from a frame cache without accessing dqsegdb. Add documentation for this

* Do not merge files if they overlap "metric days"

* Do not cross metric day boundaries.

Co-authored-by: Joseph Areeda <joseph.areeda@ligo.org>

* Check point merge (gwpy#147)

* Do not cross metric day boundaries.

* add log file arg delete empty directories when done

* Tweak remove empty dir removal

* Tweak remove empty dir removal again

* Merge day boundary (gwpy#146)

* Address issue gwpy#126. Allow pyomicron to run from a frame cache without accessing dqsegdb. Add documentation for this

* Do not merge files if they overlap "metric days"

* Do not cross metric day boundaries.

Co-authored-by: Joseph Areeda <joseph.areeda@ligo.org>

* rebase agaist last approved PR

* rebase against last approved PR

* rebase against last approved PR again, fix flake8

* Fix a bug in remove empty directories.

Co-authored-by: Joseph Areeda <joseph.areeda@ligo.org>

* Merge day boundary (gwpy#146)

* Address issue gwpy#126. Allow pyomicron to run from a frame cache without accessing dqsegdb. Add documentation for this

* Do not merge files if they overlap "metric days"

* Do not cross metric day boundaries.

Co-authored-by: Joseph Areeda <joseph.areeda@ligo.org>

* minor doc changes

* Fix a bug where an xml.gz file could get compressed again in merge-with-gaps

* Implement a periodic vacate to address permanent D-state (uninterupptible wait) causing jobs to fail to complete

* Always create a log file. If not specified put one in the output directory

* Fix a problem with periodic vacate.

* Up the periodic vacate time to 3 hrs

* Found a job killing typo

* Add time limits to post processing also

* Don't save segments.txt file if no sgments founds because we don't know if it's an issue of not finding them or a valid not analyzable state.

* disable periodic vacate to demo the problem.

* Fix reported version in some utilities. Only update segments.txt if omicron is actually run.

* Clarify relative imports. and add details to a few log messages

* Resolve flake8 issues

---------

Co-authored-by: Joseph Areeda <joseph.areeda@ligo.org>
tweak logging to better underst guardian channel usage-
…on segfaults if environment variable not set
…thes. Add some uman readable date/times to gps messages
Copy link

codecov bot commented Dec 13, 2023

Codecov Report

Attention: Patch coverage is 13.25301% with 216 lines in your changes missing coverage. Please review.

Project coverage is 33.44%. Comparing base (af50aad) to head (978b837).
Report is 1 commits behind head on master.

Files with missing lines Patch % Lines
omicron/cli/process.py 18.30% 125 Missing ⚠️
omicron/cli/omicron_post_script.py 0.00% 71 Missing ⚠️
omicron/utils.py 28.57% 10 Missing ⚠️
omicron/cli/archive.py 0.00% 9 Missing ⚠️
omicron/condor.py 0.00% 1 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##           master     #178      +/-   ##
==========================================
- Coverage   35.26%   33.44%   -1.82%     
==========================================
  Files          30       31       +1     
  Lines        2938     3095     +157     
==========================================
- Hits         1036     1035       -1     
- Misses       1902     2060     +158     
Flag Coverage Δ
Conda 33.44% <13.25%> (-1.82%) ⬇️
Linux 33.44% <13.25%> (-1.82%) ⬇️
macOS 33.44% <13.25%> (-1.82%) ⬇️
python3.10 33.44% <13.25%> (-1.82%) ⬇️
python3.11 33.44% <13.25%> (-1.82%) ⬇️
python3.9 ?

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@eagoetz
Copy link
Collaborator

eagoetz commented Dec 13, 2023

@areeda Thanks for putting this together. It looks like there are some flake8 failures to address, but I wanted to ask about the disabled test. Has it always been failing or does it fail now because of changes to this PR?

@areeda areeda marked this pull request as draft December 14, 2023 18:01
@pep8speaks
Copy link

pep8speaks commented Dec 18, 2023

Hello @areeda! Thanks for updating this PR. We checked the lines you've touched for PEP 8 issues, and found:

There are currently no PEP 8 issues detected in this Pull Request. Cheers! 🍻

Comment last updated at 2024-09-25 19:58:40 UTC

@areeda areeda marked this pull request as ready for review September 9, 2024 18:20
omicron/cli/archive.py Outdated Show resolved Hide resolved
omicron/cli/conda_run.py Outdated Show resolved Hide resolved
omicron/cli/process.py Outdated Show resolved Hide resolved
omicron/utils.py Outdated Show resolved Hide resolved
scripts/conda_run.sh Outdated Show resolved Hide resolved
```
Error: This request has been automatically failed because it uses a deprecated version of `actions/upload-artifact: v2`. Learn more: https://github.blog/changelog/2024-02-13-deprecation-notice-v1-and-v2-of-the-artifact-actions/

```
```
Error: This request has been automatically failed because it uses a deprecated version of `actions/upload-artifact: v2`. Learn more: https://github.blog/changelog/2024-02-13-deprecation-notice-v1-and-v2-of-the-artifact-actions/

```
@areeda
Copy link
Collaborator Author

areeda commented Sep 25, 2024

Review issues resolved

@areeda areeda merged commit aeacc89 into gwpy:master Sep 25, 2024
7 of 8 checks passed
@areeda areeda deleted the max-lookback branch September 25, 2024 21:02
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 this pull request may close these issues.

3 participants