class_docstr: Test AMSR2 L1B Reader.
docstr: Test loading of basic channels.
docstr_tok: ["Test","loading","of","basic","channels","."]
code: def test_load_basic(self):
      """Test loading of basic channels."""
      from satpy.readers import load_reader
  
      r = load_reader(self.reader_configs)
      loadables = r.select_files_from_pathnames(
          [
              "GW1AM2_201607201808_128A_L1DLBTBR_1110110.h5",
          ]
      )
      assert len(loadables) == 1
      r.create_filehandlers(loadables)
      ds = r.load(
          [
              "btemp_10.7v",
              "btemp_10.7h",
              "btemp_6.9v",
              "btemp_6.9h",
              "btemp_7.3v",
              "btemp_7.3h",
              "btemp_18.7v",
              "btemp_18.7h",
              "btemp_23.8v",
              "btemp_23.8h",
              "btemp_36.5v",
              "btemp_36.5h",
          ]
      )
      assert len(ds) == 12
      for d in ds.values():
          assert d.attrs["calibration"] == "brightness_temperature"
          assert d.shape == (
              DEFAULT_FILE_SHAPE[0],
              int(DEFAULT_FILE_SHAPE[1] // 2),
          )
          assert "area" in d.attrs
          assert d.attrs["area"] is not None
          assert d.attrs["area"].lons.shape == (
              DEFAULT_FILE_SHAPE[0],
              DEFAULT_FILE_SHAPE[1] // 2,
          )
          assert d.attrs["area"].lats.shape == (
              DEFAULT_FILE_SHAPE[0],
              DEFAULT_FILE_SHAPE[1] // 2,
          )
          assert d.attrs["sensor"] == "amsr2"
          assert d.attrs["platform_name"] == "GCOM-W1"
  
file_path: satpy/satpy/tests/reader_tests/test_amsr2_l1b.py
imports: import os
  import unittest
  from unittest import mock
  import numpy
  from satpy.tests.reader_tests.test_hdf5_utils import FakeHDF5FileHandler
  from satpy.tests.utils import convert_file_content_to_data_array
label_desc: Use image node_id 4 for calling the TestAMSR2L1BReader obj's underlying member method code with example usage: obj.test_load_basic() without return types