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: Add a provided dataset to our internal list.
docstr_tok: ["Add","a","provided","dataset","to","our","internal","list","."]
code: def add_provided_dataset(self, ds_infos):
      """Add a provided dataset to our internal list."""
      # Check if we have extra infos for that variable:
      # Note that if available we should use the alias name instead here:
      vname = (
          ds_infos["alias_name"]
          if "alias_name" in ds_infos
          else ds_infos["variable_name"]
      )
      self.check_variable_extra_info(ds_infos, vname)
  
      # We check here if we should include the default coordinates on that dataset:
      if (
          self.swath_coordinates is not None
          and "coordinates" not in ds_infos
      ):
          # Check if the variable corresponding to this dataset will match one of the valid patterns
          # for the swath usage:
          if any(
              [
                  p.search(vname) is not None
                  for p in self.swath_coordinates["patterns"]
              ]
          ):
              # Get the target coordinate names, applying the sector name as needed:
              (
                  lat_coord_name,
                  lon_coord_name,
              ) = self.get_coordinate_names(ds_infos)
  
              # Ensure we do not try to add the coordinates on the coordinates themself:
              dname = ds_infos["name"]
              if dname != lat_coord_name and dname != lon_coord_name:
                  ds_infos["coordinates"] = [
                      lon_coord_name,
                      lat_coord_name,
                  ]
      self.dataset_infos.append(ds_infos)
      self.provided_datasets.add(ds_infos["name"])
  
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 17 for calling the LINCFileHandler obj's underlying member method code with example usage: obj.add_provided_dataset(ds_infos) without return types