satpy.tests.reader_tests.test_seviri_l2_bufr module

Unittesting the SEVIRI L2 BUFR reader.

class satpy.tests.reader_tests.test_seviri_l2_bufr.SeviriL2BufrData(filename, with_adef=False, rect_lon='default')[source]

Bases: object

Mock SEVIRI L2 BUFR data.

Initialize by mocking test data for testing the SEVIRI L2 BUFR reader.

get_data(dataset_info)[source]

Read data from mock file.

class satpy.tests.reader_tests.test_seviri_l2_bufr.TestSeviriL2BufrReader[source]

Bases: object

Test SEVIRI L2 BUFR Reader.

pytestmark = [Mark(name='parametrize', args=('input_file', ['ASRBUFRProd_20191106130000Z_00_OMPEFS01_MET08_FES_E0000', 'MSG1-SEVI-MSGASRE-0101-0101-20191106130000.000000000Z-20191106131702-1362128.bfr', 'MSG1-SEVI-MSGASRE-0101-0101-20191106101500.000000000Z-20191106103218-1362148']), kwargs={})]
static test_attributes_with_area_definition(input_file)[source]

Test correctness of dataset attributes with data loaded with a AreaDefinition.

static test_attributes_with_swath_definition(input_file)[source]

Test correctness of dataset attributes with data loaded with a SwathDefinition (default behaviour).

test_data_with_area_definition(input_file)[source]

Test data loaded with AreaDefinition.

test_data_with_rect_lon(input_file)[source]

Test data loaded with AreaDefinition and user defined rectification longitude.

static test_data_with_swath_definition(input_file)[source]

Test data loaded with SwathDefinition (default behaviour).

static test_lonslats(input_file)[source]

Test reading of longitude and latitude data with SEVIRI L2 BUFR reader.