class_docstr: Swap-in HDF5 File Handler.
class_docstr_tok: ["Swap-in","HDF5","File","Handler","."]
code: def _get_precip_data(self, num_rows, num_cols):
      selection = {
          "Grid/IRprecipitation": xr.DataArray(
              da.ones(
                  (1, num_cols, num_rows), chunks=1024, dtype=np.float32
              ),
              attrs={
                  "_FillValue": -9999.9,
                  "units": "mm/hr",
                  "Units": "mm/hr",
                  "badval": h5py.h5r.Reference(),
                  "badvals": np.array([[h5py.h5r.Reference()]]),
              },
              dims=("time", "lon", "lat"),
          ),
      }
      return selection
  
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 2 for calling the FakeHDF5FileHandler2 obj's underlying member method code with example usage: obj._get_precip_data(num_rows, num_cols) and returns: selection