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

Add FY-4A AGRI support #77

merged 9 commits into from Aug 9, 2019

Updates requested by stickler-bot and update to version 1.0.7 of the …

…rsr data

Signed-off-by: Adam Dybbroe <>
  • Loading branch information...
adybbroe committed Aug 2, 2019
commit 0f6f79f86094dc3ca6454f22434c5f1e8a1ed19c
@@ -125,7 +125,7 @@


ATM_CORRECTION_LUT_VERSION['antarctic_aerosol'] = {'version': 'v1.0.1',
@@ -50,11 +50,10 @@

class AGRIRSR(InstrumentRSR):

"""Container for the FY4A AGRI RSR data"""
"""Container for the FY-4 AGRI RSR data"""

def __init__(self, bandname, platform_name):

"""Initialise the FY-4 AGRI relative spectral response data"""
super(AGRIRSR, self).__init__(bandname, platform_name, FY4A_BAND_NAMES)

self.instrument = INSTRUMENTS.get(platform_name, 'agri')
@@ -80,7 +79,8 @@ def __init__(self, bandname, platform_name):
self.filename = self.requested_band_filename

def _load(self, scale=0.001):
"""Load the AGRI RSR data for the band requested.
"""Load the AGRI RSR data for the band requested
Wavelength is given in nanometers.
data = np.genfromtxt(self.requested_band_filename,
ProTip! Use n and p to navigate between commits in a pull request.
You can’t perform that action at this time.