Skip to content

Commit

Permalink
JP-3513: Remove warning about inaccurate errors (#8258)
Browse files Browse the repository at this point in the history
Co-authored-by: Nadia Dencheva <[email protected]>
Co-authored-by: Howard Bushouse <[email protected]>
  • Loading branch information
3 people authored Jun 6, 2024
1 parent f2c9e93 commit e1b66cc
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 10 deletions.
4 changes: 4 additions & 0 deletions CHANGES.rst
Original file line number Diff line number Diff line change
Expand Up @@ -546,10 +546,14 @@ resample

- Removed any reference to the "tophat" kernel for resample step. [#8364]

- Removing unnecessary warning. Errors are propagated identically for
the 'exptime' and 'ivm' weight options. [#8258]

- Increased specificity of several warning filters. [#8320]

- Changed deprecated ``stpipe.extern.configobj`` to ``astropy.extern.configobj``. [#8320]


residual_fringe
---------------

Expand Down
5 changes: 0 additions & 5 deletions jwst/resample/resample_spec_step.py
Original file line number Diff line number Diff line change
Expand Up @@ -88,11 +88,6 @@ def process(self, input):
kwargs['allowed_memory'] = self.allowed_memory
kwargs['output'] = output

# Issue a warning about the use of exptime weighting
if self.wht_type == 'exptime':
self.log.warning("Use of EXPTIME weighting will result in incorrect")
self.log.warning("propagated errors in the resampled product")

# Call resampling
self.drizpars = kwargs

Expand Down
5 changes: 0 additions & 5 deletions jwst/resample/resample_step.py
Original file line number Diff line number Diff line change
Expand Up @@ -103,11 +103,6 @@ def process(self, input):

kwargs['allowed_memory'] = self.allowed_memory

# Issue a warning about the use of exptime weighting
if self.wht_type == 'exptime':
self.log.warning("Use of EXPTIME weighting will result in incorrect")
self.log.warning("propagated errors in the resampled product")

# Custom output WCS parameters.
# Modify get_drizpars if any of these get into reference files:
kwargs['output_shape'] = self._check_list_pars(
Expand Down

0 comments on commit e1b66cc

Please sign in to comment.