class_docstr: File handler for MODIS HDF-EOS Level 3 CMG gridded files.
class_docstr_tok: ["File","handler","for","MODIS","HDF-EOS","Level","3","CMG","gridded","files","."]
docstr: Get the area definition.
  
  This is fixed, but not defined in the file. So we must
  generate it ourselves with some assumptions.
docstr_tok: ["Get","the","area","definition",".","This","is","fixed",",","but","not","defined","in","the","file",".","So","we","must","generate","it","ourselves","with","some","assumptions","."]
code: def get_area_def(self, dsid):
      """Get the area definition.
  
      This is fixed, but not defined in the file. So we must
      generate it ourselves with some assumptions.
      """
      proj_param = "EPSG:4326"
  
      # Get the size of the dataset
      nrows = self.metadata["GridStructure"]["GRID_1"]["YDim"]
      ncols = self.metadata["GridStructure"]["GRID_1"]["XDim"]
  
      # Construct the area definition
      area = geometry.AreaDefinition(
          "gridded_modis",
          "A gridded L3 MODIS area",
          "longlat",
          proj_param,
          ncols,
          nrows,
          self._get_area_extent(),
      )
  
      return area
  
file_path: satpy/satpy/readers/modis_l3.py
imports: import logging
  from typing import Iterable
  from pyresample import geometry
  from satpy.readers.hdfeos_base import HDFEOSGeoReader
label_desc: Use image node_id 6 for calling the ModisL3GriddedHDFFileHandler obj's underlying member method code with example usage: obj.get_area_def(dsid) and returns: area