1.5.1.1.10.1.2. polar2grid.utils.convert_grids_conf_to_yaml module
Convert legacy grids.conf files to grids.yaml format.
-
polar2grid.utils.convert_grids_conf_to_yaml._add_origin(grid_info: dict, area_dict: dict, crs: CRS, dx: float, dy: float) → None[source]
-
polar2grid.utils.convert_grids_conf_to_yaml._add_resolution(grid_info: dict, area_dict: dict) → tuple[float, float][source]
-
polar2grid.utils.convert_grids_conf_to_yaml._add_shape(grid_info: dict, area_dict: dict) → None[source]
-
polar2grid.utils.convert_grids_conf_to_yaml._conf_to_yaml_dict(grids_filename: str) → str[source]
-
polar2grid.utils.convert_grids_conf_to_yaml._remove_unnecessary_proj_params(proj_dict: dict) → None[source]
-
polar2grid.utils.convert_grids_conf_to_yaml.crs_to_proj_dict(crs: CRS) → dict[source]
-
polar2grid.utils.convert_grids_conf_to_yaml.get_parser()[source]
-
polar2grid.utils.convert_grids_conf_to_yaml.grid_info_to_yaml_dict(grid_info: dict) → dict[source]
-
polar2grid.utils.convert_grids_conf_to_yaml.main(argv=None)[source]
-
polar2grid.utils.convert_grids_conf_to_yaml.ordered_dump(data, stream=None, Dumper=<class 'yaml.dumper.Dumper'>, **kwds)[source]
Dump the data to YAML in ordered fashion.