class_docstr: Swap-in HDF5 File Handler.
code: def _add_tbb_coefficients(self, global_attrs):
      if not self.filetype_info["file_type"].startswith("mersi2_"):
          return
  
      if "_1000" in self.filetype_info["file_type"]:
          global_attrs["/attr/TBB_Trans_Coefficient_A"] = np.array(
              [1.0] * 6
          )
          global_attrs["/attr/TBB_Trans_Coefficient_B"] = np.array(
              [0.0] * 6
          )
      else:
          global_attrs["/attr/TBB_Trans_Coefficient_A"] = np.array(
              [0.0] * 6
          )
          global_attrs["/attr/TBB_Trans_Coefficient_B"] = np.array(
              [0.0] * 6
          )
  
imports: import os
  from unittest import mock
  import dask.array
  import numpy
  import pytest
  import xarray
  from satpy.tests.reader_tests.test_hdf5_utils import FakeHDF5FileHandler
label_desc: Use image node_id 7 for calling the FakeHDF5FileHandler2 obj's underlying member method code with example usage: obj._add_tbb_coefficients(global_attrs) without return types