class_docstr: Test case for CF reader.
class_docstr_tok: ["Test","case","for","CF","reader","."]
docstr: Test that the orbital parameters in attributes are handled correctly.
docstr_tok: ["Test","that","the","orbital","parameters","in","attributes","are","handled","correctly","."]
code: def test_orbital_parameters(self, cf_scene, nc_filename):
      """Test that the orbital parameters in attributes are handled correctly."""
      cf_scene.save_datasets(writer="cf", filename=nc_filename)
      scn_ = Scene(reader="satpy_cf_nc", filenames=[nc_filename])
      scn_.load(["image0"])
      orig_attrs = cf_scene["image0"].attrs["orbital_parameters"]
      new_attrs = scn_["image0"].attrs["orbital_parameters"]
      assert isinstance(new_attrs, dict)
      for key in orig_attrs:
          assert orig_attrs[key] == new_attrs[key]
  
imports: import warnings
  from datetime import datetime
  import numpy
  import pytest
  import xarray
  from pyresample import AreaDefinition, SwathDefinition
  from satpy import Scene
  from satpy.dataset.dataid import WavelengthRange
  from satpy.readers.satpy_cf_nc import SatpyCFFileHandler
label_desc: Use image node_id 10 for calling the TestCFReader obj's underlying member method code with example usage: obj.test_orbital_parameters(cf_scene, nc_filename) without return types