class_docstr: ATMS SDR HDF5 File Reader.
class_docstr_tok: ["ATMS","SDR","HDF5","File","Reader","."]
docstr: Get the dataset corresponding to *dataset_id*.
  
  The size of the return DataArray will be dependent on the number of
  scans actually sensed of course.
docstr_tok: ["Get","the","dataset","corresponding","to","*","dataset_id","*",".","The","size","of","the","return","DataArray","will","be","dependent","on","the","number","of","scans","actually","sensed","of","course","."]
code: def get_dataset(self, dataset_id, ds_info):
      """Get the dataset corresponding to *dataset_id*.
  
      The size of the return DataArray will be dependent on the number of
      scans actually sensed of course.
  
      """
      dataset_group = [
          ds_group
          for ds_group in ds_info["dataset_groups"]
          if ds_group in self.datasets
      ]
      if not dataset_group:
          return
  
      dataset_group = dataset_group[0]
      ds_info["dataset_group"] = dataset_group
      var_path = self._generate_file_key(dataset_id, ds_info)
  
      ch_index = self._get_atms_channel_index(ds_info["name"])
      data = self.concatenate_dataset(
          dataset_group, var_path, channel_index=ch_index
      )
      data = self.mask_fill_values(data, ds_info)
  
      data = self.scale_data_to_specified_unit(
          data, dataset_id, ds_info
      )
      data = self._update_data_attributes(data, dataset_id, ds_info)
  
      return data
  
file_path: satpy/satpy/readers/atms_sdr_hdf5.py
imports: import logging
  import os
  import dask.array
  import h5py
  import xarray
  from satpy.readers.viirs_atms_sdr_base import DATASET_KEYS, JPSS_SDR_FileHandler
  from satpy.utils import get_legacy_chunk_size
label_desc: Use image node_id 6 for calling the ATMS_SDR_FileHandler obj's underlying member method code with example usage: obj.get_dataset(dataset_id, ds_info) and returns: data