satpy.tests.reader_tests.test_seviri_l2_bufr module

Unittesting the SEVIRI L2 BUFR reader.

class satpy.tests.reader_tests.test_seviri_l2_bufr.SeviriL2AMVBufrData(filename)[source]

Bases: object

Mock SEVIRI L2 AMV BUFR data.

Initialize by mocking test data for testing 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.TestSeviriL2AMVBufrReader[source]

Bases: object

Test SEVIRI L2 BUFR Reader for AMV data.

static test_amv_with_area_def()[source]

Test that AMV data can not be loaded with an area definition.

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_OMPEFS02_MET09_FES_E0000', 'MSG2-SEVI-MSGASRE-0101-0101-20191106130000.000000000Z-20191106131702-1362128.bfr', 'MSG2-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.