class_docstr: Class for faking the NetCDF4 Filehandler.
docstr: Write the sector variables.
docstr_tok: ["Write","the","sector","variables","."]
code: def write_sector_variables(self, settings, write_variable):
      """Write the sector variables."""
      if "sector_variables" in settings:
          sector_vars = settings.get("sector_variables")
          sectors = settings.get(
              "sectors", ["north", "east", "south", "west"]
          )
  
          for sname in sectors:
              for vname, desc in sector_vars.items():
                  write_variable(vname, desc, sname)
  
imports: from datetime import datetime
  import numpy
  import xarray
  from satpy.tests.reader_tests.test_netcdf_utils import FakeNetCDF4FileHandler
label_desc: Use image node_id 4 for calling the FakeLIFileHandlerBase obj's underlying member method code with example usage: obj.write_sector_variables(settings, write_variable) without return types