class_docstr: NWCSAF PPS&MSG NetCDF reader.
docstr: Set some metadata: platform_name, sensors, and pps (identifying PPS or Geo).
docstr_tok: ["Set","some","metadata",":","platform_name",",","sensors",",","and","pps","(","identifying","PPS","or","Geo",")","."]
code: def set_platform_and_sensor(self, **kwargs):
      """Set some metadata: platform_name, sensors, and pps (identifying PPS or Geo)."""
      try:
          # NWCSAF/Geo
          self.platform_name = PLATFORM_NAMES.get(
              kwargs["sat_id"], kwargs["sat_id"]
          )
      except KeyError:
          # NWCSAF/PPS
          self.platform_name = kwargs["platform_name"]
          self.pps = True
  
      self.sensor = set([SENSOR.get(self.platform_name, "seviri")])
  
imports: import functools
  import logging
  import os
  from contextlib import suppress
  from datetime import datetime
  import dask.array
  import numpy
  import xarray
  from pyproj import CRS
  from pyresample.geometry import AreaDefinition
  from satpy.readers.file_handlers import BaseFileHandler
  from satpy.readers.utils import unzip_file
  from satpy.utils import get_chunk_size_limit
label_desc: Use image node_id 2 for calling the NcNWCSAF obj's underlying member method code with example usage: obj.set_platform_and_sensor() without return types