class_docstr: Test the VIIRS JRR L2 reader.
class_docstr_tok: ["Test","the","VIIRS","JRR","L2","reader","."]
docstr: Test datasets from cloud height files.
docstr_tok: ["Test","datasets","from","cloud","height","files","."]
code: def test_get_dataset_generic(self, var_names, data_file):
      """Test datasets from cloud height files."""
      from satpy import Scene
  
      bytes_in_m_row = 4 * 3200
      with dask.config.set(
          {"array.chunk-size": f"{bytes_in_m_row * 4}B"}
      ):
          scn = Scene(reader="viirs_edr", filenames=[data_file])
          scn.load(var_names)
      for var_name in var_names:
          _check_continuous_data_arr(scn[var_name])
  
imports: from __future__ import annotations
  import shutil
  from datetime import datetime, timedelta
  from pathlib import Path
  from typing import Iterable
  import dask
  import dask.array
  import numpy
  import numpy.typing
  import pytest
  import xarray
  from pyresample import SwathDefinition
  from pytest import TempPathFactory
  from pytest_lazyfixture import lazy_fixture
label_desc: Use image node_id 3 for calling the TestVIIRSJRRReader obj's underlying member method code with example usage: obj.test_get_dataset_generic(var_names, data_file) without return types