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 dataset referred to by `key`.
docstr_tok: ["Get","the","dataset","referred","to","by","`","key","`","."]
code: def get_dataset(self, key, info):
      """Get the dataset referred to by `key`."""
      angles = self._get_coarse_dataset(key, info)
      if angles is None:
          return None
  
      angles = _fill_swath_edges(angles)
  
      res = self.interpolate_angles(angles, key["resolution"])
  
      proj = xr.DataArray(res, dims=["y", "x"])
      proj.attrs = info.copy()
      proj.attrs["units"] = "degrees"
      proj.attrs["platform_name"] = self.platform_name
      return proj
  
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 12 for calling the SAFEMSITileMDXML obj's underlying member method code with example usage: obj.get_dataset(key, info) and returns: proj, None