class_docstr: Tests for the GLM L2 reader.
docstr: Test the get_dataset method with special DQF var.
docstr_tok: ["Test","the","get_dataset","method","with","special","DQF","var","."]
code: def test_get_dataset_dqf(self):
      """Test the get_dataset method with special DQF var."""
      from satpy.tests.utils import make_dataid
  
      key = make_dataid(name="DQF")
      res = self.reader.get_dataset(key, {"info": "info"})
      exp = {
          "instrument_ID": None,
          "modifiers": (),
          "name": "DQF",
          "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",
          "units": "1",
          "_FillValue": -1,
          "standard_name": "status_flag",
          "long_name": "GLM data quality flags",
          "flag_meanings": "valid invalid",
      }
  
      assert res.attrs == exp
      assert np.issubdtype(res.dtype, np.integer)
  
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 4 for calling the TestGLML2FileHandler obj's underlying member method code with example usage: obj.test_get_dataset_dqf() without return types