satpy.tests.test_data_download module

Test for ancillary data downloading.

class satpy.tests.test_data_download.TestDataDownload[source]

Bases: object

Test basic data downloading functionality.

_setup_custom_configs(tmpdir)[source]
test_download_script()[source]

Test basic functionality of the download script.

test_find_registerable(readers, writers, comp_sensors)[source]

Test that find_registerable finds some things.

test_limited_find_registerable()[source]

Test that find_registerable doesn’t find anything when limited.

test_no_downloads_in_tests()[source]

Test that tests aren’t allowed to download stuff.

test_offline_retrieve()[source]

Test retrieving a single file when offline.

test_offline_retrieve_all()[source]

Test registering and retrieving all files fails when offline.

test_retrieve()[source]

Test retrieving a single file.

test_retrieve_all()[source]

Test registering and retrieving all files.

class satpy.tests.test_data_download.UnfriendlyModifier(name, prerequisites=None, optional_prerequisites=None, **kwargs)[source]

Bases: ModifierBase, DataDownloadMixin

Fake modifier that raises an exception in __init__.

Raise an exception if we weren’t provided any prerequisites.

satpy.tests.test_data_download._assert_comp_files_downloaded(comp_sensors, found_files)[source]
satpy.tests.test_data_download._assert_mod_files_downloaded(comp_sensors, found_files)[source]
satpy.tests.test_data_download._assert_reader_files_downloaded(readers, found_files)[source]
satpy.tests.test_data_download._assert_writer_files_downloaded(writers, found_files)[source]
satpy.tests.test_data_download._setup_custom_composite_config(base_dir)[source]
satpy.tests.test_data_download._setup_custom_reader_config(base_dir)[source]
satpy.tests.test_data_download._setup_custom_writer_config(base_dir)[source]