class_docstr: Reader class for VII L1B products in netCDF format.
class_docstr_tok: ["Reader","class","for","VII","L1B","products","in","netCDF","format","."]
docstr: Read the calibration data and prepare the class for dataset reading.
docstr_tok: ["Read","the","calibration","data","and","prepare","the","class","for","dataset","reading","."]
code: def __init__(self, filename, filename_info, filetype_info, **kwargs):
      """Read the calibration data and prepare the class for dataset reading."""
      super().__init__(filename, filename_info, filetype_info, **kwargs)
  
      # Read the variables which are required for the calibration
      self._bt_conversion_a = self[
          "data/calibration_data/bt_conversion_a"
      ].values
      self._bt_conversion_b = self[
          "data/calibration_data/bt_conversion_b"
      ].values
      self._channel_cw_thermal = self[
          "data/calibration_data/channel_cw_thermal"
      ].values
      self._integrated_solar_irradiance = self[
          "data/calibration_data/Band_averaged_solar_irradiance"
      ].values
      # Computes the angle factor for reflectance calibration as inverse of cosine of solar zenith angle
      # (the values in the product file are on tie points and in degrees,
      # therefore interpolation and conversion to radians are required)
      solar_zenith_angle = self["data/measurement_data/solar_zenith"]
      solar_zenith_angle_on_pixels = self._perform_interpolation(
          solar_zenith_angle
      )
      solar_zenith_angle_on_pixels_radians = np.radians(
          solar_zenith_angle_on_pixels
      )
      self.angle_factor = 1.0 / (
          np.cos(solar_zenith_angle_on_pixels_radians)
      )
  
file_path: satpy/satpy/readers/vii_l1b_nc.py
imports: import logging
  import numpy
  from satpy.readers.vii_base_nc import ViiNCBaseFileHandler
  from satpy.readers.vii_utils import C1, C2, MEAN_EARTH_RADIUS
label_desc: Use image node_id 1 to create a new ViiL1bNCFileHandler object from inherited base classes: ViiNCBaseFileHandler with example: obj = ViiL1bNCFileHandler(filename, filename_info, filetype_info)