Skip to content

Commit

Permalink
More style fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
djhoese committed Apr 8, 2018
1 parent b280bdc commit 92a2922
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions pyspectral/rayleigh.py
Original file line number Diff line number Diff line change
Expand Up @@ -63,13 +63,15 @@ class BandFrequencyOutOfRange(ValueError):

class Rayleigh(object):

"""Container for the atmospheric correction of satellite imager short
wave bands. Removing background contributions of Rayleigh scattering of
"""Container for the atmospheric correction of satellite imager bands.
This class removes background contributions of Rayleigh scattering of
molecules and Mie scattering and absorption by aerosols.
"""

def __init__(self, platform_name, sensor, **kwargs):
"""Initialize class and determine LUT to use."""
self.platform_name = platform_name
self.sensor = sensor
self.coeff_filename = None
Expand Down Expand Up @@ -125,7 +127,6 @@ def __init__(self, platform_name, sensor, **kwargs):

def get_effective_wavelength(self, bandname):
"""Get the effective wavelength with Rayleigh scattering in mind"""

try:
rsr = RelativeSpectralResponse(self.platform_name, self.sensor)
except IOError:
Expand Down

0 comments on commit 92a2922

Please sign in to comment.