class_docstr: Test case for various AHI calibration types.
class_docstr_tok: ["Test","case","for","various","AHI","calibration","types","."]
docstr: Create fake data for testing.
docstr_tok: ["Create","fake","data","for","testing","."]
code: def setUp(self, *mocks):
      """Create fake data for testing."""
      self.def_cali = [-0.0037, 15.20]
      self.upd_cali = [-0.0074, 30.40]
      self.bad_cali = [0.0, 0.0]
      fh = AHIHSDFileHandler(filetype_info={"file_type": "hsd_b01"})
      fh.calib_mode = "NOMINAL"
      fh.user_calibration = None
      fh.is_zipped = False
      fh._header = {
          "block5": {
              "band_number": [5],
              "gain_count2rad_conversion": [self.def_cali[0]],
              "offset_count2rad_conversion": [self.def_cali[1]],
              "central_wave_length": [10.4073],
          },
          "calibration": {
              "coeff_rad2albedo_conversion": [0.0019255],
              "speed_of_light": [299792458.0],
              "planck_constant": [6.62606957e-34],
              "boltzmann_constant": [1.3806488e-23],
              "c0_rad2tb_conversion": [-0.116127314574],
              "c1_rad2tb_conversion": [1.00099153832],
              "c2_rad2tb_conversion": [-1.76961091571e-06],
              "cali_gain_count2rad_conversion": [self.upd_cali[0]],
              "cali_offset_count2rad_conversion": [self.upd_cali[1]],
          },
      }
  
      self.counts = da.array(
          np.array([[0, 1000], [2000, 5000]], dtype=np.uint16)
      )
      self.fh = fh
  
imports: from __future__ import annotations
  import contextlib
  import unittest
  import warnings
  from datetime import datetime
  from typing import Any, Dict
  from unittest import mock
  import dask.array
  import numpy
  import pytest
  from satpy.readers.ahi_hsd import AHIHSDFileHandler
  from satpy.readers.utils import get_geostationary_mask
  from satpy.tests.utils import make_dataid
label_desc: Use image node_id 1 for calling the TestAHICalibration obj's underlying member method code with example usage: obj.setUp() without return types