Skip to content

Commit

Permalink
Merge pull request #1576 from ameraner/fix_deprecationwarning
Browse files Browse the repository at this point in the history
Fix DeprecationWarning usage in `min_area` `max_area` deprecation
  • Loading branch information
djhoese authored Feb 26, 2021
2 parents 6edb69b + da5e96c commit 385ef94
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions satpy/scene.py
Original file line number Diff line number Diff line change
Expand Up @@ -245,7 +245,7 @@ def max_area(self, datasets=None):
"""
warnings.warn("'max_area' is deprecated, use 'finest_area' instead.",
warnings.DeprecationWarning)
DeprecationWarning)
return self.finest_area(datasets=datasets)

def coarsest_area(self, datasets=None):
Expand All @@ -271,7 +271,7 @@ def min_area(self, datasets=None):
"""
warnings.warn("'min_area' is deprecated, use 'coarsest_area' instead.",
warnings.DeprecationWarning)
DeprecationWarning)
return self.coarsest_area(datasets=datasets)

def available_dataset_ids(self, reader_name=None, composites=False):
Expand Down

0 comments on commit 385ef94

Please sign in to comment.