class_docstr: Test the file handler.
class_docstr_tok: ["Test","the","file","handler","."]
docstr: Test whether the correct calibration methods are called.
code: def test_calibrate(self):
      """Test whether the correct calibration methods are called."""
      for ch in self.channels:
          if is_vis_channel(ch):
              calibs = {
                  "radiance": "_viscounts2radiance",
                  "reflectance": "_calibrate_vis",
              }
          else:
              calibs = {
                  "radiance": "_ircounts2radiance",
                  "brightness_temperature": "_calibrate_ir",
              }
          for calib, method in calibs.items():
              with mock.patch.object(
                  self.reader, method
              ) as target_func:
                  self.reader.calibrate(
                      counts=self.reader.nc["data"],
                      calibration=calib,
                      channel=ch,
                  )
                  target_func.assert_called()
  
imports: import datetime
  import unittest
  from unittest import mock
  import numpy
  import pytest
  import xarray
  from pyresample.geometry import AreaDefinition
  from satpy.readers.goes_imager_nc import is_vis_channel
  from satpy.tests.utils import make_dataid
label_desc: Use image node_id 6 for calling the GOESNCFileHandlerTest obj's underlying member method code with example usage: obj.test_calibrate() without return types