satpy.readers.fy4_base module
Base reader for the L1 HDF data from the AGRI and GHI instruments aboard the FengYun-4A/B satellites.
The files read by this reader are described in the official Real Time Data Service:
- class satpy.readers.fy4_base.FY4Base(filename, filename_info, filetype_info)[source]
Bases:
HDF5FileHandler
The base class for the FengYun4 AGRI and GHI readers.
Init filehandler.
- _apply_lut(data: DataArray, lut: ndarray[Any, dtype[float32]]) DataArray [source]
Calibrate digital number (DN) by applying a LUT.
- Parameters:
data – Raw detector digital number
lut – the look up table
- Returns:
Calibrated quantity
- property end_time
Get the end time.
- property reflectance_coeffs
Retrieve the reflectance calibration coefficients from the HDF file.
- static scale(dn, slope, offset)[source]
Convert digital number (DN) to calibrated quantity through scaling.
- Parameters:
dn – Raw detector digital number
slope – Slope
offset – Offset
- Returns:
Scaled data
- property start_time
Get the start time.