class_docstr: Test get dataset function of the NC_ABI_L2 reader.
class_docstr_tok: ["Test","get","dataset","function","of","the","NC_ABI_L2","reader","."]
docstr: Test basic L2 load.
docstr_tok: ["Test","basic","L2","load","."]
code: def test_get_dataset(self):
      """Test basic L2 load."""
      from satpy.tests.utils import make_dataid
  
      key = make_dataid(name="HT")
      with _create_reader_for_fake_data(
          "ACHA", _create_cmip_dataset()
      ) as reader:
          res = reader.get_dataset(key, {"file_key": "HT"})
  
      exp_data = np.array(
          [
              [2 * 0.3052037, np.nan],
              [32768 * 0.3052037, 32767 * 0.3052037],
          ]
      )
  
      exp_attrs = {
          "instrument_ID": None,
          "modifiers": (),
          "name": "HT",
          "observation_type": "ACHA",
          "orbital_slot": None,
          "platform_name": "GOES-16",
          "platform_shortname": "G16",
          "production_site": None,
          "scan_mode": "M3",
          "scene_abbr": "C",
          "scene_id": None,
          "sensor": "abi",
          "timeline_ID": None,
          "units": "m",
      }
  
      np.testing.assert_allclose(res.data, exp_data, equal_nan=True)
      _compare_subdict(res.attrs, exp_attrs)
      _assert_orbital_parameters(res.attrs["orbital_parameters"])
  
imports: import contextlib
  from typing import Optional
  from unittest import mock
  import numpy
  import pytest
  import xarray
label_desc: Use image node_id 1 for calling the Test_NC_ABI_L2_get_dataset obj's underlying member method code with example usage: obj.test_get_dataset() without return types