code: def calibrate(self, counts, calibration, channel):
          
          # Convert 16bit counts from netCDF4 file to the original 10bit
          # GVAR counts by dividing by 32. See [FAQ].
          counts = counts / 32.
  
          coefs = CALIB_COEFS[self.platform_name][channel]
          if calibration == 'counts':
              return counts
          elif calibration in ['radiance', 'reflectance',
                               'brightness_temperature']:
              radiance = self._counts2radiance(counts=counts, coefs=coefs,
                                               channel=channel)
              if calibration == 'radiance':
                  return radiance
  
              return self._calibrate(radiance=radiance, coefs=coefs,
                                     channel=channel, calibration=calibration)
          else:
              raise ValueError('Unsupported calibration for channel {}: {}'
                               .format(channel, calibration))
docs: Perform calibration