class_docstr: Test MODIS L2 reader.
class_docstr_tok: ["Test","MODIS","L2","reader","."]
docstr: Test that datasets are available.
docstr_tok: ["Test","that","datasets","are","available","."]
code: def test_scene_available_datasets(self, modis_l2_nasa_mod35_file):
      """Test that datasets are available."""
      scene = Scene(
          reader="modis_l2", filenames=modis_l2_nasa_mod35_file
      )
      available_datasets = scene.all_dataset_names()
      assert len(available_datasets) > 0
      assert "cloud_mask" in available_datasets
      assert "latitude" in available_datasets
      assert "longitude" in available_datasets
  
file_path: satpy/satpy/tests/reader_tests/modis_tests/test_modis_l2.py
imports: from __future__ import annotations
  import dask
  import dask.array
  import numpy
  import pytest
  from pytest_lazyfixture import lazy_fixture
  from satpy import Scene, available_readers
  from satpy.tests.utils import CustomScheduler, make_dataid
  from ._modis_fixtures import _shape_for_resolution
label_desc: Use image node_id 2 for calling the TestModisL2 obj's underlying member method code with example usage: obj.test_scene_available_datasets(modis_l2_nasa_mod35_file) without return types