class_docstr: Test the NcNWCSAF reader for Geo products.
class_docstr_tok: ["Test","the","NcNWCSAF","reader","for","Geo","products","."]
docstr: Test that the correct sensor name is being set.
docstr_tok: ["Test","that","the","correct","sensor","name","is","being","set","."]
code: def test_sensor_name_sat_id(
      self, nwcsaf_geo_ct_filehandler, platform, instrument
  ):
      """Test that the correct sensor name is being set."""
      nwcsaf_geo_ct_filehandler.set_platform_and_sensor(sat_id=platform)
      assert nwcsaf_geo_ct_filehandler.sensor == set([instrument])
      assert nwcsaf_geo_ct_filehandler.sensor_names == set([instrument])
  
imports: import h5netcdf
  import numpy
  import pytest
  import xarray
  from satpy.readers.nwcsaf_nc import NcNWCSAF, read_nwcsaf_time
label_desc: Use image node_id 2 for calling the TestNcNWCSAFGeo obj's underlying member method code with example usage: obj.test_sensor_name_sat_id(nwcsaf_geo_ct_filehandler, platform, instrument) without return types