class_docstr: Measurement file reader.
class_docstr_tok: ["Measurement","file","reader","."]
code: def _get_data_channels(self, key, info):
      res = self.nc[key["name"]]
      if key["name"] in ["owiHs", "owiWl", "owiDirmet"]:
          res = xr.DataArray(res, dims=["y", "x", "oswPartitions"])
      elif key["name"] in ["owiNrcs", "owiNesz", "owiNrcsNeszCorr"]:
          res = xr.DataArray(res, dims=["y", "x", "oswPolarisation"])
      elif key["name"] in ["owiPolarisationName"]:
          res = xr.DataArray(res, dims=["owiPolarisation"])
      elif key["name"] in ["owiCalConstObsi", "owiCalConstInci"]:
          res = xr.DataArray(res, dims=["owiIncSize"])
      elif key["name"].startswith("owi"):
          res = xr.DataArray(res, dims=["y", "x"])
      else:
          res = xr.DataArray(res, dims=["y", "x"])
      res.attrs.update(info)
      if "_FillValue" in res.attrs:
          res = res.where(res != res.attrs["_FillValue"])
          res.attrs["_FillValue"] = np.nan
      return res
  
file_path: satpy/satpy/readers/safe_sar_l2_ocn.py
imports: import logging
  import numpy
  import xarray
  from satpy.readers.file_handlers import BaseFileHandler
  from satpy.utils import get_legacy_chunk_size
label_desc: Use image node_id 3 for calling the SAFENC obj's underlying member method code with example usage: obj._get_data_channels(key, info) and returns: res