class_docstr: Base file handler for HDF EOS data for both L1b and L2 products.
class_docstr_tok: ["Base","file","handler","for","HDF","EOS","data","for","both","L1b","and","L2","products","."]
code: def _load_all_metadata_attributes(self):
      metadata = {}
      attrs = self.sd.attributes()
      for md_key in (
          "CoreMetadata.0",
          "StructMetadata.0",
          "ArchiveMetadata.0",
      ):
          try:
              str_val = attrs[md_key]
          except KeyError:
              continue
          else:
              metadata.update(self.read_mda(str_val))
      return metadata
  
imports: from __future__ import annotations
  import logging
  import re
  from ast import literal_eval
  from contextlib import suppress
  from datetime import datetime
  import numpy
  import xarray
  from pyhdf.error import HDF4Error
  from pyhdf.SD import SD
  from satpy import DataID
  from satpy.readers.file_handlers import BaseFileHandler
  from satpy.utils import normalize_low_res_chunks
label_desc: Use image node_id 2 for calling the HDFEOSBaseFileReader obj's underlying member method code with example usage: obj._load_all_metadata_attributes() and returns: metadata