code: def from_sds(var, *args, **kwargs):
      """Create a dask array from a SD dataset."""
      var.__dict__["dtype"] = np.dtype(HTYPE_TO_DTYPE[var.info()[3]])
      shape = var.info()[2]
      var.__dict__["shape"] = (
          shape if isinstance(shape, (tuple, list)) else tuple(shape)
      )
      return da.from_array(var, *args, **kwargs)
  
file_path: satpy/satpy/readers/hdf4_utils.py
imports: import logging
  import dask.array
  import numpy
  import xarray
  from pyhdf.SD import SD, SDC, SDS
  from satpy.readers.file_handlers import BaseFileHandler
  from satpy.utils import get_legacy_chunk_size
label_desc: Use image node_id 1 for calling a global function with example usage: from_sds(var) and returns: da