satpy.tests.writer_tests.test_mitiff module

Tests for the mitiff writer.

Based on the test for geotiff writer

class satpy.tests.writer_tests.test_mitiff.TestMITIFFWriter(methodName='runTest')[source]

Bases: TestCase

Test the MITIFF Writer class.

Create an instance of the class that will use the named test method when executed. Raises a ValueError if the instance does not have a method with the specified name.

setUp()[source]

Create temporary directory to save files to.

tearDown()[source]

Remove the temporary directory created for a test.

test_convert_proj4_string()[source]

Test conversion of geolocations.

test_get_test_dataset_three_bands_prereq()[source]

Test basic writer operation with 3 bands with DataQuery prerequisites with missing name.

test_init()[source]

Test creating the writer with no arguments.

test_save_dataset_palette()[source]

Test writer operation as palette.

test_save_dataset_with_bad_value()[source]

Test writer operation with bad values.

test_save_dataset_with_calibration()[source]

Test writer operation with calibration.

test_save_dataset_with_calibration_one_dataset()[source]

Test saving if mitiff as dataset with only one channel.

test_save_datasets()[source]

Test basic writer operation save_datasets.

test_save_datasets_sensor_set()[source]

Test basic writer operation save_datasets.

test_save_one_dataset()[source]

Test basic writer operation with one dataset ie. no bands.

test_save_one_dataset_sesnor_set()[source]

Test basic writer operation with one dataset ie. no bands.

test_simple_write()[source]

Test basic writer operation.

test_simple_write_two_bands()[source]

Test basic writer operation with 3 bands from 2 prerequisites.