class_docstr: VIIRS EDR Flood-product handler for HDF4 files.
class_docstr_tok: ["VIIRS","EDR","Flood-product","handler","for","HDF4","files","."]
docstr: Get metadata.
docstr_tok: ["Get","metadata","."]
code: def get_metadata(self, data, ds_info):
      """Get metadata."""
      metadata = {}
      metadata.update(data.attrs)
      metadata.update(ds_info)
      metadata.update(
          {
              "sensor": self.sensor_name,
              "platform_name": self.platform_name,
              "start_time": self.start_time,
              "end_time": self.end_time,
          }
      )
  
      return metadata
  
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 5 for calling the VIIRSEDRFlood obj's underlying member method code with example usage: obj.get_metadata(data, ds_info) and returns: metadata