class_docstr: VIIRS EDR Flood-product handler for HDF4 files.
class_docstr_tok: ["VIIRS","EDR","Flood-product","handler","for","HDF4","files","."]
docstr: Get area definition.
docstr_tok: ["Get","area","definition","."]
code: def get_area_def(self, ds_id):
      """Get area definition."""
      data = self[ds_id["name"]]
  
      proj_dict = {
          "proj": "latlong",
          "datum": "WGS84",
          "ellps": "WGS84",
          "no_defs": True,
      }
  
      area_extent = [
          data.attrs.get("ProjectionMinLongitude"),
          data.attrs.get("ProjectionMinLatitude"),
          data.attrs.get("ProjectionMaxLongitude"),
          data.attrs.get("ProjectionMaxLatitude"),
      ]
  
      area = geometry.AreaDefinition(
          "viirs_flood_area",
          "name_of_proj",
          "id_of_proj",
          proj_dict,
          int(self.filename_info["dim0"]),
          int(self.filename_info["dim1"]),
          np.asarray(area_extent),
      )
  
      return area
  
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 7 for calling the VIIRSEDRFlood obj's underlying member method code with example usage: obj.get_area_def(ds_id) and returns: area