class_docstr: Test VIIRS SDR Reader.
class_docstr_tok: ["Test","VIIRS","SDR","Reader","."]
docstr: Load all I band radiances.
code: def test_load_all_i_radiances(self):
      """Load all I band radiances."""
      from satpy.readers import load_reader
      from satpy.tests.utils import make_dsq
  
      r = load_reader(self.reader_configs)
      loadables = r.select_files_from_pathnames(
          [
              "SVI01_npp_d20120225_t1801245_e1802487_b01708_c20120226002130255476_noaa_ops.h5",
              "SVI02_npp_d20120225_t1801245_e1802487_b01708_c20120226002130255476_noaa_ops.h5",
              "SVI03_npp_d20120225_t1801245_e1802487_b01708_c20120226002130255476_noaa_ops.h5",
              "SVI04_npp_d20120225_t1801245_e1802487_b01708_c20120226002130255476_noaa_ops.h5",
              "SVI05_npp_d20120225_t1801245_e1802487_b01708_c20120226002130255476_noaa_ops.h5",
              "GITCO_npp_d20120225_t1801245_e1802487_b01708_c20120226002130255476_noaa_ops.h5",
          ]
      )
      r.create_filehandlers(loadables)
      ds = r.load(
          [
              make_dsq(name="I01", calibration="radiance"),
              make_dsq(name="I02", calibration="radiance"),
              make_dsq(name="I03", calibration="radiance"),
              make_dsq(name="I04", calibration="radiance"),
              make_dsq(name="I05", calibration="radiance"),
          ]
      )
      assert len(ds) == 5
      for d in ds.values():
          assert np.issubdtype(d.dtype, np.float32) is True
          assert d.attrs["calibration"] == "radiance"
          assert d.attrs["units"] == "W m-2 um-1 sr-1"
          assert d.attrs["rows_per_scan"] == 32
          assert "area" in d.attrs
          assert d.attrs["area"] is not None
  
imports: import os
  import unittest
  from contextlib import contextmanager
  from unittest import mock
  import numpy
  import pytest
  from satpy.readers.viirs_atms_sdr_base import DATASET_KEYS
  from satpy.tests.reader_tests.test_hdf5_utils import FakeHDF5FileHandler
label_desc: Use image node_id 24 for calling the TestVIIRSSDRReader obj's underlying member method code with example usage: obj.test_load_all_i_radiances() without return types