class_docstr: Base class for common HDF4 operations.
class_docstr_tok: ["Base","class","for","common","HDF4","operations","."]
docstr: Get variable as DataArray or return the default.
docstr_tok: ["Get","variable","as","DataArray","or","return","the","default","."]
code: def get(self, item, default=None):
      """Get variable as DataArray or return the default."""
      if item in self:
          return self[item]
      else:
          return default
  
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 7 for calling the HDF4FileHandler obj's underlying member method code with example usage: obj.get(item, default) and returns: self, default