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

Update NOTES.fix_bad_ingest.rst #264

Merged
merged 1 commit into from
Oct 29, 2024
Merged

Update NOTES.fix_bad_ingest.rst #264

merged 1 commit into from
Oct 29, 2024

Conversation

taldcroft
Copy link
Member

Description

Update documentation for fixing an ingest problem.

Interface impacts

None

Testing

Docs only, no testing except that the commands were actually run to fix an ingest issue.

@taldcroft taldcroft requested a review from jeanconn October 25, 2024 11:06
@jeanconn
Copy link
Contributor

I'm not actually clear on what part of this process fixed the issue. Naively it seems like you'd need to identify and remove a bad file, but did the bad file go away upstream (CXCDS archive) so that was not necessary?

@taldcroft
Copy link
Member Author

I'm not actually clear on what part of this process fixed the issue

The notes doc starts with the defining assumption:

These notes document how to fix the cheta archive if a bad CXC archive file has
been ingested and then the CXC archive is subsequently repaired.

In other words, turn it off and turn it on again by just trying to reprocess the truncated archive at a later time.

Copy link
Contributor

@jeanconn jeanconn left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

And I'm fine with ignoring the unrelated ruff issues for now.

@taldcroft
Copy link
Member Author

Yeah, I looked at the ruff and didn't want to include them here.

I agree with ruff that overriding a function arg with a loop variable is a pretty bad idea, but making those changes needs to be done a little carefully (at least ensuring coverage). I can see that my coding has evolved quite a bit in 10 years, hopefully for the better. 😄

@taldcroft taldcroft merged commit 259e785 into master Oct 29, 2024
1 of 2 checks passed
@taldcroft taldcroft deleted the taldcroft-patch-1 branch October 29, 2024 13:09
@javierggt javierggt mentioned this pull request Nov 7, 2024
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.

2 participants