class_docstr: Test VIIRS Fires Reader.
class_docstr_tok: ["Test","VIIRS","Fires","Reader","."]
docstr: Test loading all datasets.
docstr_tok: ["Test","loading","all","datasets","."]
code: def test_load_dataset(self):
      """Test loading all datasets."""
      from satpy.readers import load_reader
  
      r = load_reader(self.reader_configs)
      loadables = r.select_files_from_pathnames(
          [
              "AFIMG_npp_d20180829_t2015451_e2017093_b35434_c20180829210527716708_cspp_dev.nc"
          ]
      )
      r.create_filehandlers(loadables)
      datasets = r.load(["confidence_cat"])
      assert len(datasets) == 1
      for v in datasets.values():
          assert v.attrs["units"] == "1"
          assert v.attrs["flag_meanings"] == ["low", "medium", "high"]
          assert v.attrs["flag_values"] == [7, 8, 9]
  
      datasets = r.load(["T4"])
      assert len(datasets) == 1
      for v in datasets.values():
          assert v.attrs["units"] == "K"
  
      datasets = r.load(["power"])
      assert len(datasets) == 1
      for v in datasets.values():
          assert v.attrs["units"] == "MW"
          assert v.attrs["platform_name"] == "Suomi-NPP"
          assert v.attrs["sensor"] == "viirs"
  
imports: import io
  import os
  import unittest
  from unittest import mock
  import dask.dataframe
  import numpy
  import pandas
  from satpy.readers.file_handlers import BaseFileHandler
  from satpy.tests.reader_tests.test_netcdf_utils import FakeNetCDF4FileHandler
  from satpy.tests.utils import convert_file_content_to_data_array
label_desc: Use image node_id 4 for calling the TestImgVIIRSActiveFiresNetCDF4 obj's underlying member method code with example usage: obj.test_load_dataset() without return types