class_docstr: Test the MWSL1BFile reader.
docstr: Test getting channel data.
docstr_tok: ["Test","getting","channel","data","."]
code: def test_get_dataset_get_channeldata_bts(self, reader):
      """Test getting channel data."""
      dataset_id = {
          "name": "1",
          "units": "K",
          "calibration": "brightness_temperature",
      }
      dataset_info = {
          "file_key": "data/calibration/mws_toa_brightness_temperature"
      }
  
      dataset = reader.get_dataset(dataset_id, dataset_info)
  
      expected_bt = np.array(
          [
              [240.0, 240.0, 240.0, 240.0, 240.0],
              [240.0, 240.0, 240.0, 240.0, 240.0],
              [240.0, 240.0, 240.0, 240.0, 240.0],
              [240.0, 240.0, 240.0, 240.0, 240.0],
              [240.0, 240.0, 240.0, 240.0, 240.0],
          ],
          dtype=np.float32,
      )
  
      toa_bt = dataset[0:5, 0:5].data.compute()
      np.testing.assert_allclose(toa_bt, 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 10 for calling the TestMwsL1bNCFileHandler obj's underlying member method code with example usage: obj.test_get_dataset_get_channeldata_bts(reader) without return types