1.5.1.2.3. polar2grid.add_coastlines module

Script to add coastlines and borders to a geotiff while also creating a PNG.

polar2grid.add_coastlines._add_borders_arguments(parser: ArgumentParser) None[source]
polar2grid.add_coastlines._add_coastlines_arguments(parser: ArgumentParser) None[source]
polar2grid.add_coastlines._add_colorbar_arguments(parser: ArgumentParser) None[source]
polar2grid.add_coastlines._add_colorbar_to_image(img, font, tick_color, align, **kwargs)[source]
polar2grid.add_coastlines._add_global_arguments(parser: ArgumentParser) None[source]
polar2grid.add_coastlines._add_grid_arguments(parser: ArgumentParser) None[source]
polar2grid.add_coastlines._add_rivers_arguments(parser: ArgumentParser) None[source]
polar2grid.add_coastlines._apply_decorator_alignment(dc, align)[source]
polar2grid.add_coastlines._args_to_borders_dict(args)[source]
polar2grid.add_coastlines._args_to_coastlines_dict(args)[source]
polar2grid.add_coastlines._args_to_colorbar_kwargs(args)[source]
polar2grid.add_coastlines._args_to_grid_dict(args)[source]
polar2grid.add_coastlines._args_to_pycoast_dict(args)[source]
polar2grid.add_coastlines._args_to_rivers_dict(args)[source]
polar2grid.add_coastlines._convert_scale_offset_to_float(scale: str, offset: str) tuple[float, float][source]
polar2grid.add_coastlines._convert_table_to_cmap_or_default_bw(band_dtype, band_ct, band_count)[source]
polar2grid.add_coastlines._get_colorbar_vmin_vmax(arg_min, arg_max, metadata, input_dtype)[source]
polar2grid.add_coastlines._get_colormap_object(input_tiff, num_bands, cmin, cmax)[source]
polar2grid.add_coastlines._get_rio_colormap(rio_ds, bidx)[source]
polar2grid.add_coastlines._process_one_image(input_tiff: str, output_filename: str, pycoast_options: dict, shapes_dir: str, colorbar_kwargs: dict) None[source]
polar2grid.add_coastlines._vmin_vmax_from_scale_offset(scale: float, offset: float, dtype_min: int, dtype_max: int) tuple[float, float][source]
polar2grid.add_coastlines.find_font(font_name, size)[source]
polar2grid.add_coastlines.get_parser()[source]
polar2grid.add_coastlines.main(argv=['-b', 'html', '-d', 'build/doctrees', 'source', 'build/html'])[source]