code: def from_sds(var, *args, **kwargs):
      
      var.__dict__['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)
docs: Create a dask array from a SD dataset.