satpy.tests.reader_tests.test_oceancolorcci_l3_nc module

Module for testing the satpy.readers.oceancolorcci_l3_nc module.

class satpy.tests.reader_tests.test_oceancolorcci_l3_nc.TestOCCCIReader[source]

Bases: object

Test the Ocean Color reader.

_create_reader_for_resolutions(filename)[source]
area_exp()[source]

Get expected area definition.

setup_method()[source]

Set up the reader tests.

test_bad_fname(fake_dataset, fake_file_dict)[source]

Test case where an incorrect composite period is given.

test_correct_dimnames(fake_file_dict)[source]

Check that the loaded dimension names are correct.

test_end_time(fake_file_dict)[source]

Test end time property.

test_get_area_def(area_exp, fake_file_dict)[source]

Test area definition.

test_get_dataset_1d_kprods(fake_dataset, fake_file_dict)[source]

Test dataset loading.

test_get_dataset_5d_allprods(fake_dataset, fake_file_dict)[source]

Test dataset loading.

test_get_dataset_8d_iopprods(fake_dataset, fake_file_dict)[source]

Test dataset loading.

test_get_dataset_monthly_allprods(fake_dataset, fake_file_dict)[source]

Test dataset loading.

test_start_time(fake_file_dict)[source]

Test start time property.

satpy.tests.reader_tests.test_oceancolorcci_l3_nc.fake_dataset()[source]

Create a CLAAS-like test dataset.

satpy.tests.reader_tests.test_oceancolorcci_l3_nc.fake_file_dict(fake_dataset, tmp_path)[source]

Write a fake dataset to file.