diff --git a/jwst/resample/resample.py b/jwst/resample/resample.py index cffa46a8b1..681592f3aa 100644 --- a/jwst/resample/resample.py +++ b/jwst/resample/resample.py @@ -73,7 +73,7 @@ def __init__(self, input_models, output=None, single=False, blendheaders=True, if output is not None and '.fits' not in str(output): self.output_dir = output self.output_filename = None - self.output_suffix = 'i2d' + self.intermediate_suffix = 'outlier_i2d' self.pscale_ratio = pscale_ratio self.single = single @@ -287,11 +287,11 @@ def resample_many_to_many(self, input_models): if self.asn_id is not None: output_model.meta.filename = ( f'{output_root}_{self.asn_id}_' - f'outlier_{self.output_suffix}{output_type}') + f'{self.intermediate_suffix}{output_type}') else: output_model.meta.filename = ( f'{output_root}_' - f'outlier_{self.output_suffix}{output_type}') + f'{self.intermediate_suffix}{output_type}') # Initialize the output with the wcs driz = gwcs_drizzle.GWCSDrizzle(output_model, pixfrac=self.pixfrac, diff --git a/jwst/resample/resample_spec.py b/jwst/resample/resample_spec.py index 47701a44da..e75d1c898d 100644 --- a/jwst/resample/resample_spec.py +++ b/jwst/resample/resample_spec.py @@ -66,7 +66,7 @@ def __init__(self, input_models, output=None, single=False, blendheaders=False, if output is not None and '.fits' not in str(output): self.output_dir = output self.output_filename = None - self.output_suffix = 's2d' + self.intermediate_suffix = 'outlier_s2d' self.pscale_ratio = pscale_ratio self.single = single