class_docstr: File reader for individual ABI L1B NetCDF4 files.
docstr: Calibrate visible channels to reflectance.
docstr_tok: ["Calibrate","visible","channels","to","reflectance","."]
code: def _vis_calibrate(self, data):
      """Calibrate visible channels to reflectance."""
      solar_irradiance = self["esun"]
      esd = self["earth_sun_distance_anomaly_in_AU"]
  
      factor = np.pi * esd * esd / solar_irradiance
  
      res = data * np.float32(factor)
      res.attrs = data.attrs
      res.attrs["units"] = "1"
      res.attrs["long_name"] = "Bidirectional Reflectance"
      res.attrs["standard_name"] = "toa_bidirectional_reflectance"
      return res
  
file_path: satpy/satpy/readers/abi_l1b.py
imports: import logging
  import numpy
  import satpy
  from satpy.readers.abi_base import NC_ABI_BASE
label_desc: Use image node_id 6 for calling the NC_ABI_L1B obj's underlying member method code with example usage: obj._vis_calibrate(data) and returns: res