-
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
use tox
and set up CRDS caching when server is accessible
#551
use tox
and set up CRDS caching when server is accessible
#551
Conversation
|
Codecov ReportBase: 81.83% // Head: 81.83% // No change to project coverage 👍
Additional details and impacted files@@ Coverage Diff @@
## main #551 +/- ##
=======================================
Coverage 81.83% 81.83%
=======================================
Files 39 39
Lines 1167 1167
=======================================
Hits 955 955
Misses 212 212
*This pull request uses carry forward flags. Click here to find out more. Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here. ☔ View full report at Codecov. |
701f333
to
456a3c6
Compare
commit 456a3c6 skips CRDS caching if the context retrieval fails, so as soon as Roman CRDS is publicly available it should start caching |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think that having the crds sync setup is a good idea but we might want to be a bit careful here. Doing a full crds sync can take a while (several hours?).
We might want to be more targeted and allow sync to a specific context or contexts, e.g.
crds sync --contexts roman_0001.pmap roman_0002.pmap
Ok, right now it's using the result of romancal/.github/workflows/roman_ci.yml Lines 94 to 101 in 456a3c6
|
Ok, I added a romancal/.github/workflows/roman_ci.yml Lines 17 to 22 in 6b1f27d
romancal/.github/workflows/roman_ci.yml Lines 100 to 103 in 6b1f27d
|
c2ca302
to
b5b6a94
Compare
b5b6a94
to
4068df3
Compare
41b8c76
to
6875f3c
Compare
tox
and set up CRDS caching when server is accessible
ef17ae8
to
bdbcbb9
Compare
e1f8fb4
to
d027997
Compare
644c3af
to
510465a
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This looks good to me.
@ddavis-stsci Are all your concerns addressed?
The PR needs a rebase.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes I'm good with the changes.
doing some updates to match the JWST workflow; I'll merge when tests pass |
e74b6eb
to
6f7ac0c
Compare
This PR turns the existing dependent-workflow structure back into
tox
, and caches CRDS data for the same operational context, so it is not downloaded every time. This functionality is not currently useful (it is skipped currently) but will become useful when Roman CRDS becomes publicly available.Checklist
CHANGES.rst
under the corresponding subsection