1.5.1.1.9.2.6. polar2grid.tests.test_add_coastlines module¶
Basic usability tests for the add_coastlines script.
- polar2grid.tests.test_add_coastlines._check_exp_image_colors(image_arr, colormap, color_idx, has_colors)[source]¶
- polar2grid.tests.test_add_coastlines._check_used_colormap(passed_cmap, has_colors, include_cmap_tag, include_scale_offset)[source]¶
- polar2grid.tests.test_add_coastlines._create_fake_l_geotiff(fp, colormap=None, include_scale_offset=False, include_colormap_tag=False)[source]¶
- polar2grid.tests.test_add_coastlines._create_fake_l_geotiff_colormap(fp, colormap=None, include_scale_offset=False, include_colormap_tag=False)[source]¶
- polar2grid.tests.test_add_coastlines._create_fake_rgb_geotiff(fp, colormap=None, include_scale_offset=False, include_colormap_tag=False)[source]¶
- polar2grid.tests.test_add_coastlines.test_add_coastlines_bad_output_filenames(add_overlay_mock, tmp_path)[source]¶