class_docstr: VIIRS EDR Flood-product handler for HDF4 files.
class_docstr_tok: ["VIIRS","EDR","Flood-product","handler","for","HDF4","files","."]
docstr: Get dataset.
docstr_tok: ["Get","dataset","."]
code: def get_dataset(self, ds_id, ds_info):
      """Get dataset."""
      data = self[ds_id["name"]]
  
      data.attrs = self.get_metadata(data, ds_info)
  
      fill = data.attrs.pop("_Fillvalue")
      offset = data.attrs.get("add_offset")
      scale_factor = data.attrs.get("scale_factor")
  
      data = data.where(data != fill)
      if scale_factor is not None and offset is not None:
          data *= scale_factor
          data += offset
  
      return data
  
file_path: satpy/satpy/readers/viirs_edr_flood.py
imports: import numpy
  from pyresample import geometry
  from satpy.readers.hdf4_utils import HDF4FileHandler
label_desc: Use image node_id 6 for calling the VIIRSEDRFlood obj's underlying member method code with example usage: obj.get_dataset(ds_id, ds_info) and returns: data