class_docstr: Reader class for FCI L2 products in NetCDF4 format.
class_docstr_tok: ["Reader","class","for","FCI","L2","products","in","NetCDF4","format","."]
docstr: Open the NetCDF file with xarray and prepare for dataset reading.
docstr_tok: ["Open","the","NetCDF","file","with","xarray","and","prepare","for","dataset","reading","."]
code: def __init__(
      self,
      filename,
      filename_info,
      filetype_info,
      with_area_definition=True,
  ):
      """Open the NetCDF file with xarray and prepare for dataset reading."""
      super().__init__(filename, filename_info, filetype_info)
  
      # Use xarray's default netcdf4 engine to open the fileq
      self.nc = xr.open_dataset(
          self.filename,
          decode_cf=True,
          mask_and_scale=True,
          chunks={
              "number_of_columns": CHUNK_SIZE,
              "number_of_rows": CHUNK_SIZE,
          },
      )
  
      if with_area_definition is False:
          logger.info(
              "Setting `with_area_defintion=False` has no effect on pixel-based products."
          )
  
      # Read metadata which are common to all datasets
      self.nlines = self.nc["y"].size
      self.ncols = self.nc["x"].size
      self._projection = self.nc["mtg_geos_projection"]
      self.multi_dims = {
          "maximum_number_of_layers": "layer",
          "number_of_vis_channels": "vis_channel_id",
      }
  
imports: import logging
  from contextlib import suppress
  import numpy
  import xarray
  from pyresample import geometry
  from satpy._compat import cached_property
  from satpy.readers._geos_area import get_geos_area_naming, make_ext
  from satpy.readers.eum_base import get_service_mode
  from satpy.readers.file_handlers import BaseFileHandler
  from satpy.resample import get_area_def
  from satpy.utils import get_legacy_chunk_size
label_desc: Use image node_id 1 to create a new FciL2NCFileHandler object from inherited base classes: FciL2CommonFunctions, BaseFileHandler with example: obj = FciL2NCFileHandler(filename, filename_info, filetype_info, with_area_definition)