class_docstr: File handler for TROPOMI L2 netCDF files.
class_docstr_tok: ["File","handler","for","TROPOMI","L2","netCDF","files","."]
docstr: Get metadata.
docstr_tok: ["Get","metadata","."]
code: def get_metadata(self, data, ds_info):
      """Get metadata."""
      metadata = {}
      metadata.update(data.attrs)
      metadata.update(ds_info)
      metadata.update(
          {
              "platform_shortname": self.platform_shortname,
              "sensor": self.sensor,
              "start_time": self.start_time,
              "end_time": self.end_time,
              "time_coverage_start": self.time_coverage_start,
              "time_coverage_end": self.time_coverage_end,
          }
      )
  
      return metadata
  
imports: import logging
  from datetime import datetime
  import dask.array
  import numpy
  import xarray
  from satpy.readers.netcdf_utils import NetCDF4FileHandler, netCDF4
  from satpy.utils import get_legacy_chunk_size
label_desc: Use image node_id 10 for calling the TROPOMIL2FileHandler obj's underlying member method code with example usage: obj.get_metadata(data, ds_info) and returns: metadata