1.5.1.1.9.2.11. polar2grid.tests.test_glue module
Basic usability tests for the main glue script.
-
class polar2grid.tests.test_glue.TestGlueFakeScene[source]
Bases: object
-
test_abi_scene(scene_fixture, product_names, num_outputs, max_computes, chtmpdir)[source]
-
test_viirs_sdr_scene(scene_fixture, product_names, num_outputs, extra_flags, max_computes, chtmpdir)[source]
-
class polar2grid.tests.test_glue.TestGlueWithVIIRS[source]
Bases: object
-
setup_method()[source]
Wrap HDF5 file handler with our own fake handler.
-
teardown_method()[source]
Stop wrapping the HDF5 file handler.
-
test_polar2grid_viirs_sdr_list_products(tmp_path)[source]
-
polar2grid.tests.test_glue._create_empty_viirs_sdrs(dst_dir)[source]
-
polar2grid.tests.test_glue._create_fake_comp(tmp_path)[source]
-
polar2grid.tests.test_glue._create_fake_comp_enh(tmp_path)[source]
-
polar2grid.tests.test_glue.extra_viirs_comp_and_enh(extra_viirs_composite_path, extra_viirs_enhancement_file)[source]
-
polar2grid.tests.test_glue.prepare_glue_exec(create_scene_func, max_computes=0, use_polar2grid=True)[source]
-
polar2grid.tests.test_glue.set_env(**environ)[source]
Temporarily set the process environment variables.
- Parameters:
environ (dict[str, unicode]) – New environment variables to set.
-
polar2grid.tests.test_glue.test_geo2grid_help()[source]
-
polar2grid.tests.test_glue.test_polar2grid_help()[source]