class_docstr: Test the NC_ABI_L1B reader.
docstr: Test the get_dataset method.
docstr_tok: ["Test","the","get_dataset","method","."]
code: def test_get_dataset(self, c01_data_arr):
      """Test the get_dataset method."""
      exp = {
          "calibration": "radiance",
          "instrument_ID": None,
          "modifiers": (),
          "name": "C01",
          "observation_type": "Rad",
          "orbital_parameters": {
              "projection_altitude": 1.0,
              "projection_latitude": 0.0,
              "projection_longitude": -90.0,
              "satellite_nominal_altitude": 35786020.0,
              "satellite_nominal_latitude": 0.0,
              "satellite_nominal_longitude": -89.5,
              "yaw_flip": True,
          },
          "orbital_slot": None,
          "platform_name": "GOES-16",
          "platform_shortname": "G16",
          "production_site": None,
          "reader": "abi_l1b",
          "resolution": 1000,
          "scan_mode": "M4",
          "scene_abbr": "C",
          "scene_id": None,
          "sensor": "abi",
          "timeline_ID": None,
          "suffix": "suffix",
          "units": "W m-2 um-1 sr-1",
          "start_time": datetime(2017, 9, 20, 17, 30, 40, 800000),
          "end_time": datetime(2017, 9, 20, 17, 41, 17, 500000),
      }
  
      res = c01_data_arr
      _get_and_check_array(res, np.float32)
      _check_area(res)
      _check_dims_and_coords(res)
      for exp_key, exp_val in exp.items():
          assert res.attrs[exp_key] == exp_val
  
imports: from __future__ import annotations
  from datetime import datetime
  from pathlib import Path
  from typing import Any, Callable
  from unittest import mock
  import dask
  import dask.array
  import numpy
  import numpy.typing
  import pytest
  import xarray
  from pytest_lazyfixture import lazy_fixture
  from satpy import DataQuery
  from satpy.readers.abi_l1b import NC_ABI_L1B
  from satpy.readers.yaml_reader import FileYAMLReader
  from satpy.utils import ignore_pyproj_proj_warnings
label_desc: Use image node_id 1 for calling the Test_NC_ABI_L1B obj's underlying member method code with example usage: obj.test_get_dataset(c01_data_arr) without return types