FLSHCORR: Scale for linear decrease over time#655
Conversation
|
As of 2025-05-08 implementation, if you give it the existing FLSHFILE from CRDS without these new keywords, it would skip the scaling (the following output is from And if you give it the new FLSHFILE, it would be like this instead: |
|
p.s. The scaling factor is greater than 1 probably because I just grabbed a random image from Artifactory to test and it is very old. |
mdlpstsci
left a comment
There was a problem hiding this comment.
Code changes look fine.
|
Update 2025-05-21: Jenna gave me a couple of sample inputs and expected outputs. I ran ACS2D from this branch and compared my outputs to hers. There are differences and I am waiting to hear back if they are expected or not. |
5d156da to
6058fee
Compare
|
At ACS Team meeting, we decided that scaling for old data is not pipeline problem because CRDS should not use this last flash file for old data where better match is available. If user purposefully stick this last flash in their old data, they are asking for it. Local testing of this branch with sample inputs adjusted for years 2025 and 2030, a sample last flash reference file, and expected output values gracefully provided by Jenna Ryon showed that this branch implementation is good. I will keep this in draft and revisit when we have a "go" from ACS Team. |
901175f to
5567b6b
Compare
5567b6b to
9f7aae2
Compare
9f7aae2 to
af61c21
Compare
if the reference image is the last ever.
but then keep going
af61c21 to
1010a2f
Compare
FLSHCORR: Scale for linear decrease over time if the reference image is the last ever to be delivered.
But we do not want to merge this until we know for sure, though I coded it up such that it would still run without the scaling if those new keywords are not found in the reference image primary header.
Fix #627
RT https://github.com/spacetelescope/RegressionTests/actions/runs/14917237097
TODO