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: Get a dataset.
docstr_tok: ["Get","a","dataset","."]
code: def get_dataset(self, dataset_id, ds_info=None):
      """Get a dataset."""
      # Retrieve default infos if missing:
      if ds_info is None:
          ds_info = self.get_dataset_infos(dataset_id["name"])
  
      # check for potential error:
      if ds_info is None:
          raise KeyError(f"No dataset registered for {dataset_id}")
  
      ds_name = ds_info["name"]
      # In case this dataset name is not explicitly provided by this file handler then we
      # should simply return None.
      if ds_name not in self.provided_datasets:
          return None
  
      # Generate our coordinates from azimuth/elevation data if needed.
      # It shall be called only when a corresponding dataset is being requested
      # (i.e. longitude and latitude for accumulated products)
      coord_names = self.get_latlon_names()
      is_coord = ds_name in coord_names
      # call only when internal variable is empty, to avoid multiple call.
      if (
          ds_name not in self.internal_variables
          and is_coord
          and self.prod_in_accumulation_grid
      ):
          self.generate_coords_from_scan_angles()
  
      # Retrieve the transformed data array:
      data_array = self.get_transformed_dataset(ds_info)
  
      # Validate the dimensions:
      data_array = self.validate_array_dimensions(data_array, ds_info)
  
      # Update the attributes in the final array:
      data_array = self.update_array_attributes(data_array, ds_info)
  
      # Return the resulting array:
      return data_array
  
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 38 for calling the LINCFileHandler obj's underlying member method code with example usage: obj.get_dataset(dataset_id, ds_info) and returns: data_array, None