class_docstr: Tests for the GLM L2 reader.
docstr: Test the get_dataset method.
docstr_tok: ["Test","the","get_dataset","method","."]
code: def test_get_dataset(self):
      """Test the get_dataset method."""
      from satpy.tests.utils import make_dataid
  
      key = make_dataid(name="flash_extent_density")
      res = self.reader.get_dataset(key, {"info": "info"})
      exp = {
          "instrument_ID": None,
          "modifiers": (),
          "name": "flash_extent_density",
          "orbital_parameters": {
              "projection_altitude": 1.0,
              "projection_latitude": 0.0,
              "projection_longitude": -90.0,
              # 'satellite_nominal_altitude': 35786.02,
              "satellite_nominal_latitude": 0.0,
              "satellite_nominal_longitude": -89.5,
          },
          "orbital_slot": None,
          "platform_name": "GOES-16",
          "platform_shortname": "G16",
          "production_site": None,
          "scan_mode": "M3",
          "scene_abbr": "C",
          "scene_id": None,
          "spatial_resolution": "2km at nadir",
          "sensor": "glm",
          "timeline_ID": None,
          "grid_mapping": "goes_imager_projection",
          "standard_name": "flash_extent_density",
          "long_name": "Flash extent density",
          "units": "Count per nominal    3136 microradian^2 pixel per 1.0 min",
      }
  
      assert res.attrs == exp
  
file_path: satpy/satpy/tests/reader_tests/test_glm_l2.py
imports: import os
  import unittest
  from unittest import mock
  import numpy
  import xarray
label_desc: Use image node_id 3 for calling the TestGLML2FileHandler obj's underlying member method code with example usage: obj.test_get_dataset() without return types