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

static _getitem(block, lut)[source]
calibrate(data, ds_info, ds_name, file_key)[source]

Calibrate the data.

calibrate_to_bt(data, ds_info, ds_name)[source]

Calibrate to Brightness Temperatures [K].

calibrate_to_reflectance(data, channel_index, ds_info)[source]

Calibrate to reflectance [%].

property end_time

Get the end time.

get_area_def(key)[source]

Get the area definition.

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.