class_docstr: Implementation class for the unified LI L2 satpy reader.
class_docstr_tok: ["Implementation","class","for","the","unified","LI","L2","satpy","reader","."]
docstr: Get the dataset and apply gridding if requested.
docstr_tok: ["Get","the","dataset","and","apply","gridding","if","requested","."]
code: def get_dataset(self, dataset_id, ds_info=None):
      """Get the dataset and apply gridding if requested."""
      data_array = super().get_dataset(dataset_id, ds_info)
      # variable_patterns are compiled to regex patterns
      # hence search variable name from swath_coordinate
      var_with_swath_coord = self.is_var_with_swath_coord(dataset_id)
      if var_with_swath_coord and self.with_area_def:
          data_array = self.get_array_on_fci_grid(data_array)
      return data_array
  
file_path: satpy/satpy/readers/li_l2_nc.py
imports: import logging
  import dask.array
  import numpy
  import xarray
  from satpy.readers.li_base_nc import LINCFileHandler
  from satpy.resample import get_area_def
  from satpy.utils import get_legacy_chunk_size
label_desc: Use image node_id 2 for calling the LIL2NCFileHandler obj's underlying member method code with example usage: obj.get_dataset(dataset_id, ds_info) and returns: data_array