class_docstr: Main test class for the LI L2 reader.
class_docstr_tok: ["Main","test","class","for","the","LI","L2","reader","."]
docstr: Get the dataset of a given (sector) variable.
docstr_tok: ["Get","the","dataset","of","a","given","(","sector",")","variable","."]
code: def get_variable_dataset(self, dataset_info, dname, handler):
      """Get the dataset of a given (sector) variable."""
      dataset_id = make_dataid(name=dname)
      res = handler.get_dataset(dataset_id, dataset_info)
      return res
  
imports: import os
  from datetime import datetime
  from unittest import mock
  import numpy
  import pytest
  import xarray
  from pyproj import Proj
  from satpy._config import config_search_paths
  from satpy.readers.li_base_nc import LINCFileHandler
  from satpy.readers.li_l2_nc import LI_GRID_SHAPE, LIL2NCFileHandler
  from satpy.readers.yaml_reader import load_yaml_configs
  from satpy.tests.reader_tests._li_test_utils import FakeLIFileHandlerBase, extract_filetype_info, get_product_schema, products_dict
  from satpy.tests.utils import make_dataid
label_desc: Use image node_id 6 for calling the TestLIL2 obj's underlying member method code with example usage: obj.get_variable_dataset(dataset_info, dname, handler) and returns: res