class_docstr: Test the MWSL1BFile reader.
docstr: Test getting channel data.
docstr_tok: ["Test","getting","channel","data","."]
code: def test_get_dataset_get_channeldata_counts(self, reader):
      """Test getting channel data."""
      dataset_id = {"name": "1", "units": None, "calibration": "counts"}
      dataset_info = {
          "file_key": "data/measurement/mws_earth_view_counts"
      }
  
      dataset = reader.get_dataset(dataset_id, dataset_info)
      expected_bt = np.array(
          [[24100, 24100], [24100, 24100]], dtype=np.int32
      )
      count = dataset[10:12, 12:14].data.compute()
      np.testing.assert_allclose(count, expected_bt)
  
imports: import logging
  from datetime import datetime
  from unittest.mock import patch
  import numpy
  import pytest
  import xarray
  from netCDF4 import Dataset
  from satpy.readers.mws_l1b import MWSL1BFile, get_channel_index_from_name
label_desc: Use image node_id 9 for calling the TestMwsL1bNCFileHandler obj's underlying member method code with example usage: obj.test_get_dataset_get_channeldata_counts(reader) without return types