satpy.tests.reader_tests.test_mviri_l1b_fiduceo_nc module
Unit tests for the FIDUCEO MVIRI FCDR Reader.
- class satpy.tests.reader_tests.test_mviri_l1b_fiduceo_nc.TestDatasetWrapper[source]
Bases:
object
Unit tests for DatasetWrapper class.
- test_fix_duplicate_dimensions()[source]
Test the renaming of duplicate dimensions.
If duplicate dimensions are within the Dataset, opening the datasets with chunks throws a warning. The dimensions need to be renamed.
- test_reassign_coords()[source]
Test reassigning of coordinates.
For some reason xarray does not always assign (y, x) coordinates to the high resolution datasets, although they have dimensions (y, x) and coordinates y and x exist. A dataset with these properties seems impossible to create (neither dropping, resetting or deleting coordinates seems to work). Instead use mock as a workaround.
- class satpy.tests.reader_tests.test_mviri_l1b_fiduceo_nc.TestFiduceoMviriFileHandlers[source]
Bases:
object
Unit tests for FIDUCEO MVIRI file handlers.
- test_get_area_definition(file_handler, name, resolution, area_exp)[source]
Test getting area definitions.
- class satpy.tests.reader_tests.test_mviri_l1b_fiduceo_nc.TestInterpolator[source]
Bases:
object
Unit tests for Interpolator class.
- satpy.tests.reader_tests.test_mviri_l1b_fiduceo_nc.fixture_fake_dataset(time_fake_dataset)[source]
Create fake dataset.
- satpy.tests.reader_tests.test_mviri_l1b_fiduceo_nc.fixture_file_handler(fake_dataset, request, projection_longitude)[source]
Create mocked file handler.
- satpy.tests.reader_tests.test_mviri_l1b_fiduceo_nc.fixture_projection_longitude(request)[source]
Get projection longitude as string.