class_docstr: Base file handler.
class_docstr_tok: ["Base","file","handler","."]
docstr: Combine metadata for multiple datasets.
  
  When loading data from multiple files it can be non-trivial to combine
  things like start_time, end_time, start_orbit, end_orbit, etc.
  
  By default this method will produce a dictionary containing all values
  that were equal across **all** provided info dictionaries.
  
  Additionally it performs the logical comparisons to produce the
  following if they exist:
  
   - start_time
   - end_time
   - start_orbit
   - end_orbit
   - orbital_parameters
   - time_parameters
  
   Also, concatenate the areas.
docstr_tok: ["Combine","metadata","for","multiple","datasets",".","When","loading","data","from","multiple","files","it","can","be","non-trivial","to","combine","things","like","start_time",",","end_time",",","start_orbit",",","end_orbit",",","etc",".","By","default","this","method","will","produce","a","dictionary","containing","all","values","that","were","equal","across","*","*","all","*","*","provided","info","dictionaries",".","Additionally","it","performs","the","logical","comparisons","to","produce","the","following","if","they","exist",":","-","start_time","-","end_time","-","start_orbit","-","end_orbit","-","orbital_parameters","-","time_parameters","Also",",","concatenate","the","areas","."]
code: def combine_info(self, all_infos):
      """Combine metadata for multiple datasets.
  
      When loading data from multiple files it can be non-trivial to combine
      things like start_time, end_time, start_orbit, end_orbit, etc.
  
      By default this method will produce a dictionary containing all values
      that were equal across **all** provided info dictionaries.
  
      Additionally it performs the logical comparisons to produce the
      following if they exist:
  
       - start_time
       - end_time
       - start_orbit
       - end_orbit
       - orbital_parameters
       - time_parameters
  
       Also, concatenate the areas.
  
      """
      combined_info = combine_metadata(*all_infos)
  
      new_dict = self._combine(
          all_infos, min, "start_time", "start_orbit"
      )
      new_dict.update(
          self._combine(all_infos, max, "end_time", "end_orbit")
      )
      new_dict.update(self._combine_orbital_parameters(all_infos))
      new_dict.update(self._combine_time_parameters(all_infos))
  
      try:
          area = SwathDefinition(
              lons=np.ma.vstack(
                  [info["area"].lons for info in all_infos]
              ),
              lats=np.ma.vstack(
                  [info["area"].lats for info in all_infos]
              ),
          )
          area.name = "_".join(
              [info["area"].name for info in all_infos]
          )
          combined_info["area"] = area
      except KeyError:
          pass
  
      new_dict.update(combined_info)
      return new_dict
  
imports: import numpy
  import xarray
  from pyresample.geometry import SwathDefinition
  from satpy.dataset import combine_metadata
  from satpy.readers import open_file_or_filename
label_desc: Use image node_id 8 for calling the BaseFileHandler obj's underlying member method code with example usage: obj.combine_info(all_infos) and returns: new_dict