class_docstr: Main test class for the LI L2 reader.
class_docstr_tok: ["Main","test","class","for","the","LI","L2","reader","."]
docstr: Check the loading of the in sector variables.
docstr_tok: ["Check","the","loading","of","the","in","sector","variables","."]
code: def _test_dataset_sector_variables(self, settings, ds_desc, handler):
      """Check the loading of the in sector variables."""
      sector_vars = settings.get("sector_variables")
      sectors = settings.get(
          "sectors", ["north", "east", "south", "west"]
      )
  
      assert "sector_variables" in ds_desc
      all_vars = ds_desc["sector_variables"]
  
      for sname in sectors:
          for vname, desc in sector_vars.items():
              # variable should be in list of dataset:
              assert vname in all_vars
              self._test_dataset_single_sector_variable(
                  [sname, vname], desc, settings, handler
              )
  
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 8 for calling the TestLIL2 obj's underlying member method code with example usage: obj._test_dataset_sector_variables(settings, ds_desc, handler) without return types