class_docstr: File handler for MODIS HDF-EOS Level 2 files.
  
  Includes error handling for files produced by IMAPP produced files.
class_docstr_tok: ["File","handler","for","MODIS","HDF-EOS","Level","2","files",".","Includes","error","handling","for","files","produced","by","IMAPP","produced","files","."]
docstr: Get DataArray for specified dataset.
docstr_tok: ["Get","DataArray","for","specified","dataset","."]
code: def get_dataset(self, dataset_id, dataset_info):
      """Get DataArray for specified dataset."""
      dataset_name = dataset_id["name"]
      if self.is_geo_loadable_dataset(dataset_name):
          return HDFEOSGeoReader.get_dataset(
              self, dataset_id, dataset_info
          )
      dataset_name_in_file = dataset_info["file_key"]
      if self.is_imapp_mask_byte1:
          dataset_name_in_file = dataset_info.get(
              "imapp_file_key", dataset_name_in_file
          )
  
      # The dataset asked correspond to a given set of bits of the HDF EOS dataset
      if "byte" in dataset_info and "byte_dimension" in dataset_info:
          dataset = self._extract_and_mask_category_dataset(
              dataset_id, dataset_info, dataset_name_in_file
          )
      else:
          # No byte manipulation required
          dataset = self.load_dataset(
              dataset_name_in_file, dataset_info.pop("category", False)
          )
  
      self._add_satpy_metadata(dataset_id, dataset)
      return dataset
  
imports: import logging
  import dask.array
  import numpy
  import xarray
  from satpy.readers.hdf4_utils import from_sds
  from satpy.readers.hdfeos_base import HDFEOSGeoReader
  from satpy.utils import get_legacy_chunk_size
label_desc: Use image node_id 7 for calling the ModisL2HDFFileHandler obj's underlying member method code with example usage: obj.get_dataset(dataset_id, dataset_info) and returns: dataset, HDFEOSGeoReader