class_docstr: Test VIIRS L1B Reader.
class_docstr_tok: ["Test","VIIRS","L1B","Reader","."]
docstr: Test available datasets for M band files.
docstr_tok: ["Test","available","datasets","for","M","band","files","."]
code: def test_available_datasets_m_bands(self):
      """Test available datasets for M band files."""
      from satpy.readers import load_reader
  
      r = load_reader(self.reader_configs)
      loadables = r.select_files_from_pathnames(
          [
              "VL1BM_snpp_d20161130_t012400_c20161130054822.nc",
              "VGEOM_snpp_d20161130_t012400_c20161130054822.nc",
          ]
      )
      r.create_filehandlers(loadables)
      avail_names = r.available_dataset_names
      angles = {
          "satellite_azimuth_angle",
          "satellite_zenith_angle",
          "solar_azimuth_angle",
          "solar_zenith_angle",
      }
      geo = {"m_lon", "m_lat"}
      assert (
          set(avail_names) == set(self.fake_cls.M_BANDS) | angles | geo
      )
  
imports: import os
  from datetime import datetime, timedelta
  from unittest import mock
  import numpy
  from satpy.tests.reader_tests.test_netcdf_utils import FakeNetCDF4FileHandler
  from satpy.tests.utils import convert_file_content_to_data_array
label_desc: Use image node_id 4 for calling the TestVIIRSL1BReaderDay obj's underlying member method code with example usage: obj.test_available_datasets_m_bands() without return types