class_docstr: Test class for reading compact viirs format.
class_docstr_tok: ["Test","class","for","reading","compact","viirs","format","."]
docstr: Check that distributed computations work.
docstr_tok: ["Check","that","distributed","computations","work","."]
code: def test_distributed(self):
      """Check that distributed computations work."""
      from dask.distributed import Client
  
      self.client = Client()
  
      for ds in self._dataset_iterator():
          # Check that the computation is running fine.
          assert ds.compute().shape == (752, 4064)
  
file_path: satpy/satpy/tests/reader_tests/test_viirs_compact.py
imports: from contextlib import suppress
  import h5py
  import numpy
  import pytest
  from satpy.tests.reader_tests.utils import fill_h5
label_desc: Use image node_id 4 for calling the TestCompact obj's underlying member method code with example usage: obj.test_distributed() without return types