class_docstr: Implementation class for the unified LI L2 satpy reader.
class_docstr_tok: ["Implementation","class","for","the","unified","LI","L2","satpy","reader","."]
docstr: Check if the variable corresponding to this dataset is listed as variable with swath coordinates.
docstr_tok: ["Check","if","the","variable","corresponding","to","this","dataset","is","listed","as","variable","with","swath","coordinates","."]
code: def is_var_with_swath_coord(self, dsid):
      """Check if the variable corresponding to this dataset is listed as variable with swath coordinates."""
      # since the patterns are compiled to regex we use the search() method below to find matches
      with_swath_coords = any(
          [
              p.search(dsid["name"]) is not None
              for p in self.swath_coordinates["patterns"]
          ]
      )
      return with_swath_coords
  
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 4 for calling the LIL2NCFileHandler obj's underlying member method code with example usage: obj.is_var_with_swath_coord(dsid) and returns: with_swath_coords