class_docstr: Test VIRR L1B Reader.
class_docstr_tok: ["Test","VIRR","L1B","Reader","."]
docstr: Test loading data at counts calibration.
docstr_tok: ["Test","loading","data","at","counts","calibration","."]
code: def test_agri_counts_calibration(self):
      """Test loading data at counts calibration."""
      from satpy.tests.utils import make_dsq
  
      reader = self._create_reader_for_resolutions(*RESOLUTION_LIST)
  
      ds_ids = []
      band_names = CHANNELS_BY_RESOLUTION[4000]
      for band_name in band_names:
          ds_ids.append(make_dsq(name=band_name, calibration="counts"))
      res = reader.load(ds_ids)
      assert len(res) == 14
  
      for band_name in band_names:
          assert res[band_name].shape == (2, 5)
          assert res[band_name].attrs["calibration"] == "counts"
          assert res[band_name].dtype == np.uint16
          assert res[band_name].attrs["units"] == "1"
  
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 8 for calling the Test_HDF_AGRI_L1_cal obj's underlying member method code with example usage: obj.test_agri_counts_calibration() without return types