class_docstr: Test VIRR L1B Reader.
class_docstr_tok: ["Test","VIRR","L1B","Reader","."]
code: def _check_units(band_name, result):
      if band_name < "C07":
          assert result[band_name].attrs["calibration"] == "reflectance"
      else:
          assert (
              result[band_name].attrs["calibration"]
              == "brightness_temperature"
          )
      if band_name < "C07":
          assert result[band_name].attrs["units"] == "%"
      else:
          assert result[band_name].attrs["units"] == "K"
  
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 13 for calling the Test_HDF_AGRI_L1_cal obj's underlying member method code with example usage: obj._check_units(band_name, result) without return types