Skip to content

Conversation

@penaguerrero
Copy link
Contributor

@penaguerrero penaguerrero commented Aug 4, 2023

Resolves JP-3237

Closes #7737

This PR sets the exposure time related keywords EFFEXPTM, XPOSURE, DURATION, and TELAPSE to their appropriate combined times in the resample/resample_spec output products, reflecting the proper sum of times across all input exposures (but not across multiple detectors).

Checklist for maintainers

  • added entry in CHANGES.rst within the relevant release section
  • updated or added relevant tests
  • updated relevant documentation
  • added relevant milestone
  • added relevant label(s)
  • ran regression tests, post a link to the Jenkins job below.
    How to run regression tests on a PR
  • Make sure the JIRA ticket is resolved properly

@penaguerrero penaguerrero requested a review from a team as a code owner August 4, 2023 16:50
@codecov
Copy link

codecov bot commented Aug 4, 2023

Codecov Report

Patch coverage: 100.00% and no project coverage change.

Comparison is base (11576e0) 76.54% compared to head (c6b66b0) 76.54%.

Additional details and impacted files
@@           Coverage Diff           @@
##           master    #7793   +/-   ##
=======================================
  Coverage   76.54%   76.54%           
=======================================
  Files         456      456           
  Lines       36941    36947    +6     
=======================================
+ Hits        28276    28282    +6     
  Misses       8665     8665           
Flag Coverage Δ *Carryforward flag
nightly 77.39% <ø> (ø) Carriedforward from 11576e0

*This pull request uses carry forward flags. Click here to find out more.

Files Changed Coverage Δ
jwst/resample/resample.py 96.08% <100.00%> (+0.13%) ⬆️

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@penaguerrero penaguerrero changed the title WIP: JP-3237 Compute correct exposure times for combined images JP-3237 Compute correct exposure times for combined images Aug 7, 2023
@penaguerrero penaguerrero force-pushed the resample_update_exp_times branch from 0181d5c to 09f9455 Compare August 7, 2023 20:31
@hbushouse hbushouse added this to the Build 10.0 milestone Aug 8, 2023
@penaguerrero penaguerrero force-pushed the resample_update_exp_times branch 2 times, most recently from 01f34b7 to 8df12b5 Compare August 10, 2023 15:12
@penaguerrero penaguerrero force-pushed the resample_update_exp_times branch from d0c9dc7 to db6adfb Compare August 10, 2023 21:51
Copy link
Collaborator

@hbushouse hbushouse left a comment

Choose a reason for hiding this comment

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

Looks good.

@hbushouse
Copy link
Collaborator

@hbushouse
Copy link
Collaborator

Regtest results show only the expected keyword value differences.

@hbushouse hbushouse merged commit 6d6d1b2 into spacetelescope:master Aug 14, 2023
mairanteodoro pushed a commit to mairanteodoro/jwst that referenced this pull request Sep 20, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Compute correct exposure times for combined images

2 participants