Welcome to earthkit-data’s documentation

Static Badge image1 License: Apache 2.0 Latest Release

Important

This software is Incubating and subject to ECMWF’s guidelines on Software Maturity.

earthkit-data is a format-agnostic Python interface for geospatial data with a focus on meteorology and climate science. It is the data handling component of earthkit.

earthkit-data makes it simple to read, inspect and slice data from a wide range of geospatial input types (GRIB, NetCDF and more) and transform them into familiar scientific Python objects (including numpy arrays, pandas dataframes, xarray datasets).

earthkit-data provides additional convenient methods for quickly inspecting certain features of your input data, such as data dimensionality, axes, coordinate reference systems and bounding boxes.

Quick start

import earthkit.data as ekd

data = ekd.from_source("sample", "test.grib")
arr = data.to_numpy()
df = data.to_pandas()
dataset = data.to_xarray()

Examples

Projects

Indices and tables