satpy.tests.reader_tests.test_ici_l1b_nc module

The ici_l1b_nc reader tests package.

This version tests the reader for ICI test data as per PFS V3A.

class satpy.tests.reader_tests.test_ici_l1b_nc.IciL1bFakeFileWriter(file_path)[source]

Bases: object

Writer class of fake ici level1b data.

Init.

write()[source]

Write fake data to file.

class satpy.tests.reader_tests.test_ici_l1b_nc.TestIciL1bNCFileHandler[source]

Bases: object

Test the IciL1bNCFileHandler reader.

test_calibrate_bt(reader)[source]

Test calibrate brightness temperature.

test_calibrate_calls_calibrate_bt(mocked_calibrate_bt, reader)[source]

Test calibrate calls calibrate_bt.

test_calibrate_does_not_call_calibrate_bt_if_not_needed(mocked_calibrate, reader)[source]

Test calibrate does not call calibrate_bt if not needed.

test_calibrate_raises_for_unknown_calibration_method(reader)[source]

Test perform calibration raises for unknown calibration method.

test_drop_coords(reader)[source]

Test drop coordinates.

test_end_time(reader)[source]

Test end time.

test_filter_variable(reader, dims, data_info, expect)[source]

Test filter variable.

test_get_dataset_does_not_calibrate_if_not_desired(mocked_calibrate, reader, dataset_info)[source]

Test get dataset does not calibrate if not desired.

test_get_dataset_handles_calibration(reader, dataset_info)[source]

Test get dataset handles calibration.

test_get_dataset_orthorectifies_if_orthorect_data_defined(reader)[source]

Test get dataset orthorectifies if orthorect data is defined.

test_get_dataset_return_none_if_data_not_exist(reader)[source]

Tes get dataset return none if data does not exist.

test_get_global_attributes(reader)[source]

Test get global attributes.

test_get_quality_attributes(reader)[source]

Test get quality attributes.

test_get_third_dimension_name(reader)[source]

Test get third dimension name.

test_get_third_dimension_name_return_none_for_2d_data(reader)[source]

Test get third dimension name return none for 2d data.

test_interpolate_calls_interpolate_geo(mock, reader)[source]

Test interpolate calls interpolate_geo.

test_interpolate_calls_interpolate_viewing_angles(mock, reader)[source]

Test interpolate calls interpolate viewing_angles.

test_interpolate_geo(reader)[source]

Test interpolate geographic coordinates.

test_interpolate_returns_none_if_dataset_not_exist(reader)[source]

Test interpolate returns none if dataset not exist.

test_interpolate_viewing_angle(reader)[source]

Test interpolate viewing angle.

test_latitude(reader)[source]

Test latitude.

test_longitude(reader)[source]

Test longitude.

test_manage_attributes(mock, reader)[source]

Test manage attributes.

test_orthorectify(reader)[source]

Test orthorectify.

test_platform_name(reader)[source]

Test platform name.

test_sensor(reader)[source]

Test sensor.

test_solar_azimuth(reader)[source]

Test solar azimuth.

test_solar_zenith(reader)[source]

Test solar zenith.

test_ssp_lon(reader)[source]

Test sub satellite path longitude.

test_standardize_dims(reader, dims)[source]

Test standardize dims.

test_start_time(reader)[source]

Test start time.

satpy.tests.reader_tests.test_ici_l1b_nc.dataset_info()[source]

Return dataset info.

satpy.tests.reader_tests.test_ici_l1b_nc.fake_file(tmp_path)[source]

Return file path to level1b file.

satpy.tests.reader_tests.test_ici_l1b_nc.reader(fake_file)[source]

Return reader of ici level1b data.