satpy.tests.reader_tests.test_ghrsst_l2 module

Module for testing the satpy.readers.ghrsst_l2 module.

class satpy.tests.reader_tests.test_ghrsst_l2.TestGHRSSTL2Reader[source]

Bases: object

Test Sentinel-3 SST L2 reader.

_create_tarfile_with_testdata(mypath)[source]

Create a ‘fake’ testdata set in a tar file.

setup_method(tmp_path)[source]

Create a fake osisaf ghrsst dataset.

test_get_dataset(tmp_path)[source]

Test retrieval of datasets.

test_get_sensor(tmp_path)[source]

Test retrieval of the sensor name from the netCDF file.

test_get_start_and_end_times(tmp_path)[source]

Test retrieval of the sensor name from the netCDF file.

test_instantiate_single_netcdf_file(tmp_path)[source]

Test initialization of file handlers - given a single netCDF file.

test_instantiate_tarfile(tmp_path)[source]

Test initialization of file handlers - given a tar file as in the case of the SAFE format.