class_docstr: Test the BaseFileHandler.
class_docstr_tok: ["Test","the","BaseFileHandler","."]
docstr: Combine orbital parameters.
docstr_tok: ["Combine","orbital","parameters","."]
code: def test_combine_orbital_parameters(self):
      """Combine orbital parameters."""
      info1 = {
          "orbital_parameters": {
              "projection_longitude": 1,
              "projection_latitude": 1,
              "projection_altitude": 1,
              "satellite_nominal_longitude": 1,
              "satellite_nominal_latitude": 1,
              "satellite_actual_longitude": 1,
              "satellite_actual_latitude": 1,
              "satellite_actual_altitude": 1,
              "nadir_longitude": 1,
              "nadir_latitude": 1,
              "only_in_1": False,
          }
      }
      info2 = {
          "orbital_parameters": {
              "projection_longitude": 2,
              "projection_latitude": 2,
              "projection_altitude": 2,
              "satellite_nominal_longitude": 2,
              "satellite_nominal_latitude": 2,
              "satellite_actual_longitude": 2,
              "satellite_actual_latitude": 2,
              "satellite_actual_altitude": 2,
              "nadir_longitude": 2,
              "nadir_latitude": 2,
              "only_in_2": True,
          }
      }
      exp = {
          "orbital_parameters": {
              "projection_longitude": 1.5,
              "projection_latitude": 1.5,
              "projection_altitude": 1.5,
              "satellite_nominal_longitude": 1.5,
              "satellite_nominal_latitude": 1.5,
              "satellite_actual_longitude": 1.5,
              "satellite_actual_latitude": 1.5,
              "satellite_actual_altitude": 1.5,
              "nadir_longitude": 1.5,
              "nadir_latitude": 1.5,
              "only_in_1": False,
              "only_in_2": True,
          }
      }
      res = self.fh.combine_info([info1, info2])
      assert res == exp
  
      # Identity
      assert self.fh.combine_info([info1]) == info1
  
      # Empty
      self.fh.combine_info([{}])
  
file_path: satpy/satpy/tests/test_file_handlers.py
imports: import unittest
  from datetime import datetime, timedelta
  from unittest import mock
  import numpy
  import pytest
  from satpy.readers.file_handlers import BaseFileHandler, open_dataset
  from satpy.tests.utils import FakeFileHandler
label_desc: Use image node_id 5 for calling the TestBaseFileHandler obj's underlying member method code with example usage: obj.test_combine_orbital_parameters() without return types