Ocathedral grid cells

This example demonstrates how plotting octahedral data with grid_cells preserves the grid cells.

[1]:
import earthkit.data as ekd
import earthkit.plots as ekp

data = ekd.from_source(
    "url",
    "https://get.ecmwf.int/repository/test-data/earthkit-regrid/test-data/global_0_360/O32.grib",
)

chart = ekp.Map(domain="Antarctica")

chart.grid_cells(data, units="celsius", style="auto")
chart.grid_points(data)

chart.title()
chart.legend()

chart.coastlines()
chart.gridlines()

chart.show()
../../../_images/examples_gallery_grid-types_reduced-gg-grid-cells_2_1.png