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.
This PR makes the ELP not compute var_flat by default for individual exposures. It adds a new keyword "include_var_flat" to the flat field step spec to enable including the flat field variances, with a default value of False---we will not by default compute var_flat. It adds tests to make sure that this keyword is being followed.
Together with spacetelescope/rad#462, it makes the mosaic pipeline either create a var_flat extension or not, depending on whether the input exposures contain var_flat. If not all of the input exposures include var_flat, it will not compute var_flat in the output.
This will lead to changes in the regression tests, since we will not be computing var_flat by default. The derived errors will also be different. If we update the exposures used as input for the mosaic pipeline to not include flat variances, the derived mosaics will also be different.
"err" will no longer include a contribution from var_flat by default, in either the exposures or eventually the mosaics. In principle we could include var_flat in "err" but still delete var_flat by default. This seems a little perverse to me, but I mention it as a possibility.
It makes a handful of forward-looking changes to the regression tests, essentially not requiring that var_flat exist.
@tddesjardins , @hcferguson, you've expressed opinions about removing this in the past; care to weigh in?
Tasks
24Q4_B15
(use the latest build if not sure)no-changelog-entry-needed
)changes/
:echo "changed something" > changes/<PR#>.<changetype>.rst
(see below for change types)docs/
pageokify_regtests
to update the truth files