class_docstr: File handler for AMSR2 l1b.
class_docstr_tok: ["File","handler","for","AMSR2","l1b","."]
docstr: Get the metadata.
docstr_tok: ["Get","the","metadata","."]
code: def get_metadata(self, ds_id, ds_info):
      """Get the metadata."""
      var_path = ds_info["file_key"]
      info = getattr(self[var_path], "attrs", {})
      info.update(ds_info)
      info.update(
          {
              "shape": self.get_shape(ds_id, ds_info),
              "units": self[var_path + "/attr/UNIT"],
              "platform_name": self["/attr/PlatformShortName"],
              "sensor": self["/attr/SensorShortName"].lower(),
              "start_orbit": int(self["/attr/StartOrbitNumber"]),
              "end_orbit": int(self["/attr/StopOrbitNumber"]),
          }
      )
      info.update(ds_id.to_dict())
      return info
  
imports: from satpy.readers.hdf5_utils import HDF5FileHandler
label_desc: Use image node_id 1 for calling the AMSR2L1BFileHandler obj's underlying member method code with example usage: obj.get_metadata(ds_id, ds_info) and returns: info