Skip to content

Commit

Permalink
Merge branch 'bugfix-flake8-3' into 'master'
Browse files Browse the repository at this point in the history
Fix small flake8 issue

See merge request webservices/mtg-sift!165
  • Loading branch information
djhoese committed May 12, 2023
2 parents 18612ab + 3b1de1b commit 487887b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions uwsift/workspace/importer.py
Expand Up @@ -1266,14 +1266,14 @@ def _preprocess_products_with_resampling(self):
self.scn_original = self.scn # noqa - Do not simply remove

# deactivating reduce_data, see https://github.com/pytroll/satpy/issues/2476
reduce_data = False if resampler=='native' else True
reduce_data = False if resampler == "native" else True

self.scn = self.scn.resample(
target_area_def,
resampler=resampler,
nprocs=nprocs,
radius_of_influence=self.resampling_info["radius_of_influence"],
reduce_data=reduce_data
reduce_data=reduce_data,
)

def _get_fci_segment_height(self, segment_number: int, segment_width: int) -> int:
Expand Down

0 comments on commit 487887b

Please sign in to comment.