class_docstr: IMERG hdf5 reader.
class_docstr_tok: ["IMERG","hdf5","reader","."]
docstr: Load a dataset.
docstr_tok: ["Load","a","dataset","."]
code: def get_dataset(self, dataset_id, ds_info):
      """Load a dataset."""
      file_key = ds_info.get("file_key", dataset_id["name"])
      dsname = "Grid/" + file_key
      data = self.get(dsname)
      data = data.squeeze().transpose()
      if data.ndim >= 2:
          data = data.rename({data.dims[-2]: "y", data.dims[-1]: "x"})
      data.data = da.flip(data.data, axis=0)
  
      fill = data.attrs["_FillValue"]
      data = data.where(data != fill)
  
      for key in list(data.attrs.keys()):
          val = data.attrs[key]
          if isinstance(val, h5py.h5r.Reference):
              del data.attrs[key]
          if isinstance(val, np.ndarray) and isinstance(
              val[0][0], h5py.h5r.Reference
          ):
              del data.attrs[key]
      return data
  
file_path: satpy/satpy/readers/gpm_imerg.py
imports: import logging
  from datetime import datetime
  import dask.array
  import h5py
  import numpy
  from pyresample.geometry import AreaDefinition
  from satpy.readers.hdf5_utils import HDF5FileHandler
label_desc: Use image node_id 4 for calling the Hdf5IMERG obj's underlying member method code with example usage: obj.get_dataset(dataset_id, ds_info) and returns: data