class_docstr: File handle for sentinel 2 safe XML tile metadata.
class_docstr_tok: ["File","handle","for","sentinel","2","safe","XML","tile","metadata","."]
docstr: Get the area definition of the dataset.
docstr_tok: ["Get","the","area","definition","of","the","dataset","."]
code: def get_area_def(self, dsid):
      """Get the area definition of the dataset."""
      area_extent = self._area_extent(dsid["resolution"])
      cols, rows = self._shape(dsid["resolution"])
      area = geometry.AreaDefinition(
          self.tile,
          "On-the-fly area",
          self.tile,
          self.projection,
          cols,
          rows,
          area_extent,
      )
      return area
  
imports: import logging
  import dask.array
  import defusedxml.ElementTree
  import numpy
  import xarray
  from pyresample import geometry
  from satpy._compat import cached_property
  from satpy.readers.file_handlers import BaseFileHandler
  from satpy.utils import get_legacy_chunk_size
label_desc: Use image node_id 2 for calling the SAFEMSITileMDXML obj's underlying member method code with example usage: obj.get_area_def(dsid) and returns: area