satpy.tests.reader_tests.test_viirs_compact module

Module for testing the satpy.readers.viirs_compact module.

class satpy.tests.reader_tests.test_viirs_compact.TestCompact[source]

Bases: object

Test class for reading compact viirs format.

_dataset_iterator()[source]
_setup_method(fake_dnb_file)[source]

Create a fake file from scratch.

teardown_method()[source]

Destroy.

test_distributed()[source]

Check that distributed computations work.

test_get_dataset()[source]

Retrieve datasets from a DNB file.

satpy.tests.reader_tests.test_viirs_compact.fake_dnb()[source]

Create fake DNB content.

satpy.tests.reader_tests.test_viirs_compact.fake_dnb_file(fake_dnb, tmp_path)[source]

Create an hdf5 file in viirs_compact format with DNB data in it.