Skip to content
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

JP-3513: Remove warning about inaccurate errors #8258

Merged
merged 9 commits into from
Jun 6, 2024
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