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","."]
docstr: Platform name from the internal file metadata.
docstr_tok: ["Platform","name","from","the","internal","file","metadata","."]
code: def metadata_platform_name(self):
      """Platform name from the internal file metadata."""
      try:
          # Example: 'Terra' or 'Aqua'
          return self.metadata["INVENTORYMETADATA"][
              "ASSOCIATEDPLATFORMINSTRUMENTSENSOR"
          ]["ASSOCIATEDPLATFORMINSTRUMENTSENSORCONTAINER"][
              "ASSOCIATEDPLATFORMSHORTNAME"
          ][
              "VALUE"
          ]
      except KeyError:
          return self._platform_name_from_filename()
  
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 6 for calling the HDFEOSBaseFileReader obj's underlying member method code with example usage: obj.metadata_platform_name() and returns: self, self