class_docstr: Measurement file reader.
class_docstr_tok: ["Measurement","file","reader","."]
docstr: Init the file reader.
docstr_tok: ["Init","the","file","reader","."]
code: def __init__(self, filename, filename_info, filetype_info):
      """Init the file reader."""
      super(SAFENC, self).__init__(
          filename, filename_info, filetype_info
      )
  
      self._start_time = filename_info["start_time"]
      self._end_time = filename_info["end_time"]
      # For some SAFE packages, fstart_time differs, but start_time is the same
      # To avoid over writing exiting file with same start_time, a solution is to
      # use fstart_time
      self._fstart_time = filename_info["fstart_time"]
      self._fend_time = filename_info["fend_time"]
  
      self._polarization = filename_info["polarization"]
  
      self.lats = None
      self.lons = None
      self._shape = None
      self.area = None
  
      self.nc = xr.open_dataset(
          filename,
          decode_cf=True,
          mask_and_scale=False,
          chunks={"owiAzSize": CHUNK_SIZE, "owiRaSize": CHUNK_SIZE},
      )
      self.nc = self.nc.rename({"owiAzSize": "y"})
      self.nc = self.nc.rename({"owiRaSize": "x"})
      self.filename = filename
  
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 1 to create a new SAFENC object from inherited base classes: BaseFileHandler with example: obj = SAFENC(filename, filename_info, filetype_info)