class_docstr: Test the GPM IMERG reader.
class_docstr_tok: ["Test","the","GPM","IMERG","reader","."]
docstr: Test loading data.
docstr_tok: ["Test","loading","data","."]
code: def test_load_data(self):
      """Test loading data."""
      from pyproj import CRS
  
      from satpy.readers import load_reader
  
      # Filename to test, needed for start and end times
      filenames = [
          "3B-HHR.MS.MRG.3IMERG.20200131-S233000-E235959.1410.V06B.HDF5",
      ]
  
      # Expected projection in area def
      pdict = {
          "proj": "longlat",
          "datum": "WGS84",
          "no_defs": None,
          "type": "crs",
      }
  
      reader = load_reader(self.reader_configs)
      files = reader.select_files_from_pathnames(filenames)
      assert 1 == len(files)
      reader.create_filehandlers(files)
      # Make sure we have some files
      assert reader.file_handlers
      res = reader.load(["IRprecipitation"])
      assert 1 == len(res)
      assert res["IRprecipitation"].start_time == datetime(
          2020, 1, 31, 23, 30, 0
      )
      assert res["IRprecipitation"].end_time == datetime(
          2020, 1, 31, 23, 59, 59
      )
      assert res["IRprecipitation"].resolution == 0.1
      assert res["IRprecipitation"].area.width == 3600
      assert res["IRprecipitation"].area.height == 1800
      assert res["IRprecipitation"].area.crs == CRS(pdict)
      np.testing.assert_almost_equal(
          res["IRprecipitation"].area.area_extent,
          (-179.95, -89.95, 179.95, 89.95),
          5,
      )
  
file_path: satpy/satpy/tests/reader_tests/test_gpm_imerg.py
imports: import os
  import unittest
  from datetime import datetime
  from unittest import mock
  import dask.array
  import h5py
  import numpy
  import xarray
  from satpy.tests.reader_tests.test_hdf5_utils import FakeHDF5FileHandler
label_desc: Use image node_id 3 for calling the TestHdf5IMERG obj's underlying member method code with example usage: obj.test_load_data() without return types