class_docstr: Test MODIS L3 reader.
class_docstr_tok: ["Test","MODIS","L3","reader","."]
docstr: Load and check an L2 variable.
docstr_tok: ["Load","and","check","an","L2","variable","."]
code: def test_load_l3_dataset(self, modis_l3_nasa_mod09_file):
      """Load and check an L2 variable."""
      scene = Scene(
          reader="modis_l3", filenames=modis_l3_nasa_mod09_file
      )
  
      ds_name = "Coarse_Resolution_Surface_Reflectance_Band_2"
      scene.load([ds_name])
  
      data_arr = scene[ds_name]
      assert isinstance(data_arr.data, da.Array)
      data_arr_comp = data_arr.compute()
  
      # Check types
      assert data_arr_comp.dtype == data_arr.dtype
      assert data_arr_comp.dtype == np.float32
  
      assert data_arr_comp.shape == (3600, 7200)
      assert data_arr_comp.attrs.get("resolution") == 0.05
      assert data_arr_comp.attrs.get("area") == _expected_area()
  
file_path: satpy/satpy/tests/reader_tests/modis_tests/test_modis_l3.py
imports: from __future__ import annotations
  import dask.array
  import numpy
  import pytest
  from pyresample import geometry
  from pytest_lazyfixture import lazy_fixture
  from satpy import Scene, available_readers
label_desc: Use image node_id 3 for calling the TestModisL3 obj's underlying member method code with example usage: obj.test_load_l3_dataset(modis_l3_nasa_mod09_file) without return types