-
Notifications
You must be signed in to change notification settings - Fork 28
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
CCD-1246 Stale archive report core code #928
Merged
stscieisenhamer
merged 17 commits into
spacetelescope:master
from
stscieisenhamer:ccd-1246-stale
Mar 29, 2023
Merged
CCD-1246 Stale archive report core code #928
stscieisenhamer
merged 17 commits into
spacetelescope:master
from
stscieisenhamer:ccd-1246-stale
Mar 29, 2023
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
stscieisenhamer
force-pushed
the
ccd-1246-stale
branch
from
March 17, 2023 15:10
e601cc0
to
f767fb1
Compare
How difficult is it to make this mission independent or at least work for Roman as well? |
Should not be too difficult. This would be work done in CCD-1257. |
split out from archive_state_instruments so pre-existing tables produce from MAST requests can be used.
also fixed level2 matching for segmented names
these collapse various cases of names to a simpler set.
This reverts commit a2934e8.
stscieisenhamer
force-pushed
the
ccd-1246-stale
branch
from
March 27, 2023 13:55
d8592c1
to
095abb0
Compare
resolved issues with the |
Since this is not part of the operational code, will go ahead and merge to prepare for further work. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
New module
stale.py
was created to support a request to determine how up-to-date JWST archive data is with respect to CRDS contexts.The code itself does all the heavy lifting necessary, creating the statistics to make a report. How it was used is demonstrated in a jupyter notebook.
Operations has requested that a command-line tool be built around this core code. Another issue, linked from CCD-1246, will detail those requirements. This PR is to get the core code into the repo for this further development.
There may well be other ways of determining archive "staleness", which, once in repo, can be discussed.