class_docstr: File handler for Maia files.
class_docstr_tok: ["File","handler","for","Maia","files","."]
docstr: Get a dataset from the file.
docstr_tok: ["Get","a","dataset","from","the","file","."]
code: def get_dataset(self, key, info, out=None):
      """Get a dataset from the file."""
      logger.debug("Reading %s.", key["name"])
      values = self.file_content[key["name"]]
      selected = np.array(self.selected)
      if key["name"] in ("Latitude", "Longitude"):
          values = values / 10000.0
      if key["name"] in ("Tsurf", "CloudTopPres", "CloudTopTemp"):
          goods = values > -9998.0
          selected = np.array(selected & goods)
          if key["name"] in ("Tsurf", "Alt_surface", "CloudTopTemp"):
              values = values / 100.0
          if key["name"] in ("CloudTopPres"):
              values = values / 10.0
      else:
          selected = self.selected
      info.update(self.finfo)
  
      fill_value = np.nan
  
      if key["name"] == "ct":
          fill_value = 0
          info["_FillValue"] = 0
      ds = DataArray(values, dims=["y", "x"], attrs=info).where(
          selected, fill_value
      )
  
      # update dataset info with file_info
      return ds
  
file_path: satpy/satpy/readers/maia.py
imports: import logging
  import dask.array
  import h5py
  import numpy
  from xarray import DataArray
  from satpy.readers.file_handlers import BaseFileHandler
  from satpy.utils import get_legacy_chunk_size
label_desc: Use image node_id 6 for calling the MAIAFileHandler obj's underlying member method code with example usage: obj.get_dataset(key, info, out) and returns: ds