CDFDatasets.jl

June 12, 2026 ยท View on GitHub

Dev DOI

Build Status Coverage

A julia package to read Common Data Format (CDF) datasets compatible with the CommonDataModel.jl interface.

Quick Start

using Pkg; Pkg.add("CDFDatasets")
using CDFDatasets

ds = cdfopen("omni_coho1hr_merged_mag_plasma_20250901_v01.cdf")
times = ds["Epoch"]
bx = ds["BR"]

Features

It provides a high-level interface with features:

It is recommended to use the native Julia implementation CommonDataFormat.jl for reading CDF files. CDFpp backend is mainly used for cross-validation, available in the PyCDFpp directory.