class_docstr: NetCDF4 reader for MIMC TPW.
class_docstr_tok: ["NetCDF4","reader","for","MIMC","TPW","."]
docstr: Get general metadata for file.
docstr_tok: ["Get","general","metadata","for","file","."]
code: def get_metadata(self, data, info):
      """Get general metadata for file."""
      metadata = {}
      metadata.update(data.attrs)
      metadata.update(info)
      metadata.update(
          {
              "platform_shortname": "aggregated microwave",
              "sensor": "mimic",
              "start_time": self.start_time,
              "end_time": self.end_time,
          }
      )
      metadata.update(self[info.get("file_key")].variable.attrs)
  
      return metadata
  
file_path: satpy/satpy/readers/mimic_TPW2_nc.py
imports: import logging
  import numpy
  import xarray
  from pyresample.geometry import AreaDefinition
  from satpy.readers.netcdf_utils import NetCDF4FileHandler, netCDF4
label_desc: Use image node_id 5 for calling the MimicTPW2FileHandler obj's underlying member method code with example usage: obj.get_metadata(data, info) and returns: metadata