code: def gerb_get_dataset(ds, ds_info):
      """Load a GERB dataset in memory from a HDF5 file or HDF5FileHandler.
  
      The routine takes into account the quantisation factor and fill values.
      """
      ds_attrs = ds.attrs
      ds_fill = ds_info["fill_value"]
      fill_mask = ds != ds_fill
      if "Quantisation Factor" in ds_attrs and "Unit" in ds_attrs:
          ds = ds * ds_attrs["Quantisation Factor"]
      else:
          ds = ds * 1.0
      ds = ds.where(fill_mask)
      return ds
  
file_path: satpy/satpy/readers/gerb_l2_hr_h5.py
imports: import logging
  from datetime import timedelta
  from satpy.readers.hdf5_utils import HDF5FileHandler
  from satpy.resample import get_area_def
label_desc: Use image node_id 1 for calling a global function with example usage: gerb_get_dataset(ds, ds_info) and returns: ds