1.5.1.2.7. polar2grid.glue module
Connect various satpy components together to go from satellite data to output imagery format.
-
class polar2grid.glue._GlueProcessor(argv)[source]
Bases: object
Helper class to make calling processing steps easier.
-
_handle_extra_config_paths(args)[source]
-
_run_processing()[source]
-
cleanup()[source]
-
polar2grid.glue._assign_default_native_area_id(scn: Scene, data_ids: list[DataID]) → None[source]
-
polar2grid.glue._check_valid_config_paths(extra_config_paths: Iterable)[source]
-
polar2grid.glue._create_profile_html_if(create_profile: False | None | str, project_name: str, glue_name: str)[source]
-
polar2grid.glue._create_scene(scene_creation: dict) → Scene | None[source]
-
polar2grid.glue._create_tmp_enhancement_config_dir(enh_yaml_file: str) → str[source]
-
polar2grid.glue._get_glue_name(args)[source]
-
polar2grid.glue._get_platform_name_alias(satpy_platform_name)[source]
-
polar2grid.glue._overwrite_platform_name_with_aliases(scn)[source]
Change ‘platform_name’ for every DataArray to Polar2Grid expectations.
-
polar2grid.glue._overwrite_sensor_with_aliases(scn)[source]
Change ‘sensor’ for every DataArray to Polar2Grid expectations.
-
polar2grid.glue._persist_swath_definition_in_scene(scn: Scene) → None[source]
-
polar2grid.glue._prepare_initial_logging(arg_parser, glue_name: str) → bool[source]
-
polar2grid.glue._print_list_products(reader_info, is_polar2grid: bool, p2g_only: bool)[source]
-
polar2grid.glue._resample_scene_to_grids(scn: Scene, reader_names: list[str], resample_args: dict, filter_kwargs: dict, preserve_resolution: bool, use_polar2grid_defaults: bool) → list[tuple][source]
-
polar2grid.glue._save_scenes(scenes_to_save: list[tuple], reader_info, writer_args) → list[source]
-
polar2grid.glue._set_preferred_chunk_size(preferred_chunk_size: int) → None[source]
-
polar2grid.glue._swaths_to_persist(scn: Scene) → dict[source]
-
polar2grid.glue._write_scene(scn: Scene, writers: list[str], writer_args: dict[str, dict], data_ids: list[DataID], to_save: list | None = None)[source]
-
polar2grid.glue._write_scene_with_writer(scn: Scene, writer_name: str, data_ids: list[DataID], wargs: dict, to_save: list) → None[source]
-
polar2grid.glue.main(argv=['-b', 'html', '-d', 'build/doctrees', 'source', 'build/html'])[source]