class_docstr: Measurement file reader.
class_docstr_tok: ["Measurement","file","reader","."]
docstr: Load a dataset.
docstr_tok: ["Load","a","dataset","."]
code: def get_dataset(self, key, info):
      """Load a dataset."""
      if key["name"] in ["owiLat", "owiLon"]:
          if self.lons is None or self.lats is None:
              self.lons = self.nc["owiLon"]
              self.lats = self.nc["owiLat"]
          if key["name"] == "owiLat":
              res = self.lats
          else:
              res = self.lons
          res.attrs = info
      else:
          res = self._get_data_channels(key, info)
  
      if "missionName" in self.nc.attrs:
          res.attrs.update(
              {"platform_name": self.nc.attrs["missionName"]}
          )
  
      res.attrs.update({"fstart_time": self._fstart_time})
      res.attrs.update({"fend_time": self._fend_time})
  
      if not self._shape:
          self._shape = res.shape
  
      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 2 for calling the SAFENC obj's underlying member method code with example usage: obj.get_dataset(key, info) and returns: res