class_docstr: Base class used as parent for the concrete LI reader classes.
class_docstr_tok: ["Base","class","used","as","parent","for","the","concrete","LI","reader","classes","."]
docstr: Select the first valid path for a variable from the given input list and returns the data.
docstr_tok: ["Select","the","first","valid","path","for","a","variable","from","the","given","input","list","and","returns","the","data","."]
code: def get_first_valid_variable(self, var_paths):
      """Select the first valid path for a variable from the given input list and returns the data."""
      for vpath in var_paths:
          if self.variable_path_exists(vpath):
              return self[vpath]
  
      # We could not find a variable with that path, this might be an error:
      raise KeyError(f"Could not find variable with paths: {var_paths}")
  
imports: import logging
  import re
  import dask.array
  import netCDF4
  import numpy
  import xarray
  from pyproj import Proj
  from satpy.readers.netcdf_utils import NetCDF4FileHandler
label_desc: Use image node_id 13 for calling the LINCFileHandler obj's underlying member method code with example usage: obj.get_first_valid_variable(var_paths) and returns: self